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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th May 2009, 12:17
Mitro Mitro is offline
Junior Member
 
Join Date: May 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default server.php - multiple instances (100's!!!)

Hi,
there is a problem with my ISPConfig3 installation:
The script "/usr/local/ispconfig/server/server.php" is started every time and still running indefinitely. After a some hours of server running I seen 100's of instances of this script in "top".

As I can see, this script "stops" or "indefinitely waits" on "$app->modules->processDatalog();" string and nothing happened next.

Now I just truncate this script to "die();" because it fills all the memory with it's instances.

What can be wrong?
System: Debian Lenny
Reply With Quote
Sponsored Links
  #2  
Old 31st May 2009, 10:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Quote:
Now I just truncate this script to "die();" because it fills all the memory with it's instances.
Thats not a good idea as we can not debug it like this. Remove the die command and comment it out in the root crontab instead.

Please enable debugging in the file /usr/local/ispconfig/server/lib/config,inc.php by setting the $conf["log_priority"] to 0 and then post the debug output that you get when you run:

rm -f /usr/local/ispconfig/server/temp/.ispconfig_lock
/usr/local/ispconfig/server/server.sh
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 1st June 2009, 18:27
Mitro Mitro is offline
Junior Member
 
Join Date: May 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your advice.
Here is the output:
"Call function 'user_update' in plugin 'mail_plugin' raised by event 'mail_user_update'."

and its stops after this line.

Last edited by Mitro; 1st June 2009 at 18:34.
Reply With Quote
  #4  
Old 2nd June 2009, 10:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

And no other error messages on the shell?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 2nd June 2009, 10:56
Mitro Mitro is offline
Junior Member
 
Join Date: May 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

02.06.2009-12:58 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
02.06.2009-12:58 - DEBUG - Found 55 changes, starting update process.
02.06.2009-12:58 - DEBUG - Call function 'user_update' in plugin 'mail_plugin' raised by event 'mail_user_update'.

I waiting 10-12 minutes before terminate the script.

Last edited by Mitro; 2nd June 2009 at 10:58.
Reply With Quote
  #6  
Old 2nd June 2009, 11:01
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 756
Thanks: 15
Thanked 215 Times in 166 Posts
Default

Did you make any changes to the mail plugin or mail module?
If an error occures (php parsing error) in one of those files the server script aborts without message.
Reply With Quote
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
Multiple Servers ahagadorn Developers' Forum 5 9th February 2010 14:38
Multiple server documentation? phorce1 Installation/Configuration 17 15th March 2009 09:27
ISPConfig with multiple CMSs Bebop17 General 4 3rd May 2008 16:52
Postfix problems with multiple domains ehsan Installation/Configuration 10 27th April 2008 16:10
ISPconfig to host multiple domains in one IP with multiple DynDns addresses agelospanagiotakis Installation/Configuration 23 2nd April 2008 11:10


All times are GMT +2. The time now is 02:25.


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