pg_top error reporting? - Mailing list pgsql-general

From hvjunk
Subject pg_top error reporting?
Date
Msg-id C6A56F66-1052-42A5-B7D2-72FA6A047B32@gmail.com
Whole thread Raw
Responses Re: pg_top error reporting?
List pgsql-general
Good day,

 I’m running into a problem with pg_top inside a LXC container (unprivileged on ProxMox).

1) Seems the pgtop “foundry” directory isn’t working?

http://ptop.projects.pgfoundry.org/

Forbidden
You don't have permission to access / on this server.

2) The error is a segmentation fault, looking at strace and ltrace we see the permission and array check error:

strace:
=======
open("5401/io", O_RDONLY)               = 4
read(4, 0x7ffd4c67c360, 4095)           = -1 EACCES (Permission denied)
close(4)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x2} ---
+++ killed by SIGSEGV +++
Segmentation fault

ltrace:
=======

[pid 25433] open("5401/io", 0, 07332762347)                                                                          =
4
[pid 25433] read(4 <no return ...>
error: maximum array length seems negative
, "5401/io", 4095)                                                                                                   =
-1
[pid 25433] close(4)                                                                                                 =
0
[pid 25433] strchr("5401/io", ':')                                                                                   =
nil
[pid 25433]
strchr("\002\003\004\005\006\a\b\t\n\v\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037
!"...,'\n' <no return ...> 
[pid 25433] --- SIGSEGV (Segmentation fault) ---
[pid 25433] +++ killed by SIGSEGV +++

Attachment

pgsql-general by date:

Previous
From: Johann Spies
Date:
Subject: Re: How to build a btree index with integer values on jsonb data?
Next
From: Adrian Klaver
Date:
Subject: Re: pg_top error reporting?