ports/114014: mail/p5-mail-spamassassin : spamd not showing process title when using option --virtual-config-dir
Ludger Bolmerg
lbolmerg at web.de
Sat Jun 30 13:10:09 UTC 2007
The following reply was made to PR ports/114014; it has been noted by GNATS.
From: Ludger Bolmerg <lbolmerg at web.de>
To: Michael Scheidell <scheidell at secnap.net>, bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/114014: mail/p5-mail-spamassassin : spamd not showing process
title when using option --virtual-config-dir
Date: Sat, 30 Jun 2007 15:05:46 +0200
Michael Scheidell wrote:
>
> Try starting by hand with:
>
> spamd -x --listen-ip=127.0.0.1 -u spamd -H /var/spool/spamd \
> --allowed-ips=192.103.202.0/24,127.0.0.1 \
> --virtual-config-dir=/var/spamassassin/user_prefs/%u \
> -d -r /var/run/spamd/spamd.pid
>
> I get this:
>
> ps -auxww | grep spamd
> root 30621 0.0 5.7 61808 58968 ?? Ss 4:22PM 0:02.20
> /usr/local/bin/spamd -x --listen-ip=127.0.0.1 -u spamd -H
> /var/spool/spamd --allowed-ips=192.103.202.0/24,127.0.0.1
> --virtual-config-dir=/var/spamassassin/user_prefs/%u -d -r
> /var/run/spamd/spamd.pid (perl5.8.8)
> spamd 30636 0.0 5.7 61808 58968 ?? I 4:22PM 0:00.01 spamd
> child (perl5.8.8)
> spamd 30637 0.0 5.7 61808 58968 ?? I 4:22PM 0:00.01 spamd
> child (perl5.8.8)
> root 31023 0.0 0.1 1508 856 p1 LL+ 4:23PM 0:00.00 grep spamd
>
>
> but, increase the command line length and it fails: (issue is not
> sa-spamd.sh I did not use sa-spamd.sh)
>
> spamd -x --max-children=20 --min-children=5 --min-spare=2 --max-spare=10
> --listen-ip=127.0.0.1 -u spamd -H /var/spool/spamd
> --allowed-ips=193.103.202.0/24,127.0.0.1
> --virtual-config-dir=/var/spamassassin/user_prefs/%u -d -r
> /var/run/spamd/spamd.pid
>
> I get this:
>
> ps -auxww | grep spamd
> spamd 37082 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.01 spamd
> child (perl5.8.8)
> spamd 37083 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.01 spamd
> child (perl5.8.8)
> spamd 37084 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.01 spamd
> child (perl5.8.8)
> spamd 37085 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.02 spamd
> child (perl5.8.8)
> spamd 37086 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.02 spamd
> child (perl5.8.8)
> spamd 37087 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.02 spamd
> child (perl5.8.8)
> spamd 37088 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.01 spamd
> child (perl5.8.8)
> spamd 37089 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.02 spamd
> child (perl5.8.8)
> spamd 37090 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.02 spamd
> child (perl5.8.8)
> spamd 37091 0.0 5.6 61812 58920 ?? I 5:02PM 0:00.01 spamd
> child (perl5.8.8)
>
> so, this is not a sa-spamd.sh problem,
>
> I suspect that the length of the commandline is the issue, and that
> adding in --virtual-config-dir cause the tip past the point of it working.
>
Replacing --listen-ip by -i and --allowed-ips by -A and thus reducing
the length of the command line solved the issue. Thanks for pointing me
into the right direction.
Is this a perl or an OS issue?
More information about the freebsd-ports-bugs
mailing list