On 17 Aug 2001 13:39:07 +0200, jose carreiro wrote:
> Hi all,
> 
> my server runs fine but i'm wondering if the memory usage is in a normal
> state.
> 
> the server is a VAlinux 2200 series with dual PIII 800 Mhz and 512 MB RAM.
> software is linux debian 2.2r2 , qmail 1.03 , standard qmail-smtpd and
> qmail-pop3d server with vpopmail 4.8.9 and imp/webmail
> 
> here is some screen dumps of TOP ** and PS -AUXW qmail processes:
> 
> 258 processes: 256 sleeping, 2 running, 0 zombie, 0 stopped
> CPU states: 15.8% user, 10.0% system,  0.0% nice, 74.0% idle
> Mem:  523804K av, 521596K used,   2208K free, 0K shrd, 249844K buff
> Swap: 248968K av,      0K used, 248968K free 42580K cached
> 
>   PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
> 23038 root       0   0 63864  62M   960 S       0  0.0 1            0:19
> snmpd
>   197 root       0   0 55324  54M   592 S       0  0.0 10.5        14:53
> ospfd
> 18378 www-data   0   0  6100 6100  3396 S       0  0.0  1.1   0:03
> apache-ssl
> 25277 www-data   0   0  5976 5976  3388 S       0  0.0  1.1   0:02
> apache-ssl
> 25261 www-data   0   0  5956 5956  3376 S       0  0.0  1.1   0:01
> apache-ssl
> 32722 www-data   0   0  5892 5892  3332 S       0  0.0  1.1   0:00
> apache-ssl
> 12018 www-data   0   0  5888 5888  3384 S       0  0.0  1.1   0:00
> apache-ssl
>  6599 www-data   0   0  5856 5856  3340 S       0  0.0  1.1   0:02
> apache-ssl
>  5923 www-data   0   0  5796 5796  3376 S       0  0.0  1.1   0:04
> apache-ssl
> 32418 www-data   0   0  5760 5760  3376 S       0  0.0  1.0   0:01
> apache-ssl
> 27855 www-data   0   0  5728 5728  3356 S       0  0.0  1.0   0:03
> apache-ssl
> 18985 www-data   0   0  5716 5716  3380 S       0  0.0  1.0   0:03
> apache-ssl
> 29660 www-data   0   0  5688 5688  3376 S       0  0.0  1.0   0:00
> apache-ssl
> 28473 www-data   0   0  5596 5596  3380 S       0  0.0  1.0   0:04
> apache-ssl
> 18242 www-data   0   0  5544 5544  3216 S       0  0.0  1.0   0:00
> apache-ssl
> 32367 www-data   0   0  5504 5504  3384 S       0  0.0  1.0   0:01
> apache-ssl
> 31743 www-data   0   0  4956 4956  3176 S       0  0.0  0.9   0:00
> apache-ssl
>  5837 www-data   0   0  4920 4920  3184 S       0  0.0  0.9   0:00
> apache-ssl
> 
> ** sorted by mem usage and showing main 3 processes using memory: OSPFD,
> SNMPD and apache-ssl ( for IMP/Webmail)
> as you can see near all physical memory is used and nothing from the swap
> part. the cpu seems very low loaded and a lots of sleeping procs !!!
> 
> Qmail processes (ps -auxw) :
> 
> qmaild   20078  0.0  0.1  1316  556 ?        S    Aug05   9:11
> /usr/local/bin/tcpserver -v -H -P -R -l 0 -x /etc/tcp.smtp.cdb -c 100 -u
> 1002 -g 2108 0 smtp /opt/qmail/bin/qmail-smtpd
> 
> root     20067  0.1  0.1  1316  548 ?        S    Aug05  23:00
> tcpserver -H -v -R 0 pop3 /opt/qmail/bin/qmail-popup pop.domain.com
> /var/spool/popmail/bin/vchkpw /opt/qmail/bin/qmail-pop3d Maildir
> 
> qmaild   31397  0.0  0.0  1008  336 ?        S    15:29   0:00
> /opt/qmail/bin/qmail-smtpd (about 35 procs like this one > incomming smtp
> connects)
> 
> qmails   20057  0.1  0.0  1120  468 ?        S    Aug05  27:35 qmail-send
> 
> qmailr   31606  0.0  0.0  1072  436 ?        S    15:02   0:00 qmail-remote
> domain.com mydomain.xx [EMAIL PROTECTED] ( about 70 procs like this one >
> remote smtp send)
> 
> vpopmail 27480  0.0  0.0  1004  344 ?        S    15:26   0:00
> /opt/qmail/bin/qmail-pop3d Maildir
> 
> root     27487  0.0  0.0   992  296 ?        S    15:26   0:00
> /opt/qmail/bin/qmail-popup pop.domain.com /var/spool/popmail/bin/vchkpw
> /opt/qmail/bin/qmail-pop3d Maildir (about 30 procs like this one > local
> pop3 sessions)
> 
> root     20048  0.0  0.0   988  304 ?        S    Aug05   0:00 supervise
> qmail-send
> root     20049  0.0  0.0   988  304 ?        S    Aug05   0:00 supervise log
> root     20050  0.0  0.0   988  304 ?        S    Aug05   0:00 supervise
> qmail-smtpd
> root     20051  0.0  0.0   988  304 ?        S    Aug05   0:00 supervise log
> root     20052  0.0  0.0   988  304 ?        S    Aug05   0:00 supervise
> qmail-pop3d
> root     20053  0.0  0.0   988  304 ?        S    Aug05   0:00 supervise log
> 
> 
> thx for advise !!
> 
> J.
> 
In linux the kernel will take all of the RAM, so it will appear as if
its all being used.  Over time, regardless of the running processes the
kernel will take up all of the available RAM and distribute it from
there. Runnning top and seeing that your machines RAM is all in use is
noraml.

-- 
Jake Roersma
Network Engineer
Triton Technologies Inc.
(800)-837-4253/364-8761

Reply via email to