Welcome to WebmasterWorld Guest from 54.242.83.7

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

cron to kill any long running processes

     
1:28 pm on Oct 9, 2012 (gmt 0)

New User

10+ Year Member

joined:May 26, 2005
posts: 35
votes: 0


We have a really weird thing where by a particular file occasionally wont stop processing.

This process chews up RAM and then load spikes and brings the server to it's knees.

We simply can't work out what the issue is.

Is there something we can run that periodically check to see if any processes have been going for > N minutes and then kills them?

We have set timeouts etc but they don't affect this random issue for some weird reason.

Thanks in advance.
2:25 pm on Oct 9, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member wilderness is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 11, 2001
posts:5459
votes: 3


Best of luck with crons.

Some months back I implemented some crons (which I had absolutely no understanding of) and had a difficult time finding assistance.

Don't recall the forum, however pretty sure it wasn't the Apache forum.
2:41 pm on Oct 9, 2012 (gmt 0)

Preferred Member

10+ Year Member

joined:May 8, 2005
posts:408
votes: 0


poke around for "cron to kill runaway process"
3:44 pm on Oct 9, 2012 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member brotherhood_of_lan is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 30, 2002
posts:4843
votes: 2


[swoolley.org...]

If the process spawns children then that may be something to look at as they could still be running after the main script exits.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members