pg_top error reporting?

From: hvjunk <hvjunk(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_top error reporting?
Date: 2018-12-13 12:23:46
Message-ID: C6A56F66-1052-42A5-B7D2-72FA6A047B32@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 +++

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-12-13 15:11:50 Re: pg_top error reporting?
Previous Message Johann Spies 2018-12-13 10:09:53 Re: How to build a btree index with integer values on jsonb data?