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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th December 2006, 19:19
afmachado afmachado is offline
Junior Member
 
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question memory leak when choosing email folder list?

Hello,
I have ONE of my email accounts wich I am unable to delete some folders.
When I select the
Personal settings > Folders
the memory usage of Debian 3.1 sarge on Xen start to grow wildly.
The ispconfig use up to 900 MB , filling swap and making system unresponsive.
Top shows more than 70% wa (waiting for disk), kswapd becomes super active.
I have to restart ispconfig 2.2.9 before whole system goes out of control by swap exhaustion.

This only happens to ONE email account (the site admin).

How could I track the problem?
Regards.

Andre Felipe
http://www.techforce.com.br

Last edited by afmachado; 28th December 2006 at 20:04. Reason: explain problem in title
Reply With Quote
Sponsored Links
  #2  
Old 29th December 2006, 11:27
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

ISPConfig has no "personal settings > folders" menu. About which application are you talking then, a webmail client?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th December 2006, 11:52
afmachado afmachado is offline
Junior Member
 
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default memory leak when choosing email folder list?

Hello,
It is the roundcube webmail package , interacting with the ispconfig (it seems, as I have to restart ispconfig).
From what observed, I guess that roundcube is trying to modify folders that ispconfig mark as "administrator" or change location.
I can reproduce this. If , at ispconfig, unmark this user account as administrator then the folder tab works as expected, not using too much memory.
How could I track this?

Regards.
Andre Felipe
Reply With Quote
  #4  
Old 29th December 2006, 11:58
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Roundcube is not interacting with ISPConfig at all, its a completely separate application. It only runs on the same webserver then the ISPConfig controlpanel, which is a unmodified apache werbserver.

To track this, you would have to debug roundcube. I guess roundcube troes to load every folder of the adminisrator in memory which would be a very bad behaviours as any linux system user can have a large amount of files in his home directory. Another problem might be that roundcube is not compatible with linux symlinks.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 29th December 2006, 13:44
afmachado afmachado is offline
Junior Member
 
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default memory leak when choosing email folder list?

Hello,
Thanks for your suggestion.
When not marked as "admin", the user's folders tab displays some tar.gz big files.
I removed them using ftp.
Used "find / -user problematic_user" to locate files belonging to that user.
Discovered that all site belongs to this user when admin....
The weird memory usage happens again when marked as admin, even with ..../user/problematic_user folder with a few small files.
Maybe it is trying to load entire site in memory.
How verify this?
Regards.
Andre Felipe
Reply With Quote
  #6  
Old 29th December 2006, 13:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
 
Default

Quote:
Originally Posted by afmachado
Maybe it is trying to load entire site in memory.
How verify this?
The best solution is to ask this the roundcube developers in the roundcube forum or mailing list. The ISPConfig admin user is just a simple linux system user with some subdirectories inside his home directory. When roundcube tries to load all data in the homedir of a linux user into memory, I would consider this to be a roundcube bug.
__________________
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
Rename folder -> create new folder equals contents of old folder BlueStream General 20 15th December 2006 03:32
Memory Leak? adamluz General 6 25th August 2006 12:41
Memory leak? oom-killer problem yikes! Stokesy Server Operation 7 29th July 2006 12:48
Ispconfig and Virtuemart shajazzi Installation/Configuration 7 21st February 2006 20:25
memory and rescource consumption domino Suggest HOWTO 5 17th August 2005 11:54


All times are GMT +2. The time now is 09:59.


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