Re: Strange ps line

From: Giuliano Pochini (pochini@shiny.it)
Date: Wed Sep 19 2001 - 03:07:02 EST


>>> From "ps axuw":
>>>
>>> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
>>> httpd 5020 0.0 0.0 0 0 ? Z 16:46 0:00 [getcod.cgi <defunct>]
>>> httpd 5022 0.0 0.0 0 0 ? Z 16:46 0:00 [getcod.cgi <defunct>]
>>> httpd 5025 0.0 0.0 589505315 0 ? ZL 16:46 0:00 [getcod.cgi <defunct>]
>>> httpd 5049 0.0 0.0 0 0 ? Z 16:46 0:00 [getcod.cgi <defunct>]
>>>
>>> That cgi doesn't lock memory and surely I don't have so much memory.
>>
>> Look at http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC14
>> maybe this can help you.
>
> Yes and no. It might solve his zombie problem, but what about that
> outrageous VSZ and the locked memory? Useful info would be:
>
> /proc/5025/status
> /proc/5025/stat

That strange line is extremely rare. Actually it's the first time I see it and
I was unable to reproduce. And since it's a zombie it just didn't live enough
to type "cat /proc/....". I think there is a race somewhere. I don't know if
it's dangerous of if it only accects /proc reads sometimes ?

Bye.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:29 EST