On Thu, 3 Aug 2000, simon wrote:

> Has anyone noticed how netscape 474 gradually consumes cpu usage to 100
> percent over 12 to 18 hours?
> 
Netscape does that occassionally, I personally use "Links" and "Lynx" more
often, as they crash less. You can "limit" the amount of CPU/mem Netscape
takes when starting it from bash by typing "ulimit -t 3 -v 24000" which
limits the maximum amount of CPU to be 100% for any app for 3 seconds, and
the maximum memory usage to be about 24mb. If these resources are
exceeded, bash kills the offending process. Be careful as this applies to
all children forked by the current shell, i.e. start netscape from the
same shell that you applied ulimit to. Any other apps which you start
from that shell will incur the same limit to be applied, whether or
not you intend it to be. This is enforced on a per-session
basis, which means if you have 2 x-terms open, unless one is the parent
process of the other, that the ulimit settings for each session are
different.

 > simon

-- 
Regards,

Ellick Chan
[EMAIL PROTECTED]
Aug 3


Reply via email to