LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

real servers load goes very high due to zombie vim process

To: lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
Subject: real servers load goes very high due to zombie vim process
From: Shivaji Navale <shivaji@xxxxxxxxxxxxx>
Date: Sat, 15 Nov 2003 04:43:23 +0530 (IST)
Hi,

There are many vim processes in the background for users logged out from
the system which hogg the memory and raise the load to very high levels
( at times about 30 (three zero) )

 04:37:20  up 1 day,  3:13, 13 users,  load average: 6.40, 6.20, 6.02
  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
31260 ****r     18   0  2728 2728  1860 R      40.3  0.2  88:05     1 vim
17362 ****y     17   0  2740 2740  1856 R    40.3  0.2  76:01   0 vim
24070 *n**     14   0  2728 2728  1840 R    34.2  0.2  22:41   1 vim

(this users had logged out)

Also some pine/imap processes keep the mailbox locked, here too for logged
out users.

This problem has caused havoc in our system, at times delaying the mails
due to procmail waiting for the lock on mailbox getting freed.

Mailbox error format have also been frequent wherein first 20-23 lines are
just eaten up.

ipvsadm -L --timeout
Timeout (tcp tcpfin udp): 18000 120 300

We are using a four node NFS cluster with one director (NFS server version
3) on rh-9 and linux-2.4.20-18.8.um.1custom kernel.

using nat in iptables (eth1 being virtual address of director)
-A POSTROUTING -s 10.107.1.3 -o eth1 -j MASQUERADE
similarly for other three (4/5/6) real servers.


using ldirectord conf as
virtual=10.107.1.2:23
        real=10.107.1.3:23 masq 1
        real=10.107.1.4:23 masq 1
        real=10.107.1.5:23 masq 1
        real=10.107.1.6:23 masq 1
        service=none
        checktype=connect
        scheduler=wlc
        #persistent=600
        protocol=tcp

virtual=10.107.1.2:22
        #fallback=127.0.0.1:22
        real=10.107.1.3:22 masq
        service=none
        checktype=connect
        scheduler=wlc
        #persistent=7200
        protocol=tcp


thanks


*****************************************************************
-- EVERYONE should contribute to THE BEST of their capacity
for THE DEVELOPMENT of THE NATION
                                         -- A P J KALAM


<Prev in Thread] Current Thread [Next in Thread>