homepage Welcome to WebmasterWorld Guest from 54.211.97.242
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
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

5+ Year Member



 
Msg#: 4505912 posted 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

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



 
Msg#: 4505912 posted 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

5+ Year Member



 
Msg#: 4505912 posted 2:41 pm on Oct 9, 2012 (gmt 0)

poke around for "cron to kill runaway process"

brotherhood of LAN

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



 
Msg#: 4505912 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved