Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gXQ22-0007d9-4z for pgsql-general@arkaria.postgresql.org; Thu, 13 Dec 2018 12:23:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gXQ20-0001PW-0o for pgsql-general@arkaria.postgresql.org; Thu, 13 Dec 2018 12:23:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gXQ1z-0001PP-Ob for pgsql-general@lists.postgresql.org; Thu, 13 Dec 2018 12:23:55 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gXQ1x-0005fX-5Y for pgsql-general@postgresql.org; Thu, 13 Dec 2018 12:23:55 +0000 Received: by mail-wm1-x330.google.com with SMTP id n190so2169224wmd.0 for ; Thu, 13 Dec 2018 04:23:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=D0ZWe+EHxFKtB2X2pycqyC0PxOvBB+i0zSH2TPh5lOA=; b=YewZuuA8nbKcZnA44LT0dmBxLMNANRGMF6u159Lq8CRxqTZ07sv24PPOD7PMyRtCay 5Yqz01NpSgFPsK/5WASCFfvcAiZbqFGHKoQBtolVvKOs5e3wg4+gGQPhN2SqPJwDm/lX XSz6nHTphgQT1cwIjwysZLAeeJ3bnLf3LBqGhUgpjI3MtEHLLCiaxFtCowSNoP1CIwat 6jx/SO4saLyJPsFkj9+UUuWMw0z0PoTDg7usg8BGfCnpsZLoe8P7NVGuil8eFs229v2b /9qBvwBs8fA0FLps4efd/uI+4M2+ko6iBAeV3hZhvMDOrPivhmxpFC91Hb3z2RR6S0PS LUjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=D0ZWe+EHxFKtB2X2pycqyC0PxOvBB+i0zSH2TPh5lOA=; b=macwGVf+KQfe4786OkdEMV6oey0X6fychD+BuPyek0hPAHKBnS4mlLnAJvfjI57LM9 CKaTExS/XS1GepgcPDPs5OamuFyb9HMx9v2MrxXj+i3AQjqpWwJuHsjTtYftq5lvxOze EIJpwmiHHBx16q9n6eX36mwCfisAOcEppn9kbvIM0dZwu3VU5IJwBzqrJ7cGQJ+0fwi4 KTsKaMssIDFBRJ03kQq+qgUefxKOaoFQSpyp+ljYNtw1TEeXY8aZ8xyI1V7BdiCO+pgI t4vGhPpryp0nZwrUamZWWGgV5fjePIE7w+h6JvznAR7pwUA+vXM74vZeN+lUb261fTP9 WofA== X-Gm-Message-State: AA+aEWaqNXpVdtyluzjC3gzez/l0Q5xsNV7OhJQtzR+o+Fd/jn/8ryMk JzXRVA6ZCA9d8kbngTVu0a8lDUVz X-Google-Smtp-Source: AFSGD/XNfRTHj08L0VVVgpcuaKzB1rQqqXEgYlyjbl4a+JZJClaMOxUiXWkpTygTg+n8cn8lKeDvGA== X-Received: by 2002:a1c:cbc7:: with SMTP id b190mr10759036wmg.13.1544703830914; Thu, 13 Dec 2018 04:23:50 -0800 (PST) Received: from newblack.local.hv (169-0-53-140.ip.afrihost.co.za. [169.0.53.140]) by smtp.gmail.com with ESMTPSA id o8sm1680737wrx.15.2018.12.13.04.23.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Dec 2018 04:23:50 -0800 (PST) From: hvjunk Content-Type: multipart/signed; boundary="Apple-Mail=_9B1DBED7-A1BD-4A99-8330-478EB655186B"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: pg_top error reporting? Message-Id: Date: Thu, 13 Dec 2018 14:23:46 +0200 To: pgsql-general@postgresql.org X-Mailer: Apple Mail (2.3445.9.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_9B1DBED7-A1BD-4A99-8330-478EB655186B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Good day, I=E2=80=99m running into a problem with pg_top inside a LXC container = (unprivileged on ProxMox). 1) Seems the pgtop =E2=80=9Cfoundry=E2=80=9D directory isn=E2=80=99t = 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: =3D=3D=3D=3D=3D=3D=3D open("5401/io", O_RDONLY) =3D 4 read(4, 0x7ffd4c67c360, 4095) =3D -1 EACCES (Permission = denied) close(4) =3D 0 --- SIGSEGV {si_signo=3DSIGSEGV, si_code=3DSEGV_MAPERR, si_addr=3D0x2} = --- +++ killed by SIGSEGV +++ Segmentation fault ltrace: =3D=3D=3D=3D=3D=3D=3D [pid 25433] open("5401/io", 0, 07332762347) = =3D 4 [pid 25433] read(4 error: maximum array length seems negative , "5401/io", 4095) = =3D -1 [pid 25433] close(4) = =3D 0 [pid 25433] strchr("5401/io", ':') = =3D 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' [pid 25433] --- SIGSEGV (Segmentation fault) --- [pid 25433] +++ killed by SIGSEGV +++ --Apple-Mail=_9B1DBED7-A1BD-4A99-8330-478EB655186B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEECmKU2BT613qpKlZN5tQXG54ZkJoFAlwST1IACgkQ5tQXG54Z kJrDcQgA3TIyad18k2SRHiouCvJACWLGKwp0uDq3QinXlat7fjdOv/uLNTPT7k0R nyxML3BI9S0S99KFWgPVniycpVxuTCjzDpWRIs9o4pv29kT1dPgsVxNYCiQrW8uk DsKNDpQmqGWjbW7kz730vTRVwAj3DLwdehAlAEeAJesRCKwYFaJyj+4wqu0gJqvj 6knsn6VaN1Jx29ZCocVUqrPABkaFlad2udXvlmN/3SZv+lAiLrgmDNHE/v/HlI6+ FL2sspK5R/m7X8Emwj7VI0avpRWOKdL4Nfqz/hhoWLRrypzoe+mj9QBUyWm3uSPm Rr8VZWNgHHYBn7Vpw/O1YjV80cHd8A== =bjPo -----END PGP SIGNATURE----- --Apple-Mail=_9B1DBED7-A1BD-4A99-8330-478EB655186B--