Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th April 2012, 15:14
Wader Wader is offline
Junior Member
 
Join Date: Jun 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Make server.php die when it fails

I've just finished reinstalling a couple of my servers and had some troubles with one of the slave dns servers that didnt have permissions to connect to the mysql and/or run any queries.

I had multipul instances of the script running that caused a huge spike in CPU and RAM usage. The process' hung and were eventually killed, when i've gone through and debugged the problem, it would seem as though if the database connection fails for whatever reason (in my case it didnt have privileges to use or run queries on the database) it repeatedly attempts to run the same command/query over and over.

My suggestion is to make the script die and show a warning in the ispconfig log if it fails instead of the crontab opening hundreds of instances that hang.
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
make fails on nginx-0.8.49 bluethundr Installation/Configuration 1 4th October 2010 17:43
Replication Problem admins Installation/Configuration 3 13th July 2010 13:10
eGroupware and PEAR Problem TauTau Installation/Configuration 1 13th March 2008 17:36
make rpm fails digen Kernel Questions 3 17th December 2006 21:28
install Net::DNS chrno Installation/Configuration 4 5th September 2006 17:01


All times are GMT +2. The time now is 20:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.