pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_top error reporting?
2+ messages / 2 participants
[nested] [flat]

* pg_top error reporting?
@ 2018-12-13 12:23  hvjunk <hvjunk@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: hvjunk @ 2018-12-13 12:23 UTC (permalink / raw)
  To: 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 +++

Attachments:

  signature.asc (application/pgp-signature, 487B) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_top error reporting?
@ 2018-12-13 15:11  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: hvjunk <hvjunk@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Adrian Klaver @ 2018-12-13 15:11 UTC (permalink / raw)
  To: hvjunk <hvjunk@gmail.com>; pgsql-general

On 12/13/18 4:23 AM, hvjunk wrote:
> 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/

Might want to try:

https://github.com/markwkm/pg_top

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

-- 
Adrian Klaver
adrian.klaver@aklaver.com




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-12-13 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-12-13 12:23 pg_top error reporting? hvjunk <hvjunk@gmail.com>
2018-12-13 15:11 ` Adrian Klaver <adrian.klaver@aklaver.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox