Greetings!
gzip 1.3.5 (Scientific Linux release 5.6), when using zless under
virtual memory limit, gzip teminates and goes defunc when hitting limit,
and then less does not propagate error (from user's perspective it looks
like proper end of decompression).

> [test@esb-dev ~]$ ulimit -v 100000
> [test@esb-dev ~]$ ulimit -v
> 100000

> $ ps -ef| grep ^test
> test     31062 27.4  0.2  99968 37292 pts/5    S+   16:11   0:15 less 
> /tmp/pomiary.txt.gz
> test     31063 15.8  0.0      0     0 pts/5    Z+   16:11   0:08 [gzip] 
> <defunct>

and less's output (no sign of error):
> 12285443946;13/11/15 10:15:00,000;198591;
> 12285443946;13/11/15 10:30:00,000;199028;
> 12285443946;13/11/15 10:45:00,000;199223;
> 12285443946;13/11/15 11:00:00,000;199342;
> 12285443946;13/11/15 11:15:00,000;199395;
> 12285443946;13/11/15 11:30:00,000;199420;
> 12285443946;13/11/15 11:45:00,000;199443;
> 12285443946;13/11/15 12:00:00,000;199769;
> /tmp/pomiary.txt.gz lines ?-?/? (END)


regards,
J. Weglinski



Reply via email to