Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd March 2010, 00:34
alecksievici alecksievici is offline
Junior Member
 
Join Date: Mar 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem: /usr/local/ispconfig/server/server.sh

Hello.

I have a problem with my ISPConfig 3.0.1.3 Installation.
For some odd reason my server starded crashing.
After a little investigation after running the server for about 2-3 hours i noticed that i have more than a hundred lines like these:
Code:
root     12393  0.0  0.0   2552  1036 ?        Ss   01:27   0:00 /bin/sh -c /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log
root     12394  0.0  0.1   2556  1060 ?        S    01:27   0:00 /bin/bash /usr/local/ispconfig/server/server.sh
root     12397  0.0  1.0  30124 10904 ?        S    01:27   0:00 /usr/bin/php -q /usr/local/ispconfig/server/server.php
My box is runinng Debian Lenny 5.0.4 and my php -v output is:
Code:
PHP 5.2.13-0.dotdeb.0 with Suhosin-Patch 0.9.7 (cli) (built: Mar  4 2010 17:21:21)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v3.3.11, Copyright (c) 2002-2010, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
And this is what i have in my crontab:
Code:
* * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log
30 00 * * * /usr/local/ispconfig/server/cron_daily.sh > /dev/null 2>> /var/log/ispconfig/cron.log
The issue is that all my ram is getting filled with those server.sh processes and then i get seg fault and a crashed server.

A temporary solution was to comment the first line in my crontab.

Anyone has any ideea what's going on? Thanks in advance.

Last edited by alecksievici; 22nd March 2010 at 00:43.
Reply With Quote
Sponsored Links
  #2  
Old 22nd March 2010, 07:42
Fantu Fantu is offline
Junior Member
 
Join Date: Nov 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

your version is old, upgrade to the last for fix hundreds bugs, the 3.0.2 is very good

zend optimizer with php 5.2.13? you are sure is compatible I know that have compatibility problem now on php>=5.2.12|5.3

Last edited by Fantu; 22nd March 2010 at 07:45.
Reply With Quote
  #3  
Old 22nd March 2010, 09:20
alecksievici alecksievici is offline
Junior Member
 
Join Date: Mar 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't think the issue is that my ispconfig installation is old, it worked just fine until yesterday.

I'll try to recompile another version of php and see if the problem persists.

If anyone has other suggestions please post them.

Thank you.
Reply With Quote
  #4  
Old 22nd March 2010, 09:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Please upadat eyour ispconfig version as Fantu suggested. The reason for the problem is indeed php, but the problem that more then one server.sh process gets started if one died has been fixed in newer ispconfig releases. It is recommended that you keep your ispconfig up to date as ispconfig gets constantly improved.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 22nd March 2010, 09:51
alecksievici alecksievici is offline
Junior Member
 
Join Date: Mar 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Again, as i stated before, my ispconfig installation worked fine until yesterday.

Anyway, i'll give you an update: after enabling debuging in
Code:
/usr/local/ispconfig/server/lib/config.inc.php
and running
Code:
/usr/local/ispconfig/server/server.sh
as root i found an interesting output:
Code:
There is already a lockfile set. Waiting another 10 seconds...
After deleting the .lock file and enablig the cron, everything seems to be working just fine.

LE: Well, i was wrong, again, there are a bunch of server.sh pids . I guess i'll just have to update, but it bothers me because it used to work, it can't break just like that...

LE: It seems that those pids just closed. I guess server.php works when it wants. I never took the time to monitor this server and i guess it did these things before but i didn't notice.

Last edited by alecksievici; 22nd March 2010 at 10:12.
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
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
BIG Problem Postfix issue admins Installation/Configuration 11 13th November 2009 10:05
TLS Problem admins Installation/Configuration 1 19th September 2009 10:55
postfix mysql on fedora core5 igongora Installation/Configuration 7 17th April 2007 04:40
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56


All times are GMT +2. The time now is 01:14.


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