
14th August 2009, 23:59
|
|
Junior Member
|
|
Join Date: Aug 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
CRON JOB never finishes, multiple instances of it.
Hey, I'm running ISP Config on Ubuntu, and it seems that the CRON that runs every minute, never ends, but it DOES start again every minute, so eventually I have 1000 instances in 1000 minutes of this cron task and it crashes my server after it fills the swap up...
anyone know how to resolve this issue?
|

15th August 2009, 13:21
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Can you disable that cron job, kill all running instances of it and then run it manually? Do you get any errors?
|

15th August 2009, 14:50
|
|
Junior Member
|
|
Join Date: Aug 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
when i tried to disable and run, my shell just froze waiting for it to complete... so same thing
|

16th August 2009, 12:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,190 Times in 3,207 Posts
|
|
There is a bug in maildirmake that may cause this. Instead of throwing an error message the maildirmake command can freeze under certian circumstances. We added a workaround for this in SVN.
|

16th August 2009, 15:42
|
|
Junior Member
|
|
Join Date: Aug 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by till
There is a bug in maildirmake that may cause this. Instead of throwing an error message the maildirmake command can freeze under certian circumstances. We added a workaround for this in SVN.
|
So what do I do to be able to use ISPConfig again? and this does make sense, because before the server started crashing, i was unable to add another email account, and it was all downhill from there.
|

16th August 2009, 15:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,190 Times in 3,207 Posts
|
|
Before you update from svn, make a backup of your ispconfig database. Then:
Update ISPConfig from SVN:
1) Install subsversion client, for Ubuntu and debian it is:
apt-get install subversion
2) Run the script:
ispconfig_update.sh
and select SVN as update method.
Warning: It is normally not recommended to update to svn on a production system!! In this case, todays svn revision is identical to what we plan to release as 3.0.1.4 beta 2, so its ok. Tomorrow it might not be ok anymore. So the above solution is just for this special case today and not a general recommendation.
3) kill all ispconfig cron processes and then run the command:
rm -f /usr/local/ispconfig/temp/.ispconfig_lock
to remove the lock file.
|

17th August 2009, 03:33
|
|
Junior Member
|
|
Join Date: Aug 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hey, thanks a lot, I've resolved all my problems with the help of this, and one other post on HowToForge.
Thanks Again.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 06:52.
|
Recent comments
21 hours 40 min ago
1 day 7 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 18 hours ago
2 days 4 hours ago
2 days 9 hours ago
2 days 10 hours ago