
18th October 2012, 14:26
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: Italy
Posts: 654
Thanks: 77
Thanked 12 Times in 7 Posts
|
|
ISPConfig 3 Issue: Updating any configuration, delete the apache instances
Hi guys,
I have discovered that if I handle a user profile adding a new website, mail, ftp, etc.. the apache connection is reset.
Try this scenario:
1. A cron job executes a huge operation
2. Any user change some configuration in his ISPConfig panel
3. The apache service has been reset and the Cron job stopped
any glue?
thanks
|

18th October 2012, 17:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,887
Thanks: 692
Thanked 4,188 Times in 3,205 Posts
|
|
|

18th October 2012, 17:27
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: Italy
Posts: 654
Thanks: 77
Thanked 12 Times in 7 Posts
|
|
Hi Till,
which is the problem? I have read the link, but what kind of information do you need?
regards
|

18th October 2012, 17:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,887
Thanks: 692
Thanked 4,188 Times in 3,205 Posts
|
|
From the post:
"Please provide the following information when you make a new thread, this helps us to solve your problem.
- Linux Distribution and version used on your server.
- ISPConfig version"
and
"Debug instructions for the ISPConfig server process are in the FAQ:
http://www.faqforge.com/linux/debugg...-of-a-failure/
Follow the instructions and post the output in your thread."
|

18th October 2012, 17:43
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: Italy
Posts: 654
Thanks: 77
Thanked 12 Times in 7 Posts
|
|
Hi again,
- Debian
- ISPConfig 3.0.4.6
- Cron has no errors
Regards
|

18th October 2012, 18:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,887
Thanks: 692
Thanked 4,188 Times in 3,205 Posts
|
|
Quote:
1. A cron job executes a huge operation
2. Any user change some configuration in his ISPConfig panel
3. The apache service has been reset and the Cron job stopped
|
About which kind of cronjob are you talking, a url cron? When apache settings are changed, apache has to be reloaded or restarted depending of the change that has been made, otherwise apache wont use the new settings. If you wnat to ensure that your cron job is not affected, run it as shell cron and not url cron.
|

18th October 2012, 18:51
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: Italy
Posts: 654
Thanks: 77
Thanked 12 Times in 7 Posts
|
|
Hi Till,
I am talking about a custom cron. The execution of this cron is truncated when ispconfig restart the apache.
This cron export/import data from a database using a php script. It is a huge operation that requires about 30 minutes. If in this 30 minutes someone try to change something in the admin ispconfig panel, the cron is deleted.
thanks
|

22nd October 2012, 17:41
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 290
Thanks: 12
Thanked 100 Times in 58 Posts
|
|
hello vaio,
you cannot avoid that. Apache has to be restarted on changes in website settings in ispconfig as Till already said.
Anyway.. I would never recommend to use cron-jobs via URL calls that run such a long time. Change it to a command line script or you will never be able to solve this problem.
|

22nd October 2012, 17:43
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: Italy
Posts: 654
Thanks: 77
Thanked 12 Times in 7 Posts
|
|
So if a user change its configuration all the day and press the save button the apache will be restarted every time?
|

22nd October 2012, 17:52
|
|
Senior Member
|
|
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 290
Thanks: 12
Thanked 100 Times in 58 Posts
|
|
That depends on what he changes. If it is apache-related then yes, a reload/restart is done about once per minute.
If you want to reduce the impact you have to change the setting in "server config" not to make a apache test on restart - this reduces it but you will not be able to avoid reloads/restarts on changes.
|
|
The Following User Says Thank You to Croydon For This Useful Post:
|
vaio1 (22nd October 2012)
|
| 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 14:29.
|
Recent comments
12 hours 5 min ago
17 hours 4 min ago
18 hours 30 min ago
19 hours 23 min ago
21 hours 6 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 4 hours ago
1 day 17 hours ago
1 day 19 hours ago