![]() |
Jobqueue randomly not processing
ISPconfig 3.0.3.2 on Ubuntu 10.10 64 on a vps.
Spent the weekend on a wild goose chase trying to track why changes made in the control panel weren't working. Finally found today that some jobs happen after a minute, some take 5, 10, 20 minutes. So, I manually ran /usr/local/ispconfig/server/server.sh Nothing. Dug around inside and ran /usr/bin/php -q /usr/local/ispconfig/server/server.php and it updated the job queue. Made another change to test. This time /usr/local/ispconfig/server/server.sh worked. Next 10 times, both files, despite 2 jobs in the queue, nothing worked. 11th time, it worked. This is all getting a bit confusing. I've seen mention of turning on debugging in /usr/local/ispconfig/server/lib/config.inc.php but I don't actually see what line that is. Thank you. |
Quote:
|
Ispconfig 3.0.32, Ubuntu 10.10 64 bit vps, 512Mb RAM
I had to give up with cron entirely when something happened so that when I made a change, when cron kicked in the next minute, I could watch the update process climb up the "top" table until it was using all the memory, and the server ground to a halt. Commenting out the line Code:
* * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.logsh /usr/local/ispconfig/server/server.sh to get things moving. Yes, I might have to do it 10-15 times in a row, but at least I knew it would happen. Now all I get is: Code:
08.03.2011-15:35 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lockIn cron.log, the last few lines are: Code:
PHP Notice: Undefined offset: 1 in /usr/local/ispconfig/server/cron_daily.php on line 95However, this isn't much help as it doesn't have a timestamp. All that's in the queue are a couple of site changes and a new mysql user and database. Code:
2011-03-08 11:31 mydomain.com Insert web_database |
Take a look into the ispconfig database with phpmyadmin, are there any records in the sys_remoteaction database table?
|
Just one:
Code:
action_id server_id tstamp action_type action_param action_state response |
please remove that record in the database and check if that fixes your problem.
|
Yes! That cleared it, thank you, and I could manually run those jobs.
But then I tried activating cron again, made a simple change (turned ssl off), and watched the jobqueue. It never clears. In the processes I see: Code:
root 5620 5618 0 17:55 ? 00:00:00 /bin/sh -c /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.logCode:
2011-03-08 18:00 mydomain.com Debug There is already an instance of server.php running. Exiting. Not ideal. Is there anything else I can do to fix this? |
There should be no difference if the job is run by cron or manually. I guess it might be a resource problem as your system is a vps and 500MB are not that much RAM. Please post the outout of:
cat /proc/user_beancounters |
Quote:
Still, I am always only using 50% RAM. |
Quote:
I still believe that its a resource problem. A server that is installed according to the perfect setup guide that uses normally more then 250 MB RAM. |
| All times are GMT +2. The time now is 14:19. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.