Ian Burrell ianburrell
Tue Jul 19 19:56:12 PDT 2005
We have a three node slony cluster.  Two of the slon daemons for the
slave nodes have large memory usage: virtual size of 2991 MB and 2214
MB.  Luckily, the machine has 16 GB of RAM. These are 32-bit processes
and only have 3 GB of virtual memory per process so they are getting
close to running out of their own memory.

Here is the ps listing:

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
imb      23278  0.0  0.0  2168  756 ?        S    Jul16   0:00 slon -s
1000 -d2 -g 80 vodslony host=voddb1 dbname=vodlive user=slony
port=5432
imb      23280  0.0  0.0 85812 1548 ?        S    Jul16   1:46 slon -s
1000 -d2 -g 80 vodslony host=voddb1 dbname=vodlive user=slony
port=5432
imb      23362  0.0  0.0  2196  812 ?        S    Jul16   0:00 slon -s
1000 -d2 -g 80 vodslony host=voddb4 dbname=vodlive_slave2 user=slony
port=5432
imb      23370  0.4 13.6 3063396 2191596 ?   S    Jul16  16:41 slon -s
1000 -d2 -g 80 vodslony host=voddb4 dbname=vodlive_slave2 user=slony
port=5432
imb      17706  0.0  0.0  2188  828 ?        S    Jul18   0:00 slon -s
1000 -d2 -g 80 vodslony host=voddb3 dbname=vodlive_slave1 user=slony
port=5432
imb      17714  0.1  9.7 2268024 1565852 ?   S    Jul18   2:06 slon -s
1000 -d2 -g 80 vodslony host=voddb3 dbname=vodlive_slave1 user=slony
port=5432

Is there a known cause of the memory usage?  Is there a memory leak? 
Is there anything we can do debug this?

 - Ian


More information about the Slony1-general mailing list