Your message dated Mon, 8 Aug 2016 16:15:28 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-postgresql-public] Bug#617802: Excessively long 
content in /proc/#/cmdline.
has caused the Debian Bug report #617802,
regarding Excessively long content in /proc/#/cmdline.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
617802: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617802
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postgresql-8.4
Version: 8.4.7-1
Severity: minor

The altered command line text, as kept in /proc/#/cmdline,
is patched by a large number of NUL characters for each
of the spawned processes: writer, wal-writer, autovacuum
launcher, and stats collector. A typical case is this:

  $ hexdump -C /proc/2324/cmdline
  00000000  70 6f 73 74 67 72 65 73  3a 20 77 72 69 74 65 72  |postgres: writer|
  00000010  20 70 72 6f 63 65 73 73  20 20 20 00 00 00 00 00  | process   .....|
  00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  *
  00000070

The master process is correctly ending after a single NUL character.
Presently, the rewritten commandlines will produce irritating artifacts
even when issuing

  $ ps ax | grep postgres

Could the strings be shortened at creation time?

Best regards,
  Mats Erik Andersson, DM



--- End Message ---
--- Begin Message ---
Re: Peter Eisentraut 2016-08-08 
<[email protected]>
> The child processes inherit the command-line area from the parent
> process, and the zero bytes are necessary to overwrite what the parent
> process left in there.

Oh, I thought these were actual spaces. On a closer look, I think this
is actually a "ps" deficiency for displaying the NUL bytes as spaces.
On my desktop these are not shown anymore, so they seem to have fixed
it. Closing, thanks!

Christoph

Attachment: signature.asc
Description: PGP signature


--- End Message ---
_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to