Re: a possible bug in expect/tcl: a hypothesis

From: Todd J Martin (todd.martin_at_acm.org)
Date: 01/03/05


Date: Mon, 03 Jan 2005 04:43:03 GMT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Zwiebel wrote:
| I assume (please correct me) that the kernel has a thread that
| monitors the CPU usage of all processes. When the CPU is
| pegged at 100% for x period, that process is killed. Exactly
| what is happening to my script.
|
| I'd like a theory on why it sometimes works. Is it
| because a different process other than my script is
| getting killed? -or- has the script somehow received
| and correctly processed the entire table from the
| remote-system. (It doesn't look like it)
|

This could be a setting on the shell. See ulimit -t. You may also want
to check ulimit -c, just in case it is crashing, but the system does not
allow a core file to be generated.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB2M1m85m6p8Ts5yERAoPNAKCrv8NVkHg8jWZZpxmseNliYakhNgCgqGRn
n3UbfoPX3hqJoV8ZmcmVKZ4=
=M9L3
-----END PGP SIGNATURE-----



Relevant Pages

  • Re: control CPU usage
    ... The script monitors global input using PyHook, ... My first question is whether the pyHook event is calling the SendKeys ... responsiveness may not be caused by high CPU usage, as the OS, be it ... But theoretically, as soon as you return to the event loop, your main thread is going to block, so it'll schedule the other thread. ...
    (comp.lang.python)
  • Re: Process accounting
    ... Hash: SHA1 ... I'm looking for a tool that will give me information on CPU usage /per ... get some info from a process via the PID, but the PID changes over the ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (Fedora)
  • Re: Process accounting
    ... Hash: SHA1 ... I'm looking for a tool that will give me information on CPU usage /per ... get some info from a process via the PID, but the PID changes over the ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (Fedora)
  • Re: CPU limits
    ... I'd much prefer to be able to set my script's CPU usage at - say - 75% ... you can use BSD::Resource on linux. ... will use your script. ... sub CPU_used { ...
    (comp.lang.perl.misc)
  • BUG? IE6 Windows XP SP2: iexplore.exe ram is growing and growing...
    ... I have Windows XP SP2 installed and I am wondering using a short javascript ... the ram used by iexplore.exe is growing and growing. ... will have about 100% cpu usage. ... Another script error occured on a different script: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)