homepage Welcome to WebmasterWorld Guest from 23.22.252.150
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library : Charter : Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
cron to kill any long running processes
starchild




msg:4505914
 1:28 pm on Oct 9, 2012 (gmt 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.

 

wilderness




msg:4505944
 2:25 pm on Oct 9, 2012 (gmt 0)

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.

TypicalSurfer




msg:4505951
 2:41 pm on Oct 9, 2012 (gmt 0)

poke around for "cron to kill runaway process"

brotherhood of LAN




msg:4505974
 3:44 pm on Oct 9, 2012 (gmt 0)

[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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved