[Piuparts-devel] Bug#649335: Bug#649335: piuparts: limit output generated by commands being run

Andreas Beckmann debian at abeckmann.de
Mon Nov 21 01:29:11 UTC 2011


>>   git://github.com/anbe42/piuparts.git fix/excessive-output

On 2011-11-20 17:19, Holger Levsen wrote:
> The largest legitimate logfile on piatti currently is 
> lenny2squeeze/pass/gnome_1:2.30+7.log with 1672360 bytes.

But that output is from multiple commands, I'm only limiting each
individual command.

> Can you please increase that limit to 2mb before I merge the patch?! :)

Done anyway.

I also fixed the read() call, I need to do it in a loop as I may not get
my buffer filled completely depending on the output buffering behavior
of the command.


Andreas

PS: that bug actually crashed my machine once :-) kernel got stuck
because oom killer did not find any process left to kill





More information about the Piuparts-devel mailing list