From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 30 13:10:08 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF52516A421 for ; Sat, 30 Jun 2007 13:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id A5E9513C44B for ; Sat, 30 Jun 2007 13:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5UDA85u037063 for ; Sat, 30 Jun 2007 13:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5UDA8Y8037062; Sat, 30 Jun 2007 13:10:08 GMT (envelope-from gnats) Date: Sat, 30 Jun 2007 13:10:08 GMT Message-Id: <200706301310.l5UDA8Y8037062@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Ludger Bolmerg Cc: Subject: Re: ports/114014: mail/p5-mail-spamassassin : spamd not showing process title when using option --virtual-config-dir X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ludger Bolmerg List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2007 13:10:09 -0000 The following reply was made to PR ports/114014; it has been noted by GNATS. From: Ludger Bolmerg To: Michael Scheidell , bug-followup@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?