[php-maint] Bug#461755: Bug#461755: Bug#461755: /etc/cron.d/php5: /etc/cron.d/php5 fails with too many sessions
vorlon at debian.org
Sun Jan 27 17:54:38 UTC 2008
On Sun, Jan 27, 2008 at 11:27:37AM +0100, sean finney wrote:
> On Thursday 24 January 2008 11:50:55 pm Steve Langasek wrote:
> > On Sun, Jan 20, 2008 at 03:17:35PM +0000, River Tarnell wrote:
> > > xargs: rm: Argument list too long
> > >
> > The only way you could get this error message is if the combined number of
> > bytes in the environment and argument list exceeded the kernel maximum.
> > Per the xargs manpage, by default the arguments are batched in groups of
> > 131072 bytes. Do you have an extraordinarily large number of environment
> > variables? If so, we might be able to fix this bug by using 'env';
> > otherwise, I can't see any way that this bug would occur with a normal
> > kernel.
> why not just throw a "-n 200" or something similar to xargs?
Sounds reasonable to me, though it does seem to be a workaround for a bug
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
More information about the pkg-php-maint