Am 21.04.2013 16:13, schrieb Lennart Poettering:
> On Sun, 21.04.13 16:04, Reindl Harald (h.rei...@thelounge.net) wrote:
> 
>> why is the Main PID process below truncated?
> 
>>  Main PID: 65508 (/usr/sbin/postg)
> 
> because that is the "comm" process name of the process, i.e. the name
> "top" shows, rather than the name "ps" shows. The "comm" name is
> maintained by the kernel and the kernel limits it to 16chars max.
> 
> Usually, the "comm" name does not contain slashes, though. Your daemon
> probably changes it via PR_SET_NAME, and does this incorrectly and
> doesn't chop off the path before doing this. Also see prctl(2) for more
> information.
> 
> Long story short: it's not systemd that truncates this, it's the kernel

OK, understood

well "my" daemon is a perl script and not "mine" :-)
not that big problem, however 16 chars is odd

[root@testserver:~]$ systemctl status dbmail-postfix-policyd.service
dbmail-postfix-policyd.service - DBMail Policy Service
   Loaded: loaded (/usr/lib/systemd/system/dbmail-postfix-policyd.service; 
enabled)
   Active: active (running) since Sa 2013-04-20 18:27:13 CEST; 21h ago
 Main PID: 769 (dbmail-postfix-)
   CGroup: name=systemd:/system/dbmail-postfix-policyd.service
           └─769 /usr/bin/perl -w /usr/sbin/dbmail-postfix-policyd 
--user=postfix --group=postfix
--dbmail-conf=/etc/dbmail-postfix-policyd.conf --dbmail-version=2
--unix=/var/spool/postfix/dbmail-postfix-policyd/socket --daemonize

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to