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 13th December 2011, 12:38
Spheerys Spheerys is offline
Junior Member
 
Join Date: Dec 2011
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default kernel problem : Out of memory, Kill process

Hi,

I did a perfect installation with debian 6 with only one small website on it (for now).
This night, the server crash.
It is the second time in 2 weeks.

On the syslog, I had this :
Quote:
Dec 12 20:54:53 osireion kernel: Out of memory: Kill process 10927 (php-cgi) score 80 or sacrifice child
Dec 12 20:54:53 osireion kernel: Killed process 10927 (php-cgi) total-vm:234700kB, anon-rss:15388kB, file-rss:284kB
Is there a way to solve this kind of random crashs ?
Reply With Quote
Sponsored Links
  #2  
Old 13th December 2011, 13:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,487
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

How many RAM has your server?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 13th December 2011, 13:46
Spheerys Spheerys is offline
Junior Member
 
Join Date: Dec 2011
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My server is only 256Mo for now, but with this momero, I can easyly run 20-30 small websites on another servers (which runing ispCP Omega)

Is ISPConfig need more ressources than ispCP Omega ?
Reply With Quote
  #4  
Old 13th December 2011, 14:25
Spheerys Spheerys is offline
Junior Member
 
Join Date: Dec 2011
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just removed amavis and clamavd because I don't need them.
It could be a good news for my problem
I will repost here if I still have random crash...
Reply With Quote
  #5  
Old 13th December 2011, 14:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,487
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

ISPConfig itself does not need much resources, its just a set of php scripts and not a daemon, So it does not use any ram if you are not currently logged in or if the server script is run once a minute for a second or two. The resources are used by other software on your server like mysql and the email system. If you installed a full setup as described in the perfect setup guide, then this contains setup e.g. a full spam spam and antivirus scanning daemon etc. and such a full setup requires more then 256 MB RAM. The recommended RAM amount for a full setup is 1GB or more.

What you can do is that you disable some services like the spam scanner and also disable innodb in mysql to use less RAM.

Disable spam and antivirus scanning:

http://www.faqforge.com/linux/contro...n-ispconfig-3/

And to disable innodb in mysql, edit the file /etc/mysql/my.cnf and add the line:

skip-innodb

in the [mysqld] section and then restart mysql.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 13th December 2011, 15:40
Spheerys Spheerys is offline
Junior Member
 
Join Date: Dec 2011
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for the explainations Till.
I have disabled innodb too
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
Error show pages in server qb7 General 1 31st October 2011 09:09
Bad blocks on HDD Captain Installation/Configuration 9 26th October 2011 18:37
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 15:18
Problem s RTL8111DL a BCM4311 - Ubuntu Server 10.04 32bit tio289 Installation/Configuration 0 17th June 2010 15:59
Out of memory errors pan69 General 9 13th April 2010 07:10


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


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