Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th April 2010, 00:34
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 17 Times in 14 Posts
Default ISPConfig3 and session garbage collect

Hello,

Anyone have an idea how ispconfig 3 handles the php session garbage collect?

I've checked the /etc/cron.d/php5 after a fresh install of ispconfig 3 and also compared to an installation where the session files keep building up .

But I dont see ispconfig 3 changing this cron entry.
Is there a separate cron entry?

If this is not the fault, are there any other cause of this issue I can try to look at?

One of my customers use ispconfig 3 and the session files had built up to roughly 15million inside /var/www/domain.ext/tmp and exhausted all inode entries in one directory tree.

Any ideas?

Linux debian 32bit
ISPConfig-3.0.1.6
__________________
http://www.xh.se

Last edited by Norman; 20th April 2010 at 00:38.
Reply With Quote
Sponsored Links
  #2  
Old 21st April 2010, 01:25
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 17 Times in 14 Posts
Default

Bumpity.

Changed the session store directory and added a manual entry to /etc/cron.d/php5 with the maxlife cleanup scriot.

This seems to have solved the issue, but that means the problem is still under ispconfig generated tmp/ directories.
__________________
http://www.xh.se
Reply With Quote
  #3  
Old 25th April 2010, 10:25
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,438
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
Default

ISPConfig does not use /etc/cron.d/php5, it uses its own cron_daily.php script. Thaere was a bug with the deletion of sessions which had been fixed in 3.0.1.2.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 1st May 2010, 19:54
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 17 Times in 14 Posts
Default

Thank you
Ispconfig3 upgraded on that system, will try if this works properly now.
__________________
http://www.xh.se
Reply With Quote
  #5  
Old 2nd May 2010, 18:58
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,438
Thanks: 813
Thanked 5,209 Times in 4,085 Posts
 
Default

We did some further modifications in this area, so in case ther is still an issue on your system, you can try the attached cron_daily.php file (in the zip) and copy it to /usr/local/ispconfig/server/
Attached Files
File Type: zip cron_daily.zip (4.1 KB, 115 views)
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24


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


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