About this list Date view Thread view Subject view Author view Attachment view

From: Andreea Gansac (andreea.gansac_at_ines.ro)
Date: Mon 08 Nov 2004 - 09:58:13 GMT


Hi,

        I have a server with 4 running vservers on it and a big problem: after
a period of time (sometimes a week) there is no more free memory and the
memory is swapped out on the disk until the server freezes because of
too much swapping.
        
        This is the hardware configuration for the host server:

                Intel(R) Pentium(R) 4 CPU 2.00GHz
                1G RAM
                1G Swap

        On the host server I have Fedora Core 2 and some vservers have FC1 and
some FC2. The server is running kernel 2.4.26 with patch-2.4.26-vs1.28.diff.
I use util-vserver-0.30.

        If I add the RSS of all processes running:

        echo $[`vps -A u | sed 's/ */ /g' | cut -d ' ' -f 8 | grep -v RSS |
xargs | sed 's/ /+/g'`]
        
        I get 600M of memory used.

        But when I run free I get 832M used plus swap.
        
        [root_at_atlas vservers]# free
             total used free shared buffers
cached
Mem: 905196 897072 8124 0 5844
58496
-/+ buffers/cache: 832732 72464
Swap: 1020116 136872 883244

        This morning something really weird is happening:

        After running the command ps -aux several times in a vserver,
the RSS for the httpd processes gets smaller and smaller. When I restart the
httpd service every httpd process has 6M RSS. After several ps -aux commands the RSS
is 56K. How is this possible?
        And the clamd process which usually needed 16M RSS now has 328K.

        The services running in each vservers are httpd, mysql, postfix/qmail
, clamd, dovecot.

        Just a few minutes ago the server freezed and I had do reset it.
        Now everything seems to be normal.

        Has anyone encountered this problem with vservers?

        Thanks a lot.

Andreea

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 08 Nov 2004 - 12:02:02 GMT by hypermail 2.1.3