Weird CMD and ENVIRON
Simon Matter
simon.matter at invoca.ch
Mon Oct 6 02:18:35 EDT 2014
> Hi!
>
> Since sometime in 2.4, we've seen odd behaviour in the CMD and ENVIRON of
> imapd
> processes. Like this:
>
>
> --klip--
> [jmmpelto at pcn1 ~]$ ps -ef|grep imapd|head -n 1
> cyrus 300 15885 0 13:30 ? 00:00:00 imapd:
> webmail-3.mappi.helsinki.fi [128.214.20.217] ajokela
> [jmmpelto at pcn1 ~]$ sudo cat /proc/300/cmdline
> imapd: webmail-3.mappi.helsinki.fi [128.214.20.217] ajokela
>
Hi,
I see the same behaviour. Could it be that it has something to do with
setproctitle()?
If I "strings /proc/20488/environ" on preforked processes the ENV looks
good until a process actually gets used.
Simon
More information about the Info-cyrus
mailing list