prog: (Default)
[personal profile] prog
Goatfuckers have compromised jmac.org somehow, and I can't do much about it because houseguests. Am trying to hold server together until I can block out six contiguous hours to rebuild everything.

Tell me why this happens, o sages of the internet:

top tells me that I have a perl process that is taking up 98% of CPU. But when I ps that PID, I am told that it's httpd. Er.

What's the correct way to find out what exactly is being perl'd? (I kill -9'd all those processes for now, but trust they'll be running again presently, because they've been doing that.)

Date: 2010-07-17 02:47 pm (UTC)
From: [identity profile] radtea.livejournal.com
pstree might tell you more, as it should say something about what process is spawning which.

"top -c" should give you the full command line for each process, which may help identify the offending Perl script.

Also, try nicing the httpd process rather than killing it:

nice +15

or something that that. That'll keep it from hogging CPU but since it's still running it won't get restarted. Might be a useful stopgap.

August 2022

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28 293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 20th, 2025 03:36 pm
Powered by Dreamwidth Studios