#1  
Old 9th September 2005, 00:05
adamluz adamluz is offline
Member
 
Join Date: Aug 2005
Location: Burbank, California
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to adamluz Send a message via MSN to adamluz
Default Memory Leak?

I am not sure what is going on here nor is it related to ispconfig but I thought I might be able to get some input. I have a server crashing every day at a random time. Here is the log I am getting, I am assuming its something to do with the ram but before i go and start messing around with the hardware I would like to get some input from others.

Take a look here: File to big to place in forum
http://absz.com/log.txt
Reply With Quote
Sponsored Links
  #2  
Old 9th September 2005, 10:50
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

ISPConfig has currently no known memory leaks. When you open a shell on your server and run the command "top", does the memory usage rises until the SWAP is fully used? If this happens, which process consumes the memory? You can also use the command "ps -aux" to see all processes incl. their memory usage.
Reply With Quote
  #3  
Old 9th September 2005, 11:21
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

I have a P3 1GHz with 128mb SDR. I run ferdoa 3 with default fedora 3 how-to and ISPC install. I always have 25MB left to work with. Which isnt bad at all. And I'd like to add that it has been running 24/7 for 5 days now. I'm sure things will change when the server gets busy. I'll probably have to add another 500MB but for light traffic, nothing is wrong or munching on the memory.
Reply With Quote
  #4  
Old 25th August 2006, 02:27
dedibox dedibox is offline
Member
 
Join Date: Aug 2006
Posts: 42
Thanks: 1
Thanked 0 Times in 0 Posts
Unhappy Memory leak on fresh server

I just installed a Debian distrib with ISPConfig. I installed phpSys Info to keep tabs on processer and memory usage.

The CPU load is very low, as I only have Apache running and the server's not receiving or sending any e-mail.

However, the memory usage creeps up and eventually ends up at 99%!

I checked memory usage with ps -aux, and the memory hogs are:
- multiple instances of using 1-3% of memory
/usr/sbin/apache2 -k start -DSSL

- a single instance of mysql using 5.4% of memory
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=m

So even though ISPConfig does not appear to be the likely culprit, there must something wrong with the server configuration.

Can anyone help me figure this one out?
Reply With Quote
  #5  
Old 25th August 2006, 09:18
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

I dont think you have a memory leak. The Linux kernel always allocates all your memory and uses it for caching disk access etc.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 25th August 2006, 12:31
dedibox dedibox is offline
Member
 
Join Date: Aug 2006
Posts: 42
Thanks: 1
Thanked 0 Times in 0 Posts
Default

If it allocates all of my memory, why doesn't it do this at boot? phpsysinfo shows memory usage increasing, starting out at around 14% and ending at 99%!
Reply With Quote
  #7  
Old 25th August 2006, 12:41
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
 
Default

Quote:
Originally Posted by dedibox
If it allocates all of my memory, why doesn't it do this at boot?
Because the kernel caches files when they where first used and not all files where used when you boot your server!
__________________
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
memory and rescource consumption domino Suggest HOWTO 5 17th August 2005 11:54
Memory mcfly Technical 1 26th May 2005 18:53


All times are GMT +2. The time now is 18:35.


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