Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th September 2009, 07:15
archerjd archerjd is offline
Member
 
Join Date: Dec 2006
Posts: 66
Thanks: 6
Thanked 6 Times in 6 Posts
Default Peculier issue afer update and upgrade to 3.0.1.3

I just updated Debian 5.0 and upgraded ISPC3 3.0.1.1 to 3.0.1.3.
After the update/upgrade when I modify a website, occasionally the cron job for /usr/local/ispconfig/server/server.sh will hang. When this happens each new instance of server.php opens a mysql connection and then waits for the previous instance to die. Well since it didn't neither did each new instance and so tied up all available mysql connections. If all connections to MySQL are tied up then no one can login for email, ftp, websites (including ISPConfig) until the process were stopped and the lock file was removed.

You know... it just occurred to me that when I was searching the log files I came across an error where server.php segfaulted thereby leaving the lockfile. Is this what would happen if the lockfile was never removed?
If this is so, could we record the PID in the lockfile and then check the for the PID?

Let's say that the PID is no longer running then update the lockfile with the new PID and then remove when complete.
__________________
The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the facts
to fit their views ... which can be very uncomfortable if you happen to
be one of the facts that needs altering.

-- Doctor Who, "Face of Evil"
Reply With Quote
Sponsored Links
  #2  
Old 4th September 2009, 10:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,405
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
 
Default

The latest ispconfig release is 3.0.1.4 were this problem has been adressed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
archerjd (4th September 2009)
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
debian upgrade broken.. apt-get stuck guthrie Installation/Configuration 3 31st March 2009 04:29
Problems with apt-get update, upgrade and install DeltaNiner Installation/Configuration 20 7th March 2009 15:43
MySQL access issue after SVN upgrade TheTiGuR Installation/Configuration 2 20th January 2009 10:03
Security issue / Upgrade BIND henrygud Server Operation 1 23rd July 2008 11:30
Errors with apt-get update apt-get upgrade Hans Installation/Configuration 2 31st March 2006 11:28


All times are GMT +2. The time now is 00:40.


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