Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: jmarcosm on December 14, 2006, 05:40:49 PM
-
I´m realy worry about this problem. My server SME 7.0 hungs every day.
The problem is the following:
My hard disk LED indicator start to light continuosly.
The system start to work very low.
I run top at the console and observe that the free space swap shows "0"
Also I observe the kswapd0 process at the top of the top list.
After 20 minutes waiting , I have to reset the box. After the reset the following warning appears in the messeges log:
Dec 14 12:23:25 huilem squid[3802]: WARNING: newer swaplog entry for dirno 0, fileno 00003921 .
About 200 of this warnings with diferent fileno.
I´m not a linux expert. Sombody can give my a hand with this?
Thanks in advance
Marcos Migliorini
-
Marcos
I suggest you to show us some information.
Start with free space by do this:
df -h
and show if your swap partition is active by
cat /proc/swaps
show inodes and space do you have on that disk
tune2fs -l /dev/md1|grep -i free
and finally told us about your memory:
free -m
After this we can think how to start to help you.
Thanks
Jáder
-
Jáder,
Thank you very much for your help!
This are the results of you sugested commands:
[root@huilem log]# df -h
S.ficheros Tamaño Usado Disp Uso% Montado en
/dev/mapper/main-root
76G 9,7G 62G 14% /
/dev/md1 99M 25M 69M 27% /boot
none 125M 0 125M 0% /dev/shm
-------------------------------------------------------------------
[root@huilem log]# cat /proc/swaps
Filename Type Size Used Priority
/dev/mapper/main-swap partition 262136 78420 -1
--------------------------------------------------------------------
root@huilem log]# tune2fs -l /dev/md1|grep -i free
Free blocks: 75756
Free inodes: 26049
--------------------------------------------------------------------
[root@huilem log]# free -m
total used free shared buffers cached
Mem: 248 232 16 0 10 38
-/+ buffers/cache: 183 65
Swap: 255 76 179
--------------------------------------------------------------------
As you can see everything looks normal after the reset. This happend to me every day.
Any advice?
-
[root@huilem log]# free -m
total used free shared buffers cached
Mem: 248 232 16 0 10 38
-/+ buffers/cache: 183 65
Swap: 255 76 179
--------------------------------------------------------------------
As you can see everything looks normal after the reset. This happend to me every day.
Any advice?
May act fine but you are already using 76Mb of swap. Also not sure what you are running but 256Mb might not quite be enough. Memory is cheap and putting in 1Gb of ram wouldn't hurt. Also if you are running any extra/additional software on the server there may be a memory leak.
-
I agree with Shad Lords
May act fine but you are already using 76Mb of swap. Also not sure what you are running but 256Mb might not quite be enough. Memory is cheap and putting in 1Gb of ram wouldn't hurt. Also if you are running any extra/additional software on the server there may be a memory leak.
You appears to have low memory and a growing swap file... that´s never a good thing.
And you also can install SysMon (I do not tryed this at SME7 yet, but use it a lot on diagnosing problems on SME6).
Jáder
-
Thanks Shad and Jader for the advice.
I´m traying to find dimm memory for this server. Is a P III 1Ghz and is very difficult to find 2 x 512 Mb of dimms in Argentina!!!
Maybe I have to change the box with a new one.
Thanks again and when I have resolved this I will inform you the results.
Marcos Migliorini
-
I had similar grind-to-a-halt problems on 2 PIII 933MHz systems - one with 256MB RAM, one with 192MB.
After some discussion on the forum http://forums.contribs.org/index.php?topic=34420.0 I disabled spamassassin and rhsbl checking on both boxes and the problem went away.
Since these boxes are both passing email to an Exchange 2003 with "Intelligent Message Filtering" enabled I haven't suffered much from disabling spamassassin.
-
Hi,
Definetly was the ram. I have Installed 512 Mb and every thing is working
find.
Thank you very much Shad & Jáder for the help!!
Let me say that I´m running spamassassin , clamav, and the wildfire jabber server. Is to much for a 256 mb ram.
thanks again
Marcos