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 1st June 2009, 07:21
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default consuming a lot of memory

I am using debian lenny with the perfect setup and this is a sample list from top:


Code:
mysql	152304 kB	/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file ...
2462	clamav	98948 kB	/usr/sbin/clamd
7210	www-data	91252 kB	/usr/sbin/apache2 -k start
7329	www-data	86208 kB	/usr/sbin/apache2 -k start
7293	www-data	85724 kB	/usr/sbin/apache2 -k start
7213	www-data	83936 kB	/usr/sbin/apache2 -k start
7215	www-data	83932 kB	/usr/sbin/apache2 -k start
7307	www-data	83404 kB	/usr/sbin/apache2 -k start
7214	www-data	83148 kB	/usr/sbin/apache2 -k start
7257	www-data	83148 kB	/usr/sbin/apache2 -k start
7305	www-data	82444 kB	/usr/sbin/apache2 -k start
7212	www-data	82344 kB	/usr/sbin/apache2 -k start
7306	www-data	82184 kB	/usr/sbin/apache2 -k start
7331	www-data	79060 kB	/usr/sbin/apache2 -k start
7256	www-data	78760 kB	/usr/sbin/apache2 -k start
7261	www-data	78760 kB	/usr/sbin/apache2 -k start
7330	www-data	78760 kB	/usr/sbin/apache2 -k start
7373	www-data	78740 kB	/usr/sbin/apache2 -k start
7278	www-data	78628 kB	/usr/sbin/apache2 -k start
7372	www-data	78328 kB	/usr/sbin/apache2 -k start
3312	root	78196 kB	/usr/sbin/apache2 -k start
7208	www-data	67260 kB	/usr/sbin/apache2 -k start
28172	amavis	57696 kB	amavisd (ch18-avail)
28715	amavis	57288 kB	amavisd (ch15-avail)
1394	amavis	54420 kB	amavisd (master)
1923	root	47520 kB	/usr/sbin/lwresd
1798	root	29040 kB	/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/ ...
1806	root	29040 kB	spamd child
1807	root	29040 kB	spamd child
1835	root	28428 kB	/usr/sbin/rsyslogd -c3
29115	root	23980 kB	/usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
7190	root	14036 kB	/usr/share/webmin/proc/index_size.cgi
3007	root	12508 kB	/usr/sbin/smbd -D
3073	root	12508 kB	/usr/sbin/smbd -D
3372	root	12440 kB	/usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
7275	postfix	11744 kB	smtpd -n smtp -t inet -u -c -o stress
7353	postfix	11744 kB	smtpd -n smtp -t inet -u -c -o stress
3116	root	9116 kB	/usr/sbin/winbindd
3129	root	9116 kB	/usr/sbin/winbindd
3074	root	8360 kB	/usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
3079	root	8360 kB	/usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
3080	root	8360 kB	/usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
3081	root	8360 kB	/usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
3082	root	8360 kB	/usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
20610	root	8160 kB	sshd: root@pts/0
7403	postfix	8116 kB	trivial-rewrite -n rewrite -t unix -u -c
7404	postfix	8104 kB	proxymap -t unix -u
18826	postfix	8020 kB	qmgr -l -t fifo -u
7140	web2	7796 kB
I am not sure why all of these processes takes up so much ram if not needed. Is there anyway to tweak and tune these processes so that they dont take up much more memory. Thanks.
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
Sponsored Links
  #2  
Old 1st June 2009, 11:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

There are a lot of infos in the internet on how to tune apache if you search for them with e.g. goole
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 1st June 2009, 13:24
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

thanks will do!
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
Reply With Quote
  #4  
Old 16th June 2009, 19:52
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 438
Thanks: 34
Thanked 56 Times in 39 Posts
Send a message via Skype™ to SamTzu
Default Memory ISPConfig3

Did You find anything useful?
I have noticed that my ISPConfig3 setup on ProxMox/OpenVZ server seems to use a lot more memory than ISPConfig2 on VMWare. I'm wondering what could cause that.
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

Reply With Quote
  #5  
Old 17th June 2009, 10:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

ISPConfig 3 uses a completely different setup with other daemons and especially a much better spamfilter etc. Other daemons might need system resources and also newer versions of the same software like apache, spamassassin and clamav etc. might need more ram. ISPConfig itself does not need any permanent system resources as it is just a script that is run by cron.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 17th June 2009, 11:21
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 438
Thanks: 34
Thanked 56 Times in 39 Posts
Send a message via Skype™ to SamTzu
Default

Thx, Till.

I'm actually wondering if the OpenVZ is to be blamed here.
I have read from some sources that it's use of memory is somehow 'unorthodox'.

I'm just trying to figure out how to get more out of our servers.
I keep getting the infamous PHP 'Out of memory' error too often.
Allocated Trillion Billion bytes when only 300000 was requested.

I need to learn more about Bean counters.
Only I have never been too good at counting
__________________

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

Reply With Quote
  #7  
Old 18th June 2009, 14:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

This tutorial might be of interest: http://www.howtoforge.com/splitting-...s-with-vzsplit
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 18th June 2009, 17:40
nikoladd nikoladd is offline
Junior Member
 
Join Date: Jun 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I will suggest that the "much better spamfilter" be disabled by default because:
1) it's 3 daemons with their subprocesses use 200+MB of committed memory right out of the box.
2) The amavisd requires fixing just to start it.
3) The content filter is plain stupid! We are a software development company and we had a whole day lost on a project until finding out that it blocks our own email and clients didn't receive their updates that contained zipped exe files (remember software company). Some "much better" programmer has been coding unchecked there.
4) Having an antivirus service on a web server IS BAD DECISION! You can be flooded your performance WILL be hampered when a large attachment is present. Generally content filters are supposed to go on separate servers.

The content filter should be disabled by default and whoever want's it could enable it. It doesn't run out of the box anyway.
Reply With Quote
  #9  
Old 18th June 2009, 17:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

The content filter runs out of the box perfectly if the system is installed as described in the perfect setup guide. I'am doing these installations daily and there are > 10 000 installations with ISPConfig out there were it works. So instead of claiming that it does not work gernerally while it just not worked for you, why did you not just asked if you had a problem?

to 3) I work also in a software company and it never blocked any zip file in the last year since we use it, so the question is which settings you use. Amavisd is a widely used spamfilter.

to 4) That was your decision. ISPConfig is a multi server system to separate mail and webserver. If you decide to install web and mailserver on one machine, dont blame the software for it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 19th June 2009, 15:13
nikoladd nikoladd is offline
Junior Member
 
Join Date: Jun 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
The content filter runs out of the box perfectly if the system is installed as described in the perfect setup guide.
Well we used the OFFICIAL guide from this url http://www.ispconfig.org/docs/INSTALL_DEBIAN_4.0.txt
The perfectly hidden one was not found at the time. And it did NOT work out of the box. We found our way, but still out of the box it didn't work.

Quote:
Originally Posted by till View Post
I'am doing these installations daily and there are > 10 000 installations with ISPConfig out there were it works.
errr that's the ISPC3 forum. Remember? Wishful thinking maybe?

Quote:
Originally Posted by till View Post
So instead of claiming that it does not work gernerally while it just not worked for you, why did you not just asked if you had a problem?
I've fixed the problem. I was speaking of out of the box which is pretty different thing.

Quote:
to 3) I work also in a software company and it never blocked any zip file in the last year since we use it, so the question is which settings you use. Amavisd is a widely used spamfilter.
That's like claiming every crash is survivable because you survived one. Most normal people don't spend their lives tweaking settings. And most admins don't really understand business requirements so this is a problem.

Quote:
to 4) That was your decision. ISPConfig is a multi server system to separate mail and webserver. If you decide to install web and mailserver on one machine, dont blame the software for it.
errr that's the ISPC3 forum. Again. Would you be so kind to point me out how to configure a ispc3 cluster? That would be very helpful. But as far as I've read your own comments on people's questions about it the answer was: "It's not implemented." In my understanding "multi server system" means support for multiple servers to be used in one system and not some silly mapping to other single servers.
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
Out of memory errors pan69 General 9 13th April 2010 08:10
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 17:59
A different kernel, because of more memory? Hans Kernel Questions 4 20th February 2009 10:39
Dkfilter's children consuming 125 Mb memory Aldert Server Operation 7 1st August 2007 20:06
Ispconfig and Virtuemart shajazzi Installation/Configuration 7 21st February 2006 21:25


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


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