[php-maint] Bug#461755: Bug#461755: Bug#461755: /etc/cron.d/php5: /etc/cron.d/php5 fails with too many sessions

sean finney seanius at seanius.net
Sun Jan 27 10:27:37 UTC 2008

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?  i get this 
problem too when performing other tasks, such as cleaning up the aptcache 
directory of my pbuilder chroots (where there are maybe a couple thousand deb 
packages from time to time), and that's usually what i use to clean it out.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20080127/202e6db7/attachment-0003.pgp 

More information about the pkg-php-maint mailing list