
9th September 2005, 01:05
|
|
Member
|
|
Join Date: Aug 2005
Location: Burbank, California
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

9th September 2005, 11:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
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.
|

9th September 2005, 12:21
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
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.
|

25th August 2006, 03:27
|
|
Member
|
|
Join Date: Aug 2006
Posts: 42
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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?
|

25th August 2006, 10:18
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
I dont think you have a memory leak. The Linux kernel always allocates all your memory and uses it for caching disk access etc.
|

25th August 2006, 13:31
|
|
Member
|
|
Join Date: Aug 2006
Posts: 42
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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%!
|

25th August 2006, 13:41
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
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!
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 00:19.
|
Recent comments
15 hours 46 min ago
21 hours 2 min ago
21 hours 13 min ago
21 hours 21 min ago
22 hours 23 min ago
1 day 30 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 3 hours ago
1 day 4 hours ago