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 18th October 2012, 15:26
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 18th October 2012, 18:10
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,741
Thanks: 840
Thanked 5,597 Times in 4,408 Posts
Default

http://www.howtoforge.com/forums/showthread.php?t=58408
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th October 2012, 18:27
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Default

Hi Till,

which is the problem? I have read the link, but what kind of information do you need?

regards
Reply With Quote
  #4  
Old 18th October 2012, 18:31
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,741
Thanks: 840
Thanked 5,597 Times in 4,408 Posts
Default

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."
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 18th October 2012, 18:43
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Default

Hi again,

- Debian
- ISPConfig 3.0.4.6
- Cron has no errors

Regards
Reply With Quote
  #6  
Old 18th October 2012, 19:43
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,741
Thanks: 840
Thanked 5,597 Times in 4,408 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 18th October 2012, 19:51
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Default

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
Reply With Quote
  #8  
Old 22nd October 2012, 18:41
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 263 Times in 208 Posts
Default

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.
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #9  
Old 22nd October 2012, 18:43
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Default

So if a user change its configuration all the day and press the save button the apache will be restarted every time?
Reply With Quote
  #10  
Old 22nd October 2012, 18:52
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 263 Times in 208 Posts
 
Default

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.
__________________
Marius Cramer

pixcept KG
Reply With Quote
The Following User Says Thank You to Croydon For This Useful Post:
vaio1 (22nd October 2012)
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
ISPConfig 3.0.3.3 Autoresponder, adding subdomain problem BlackHat Installation/Configuration 4 18th October 2011 15:24
I am not a smart man (ISPConfig 3 Configuration Issue) MisterTwo Installation/Configuration 2 7th February 2011 22:34
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 15:31
trying to install roundcubemail ressel Installation/Configuration 13 24th December 2009 21:13
The system is currently updating the configuration files. warlock General 8 21st February 2009 19:15


All times are GMT +2. The time now is 10:16.


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