Ultimamente mi servidor web en linux
pasó de consumir menos de 1GB a consumir
casi 10GB
mi servidor lanza aplicaciones httpd para comunicarse
con servidores de aplicación
jboss 4801 0.0 0.0 29760 2360 ? S 07:15 0:04 /usr/local/apache2/bin/httpd -k start
jboss 5712 0.0 0.0 29888 2484 ? S 07:20 0:05 /usr/local/apache2/bin/httpd -k start
jboss 6787 0.0 0.0 29784 2396 ? S 10:24 0:01 /usr/local/apache2/bin/httpd -k start
jboss 6921 0.0 0.0 29652 2320 ? S 10:25 0:01 /usr/local/apache2/bin/httpd -k start
jboss 6948 0.0 0.0 29784 2384 ? S 10:25 0:01 /usr/local/apache2/bin/httpd -k start
jboss 7107 0.0 0.0 29768 2348 ? S 10:26 0:01 /usr/local/apache2/bin/httpd -k start
jboss 7139 0.0 0.0 29652 2324 ? S 10:26 0:01 /usr/local/apache2/bin/httpd -k start
jboss 7506 0.0 0.0 29896 2488 ? S 10:28 0:01 /usr/local/apache2/bin/httpd -k start
jboss 7508 0.0 0.0 29760 2344 ? S 10:28 0:01 /usr/local/apache2/bin/httpd -k start
jboss 7530 0.0 0.0 29784 2368 ? S 10:28 0:01 /usr/local/apache2/bin/httpd -k start
jboss 7693 0.0 0.0 29784 2348 ? S 10:29 0:01 /usr/local/apache2/bin/httpd -k start
jboss 8030 0.0 0.0 30192 2812 ? S 10:31 0:01 /usr/local/apache2/bin/httpd -k start
jboss 8032 0.0 0.0 29652 2308 ? S 10:31 0:01 /usr/local/apache2/bin/httpd -k start
jboss 8083 0.0 0.0 30040 2708 ? S 10:31 0:01 /usr/local/apache2/bin/httpd -k start
A pesar que bajo el servicio apache
el consumo se mantiene
/usr/local/apache2/bin/apachectl stop
[root@servidorweb logs]# ps auxxxxxxx
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 10344 684 ? Ss 07:09 0:00 init [3]
root 2 0.0 0.0 0 0 ? S< 07:09 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 07:09 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S< 07:09 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S< 07:09 0:00 [migration/1]
root 6 0.0 0.0 0 0 ? SN 07:09 0:00 [ksoftirqd/1]
root 7 0.0 0.0 0 0 ? S< 07:09 0:00 [watchdog/1]
root 8 0.0 0.0 0 0 ? S< 07:09 0:00 [events/0]
root 9 0.0 0.0 0 0 ? S< 07:09 0:00 [events/1]
root 10 0.0 0.0 0 0 ? S< 07:09 0:00 [khelper]
root 147 0.0 0.0 0 0 ? S< 07:09 0:00 [kthread]
root 152 0.0 0.0 0 0 ? S< 07:09 0:00 [kblockd/0]
root 153 0.0 0.0 0 0 ? S< 07:09 0:00 [kblockd/1]
root 154 0.0 0.0 0 0 ? S< 07:09 0:00 [kacpid]
root 313 0.0 0.0 0 0 ? S< 07:09 0:00 [cqueue/0]
root 314 0.0 0.0 0 0 ? S< 07:09 0:00 [cqueue/1]
root 317 0.0 0.0 0 0 ? S< 07:09 0:00 [khubd]
root 319 0.0 0.0 0 0 ? S< 07:09 0:00 [kseriod]
root 392 0.0 0.0 0 0 ? S 07:09 0:00 [pdflush]
root 393 0.0 0.0 0 0 ? S 07:09 0:00 [pdflush]
root 394 0.0 0.0 0 0 ? S< 07:09 0:00 [kswapd0]
root 395 0.0 0.0 0 0 ? S< 07:09 0:00 [aio/0]
root 396 0.0 0.0 0 0 ? S< 07:09 0:00 [aio/1]
root 601 0.0 0.0 0 0 ? S< 07:09 0:00 [kpsmoused]
root 647 0.0 0.0 0 0 ? S< 07:09 0:00 [mpt_poll_0]
root 648 0.0 0.0 0 0 ? S< 07:09 0:00 [scsi_eh_0]
root 655 0.0 0.0 0 0 ? S< 07:09 0:00 [ata/0]
root 656 0.0 0.0 0 0 ? S< 07:09 0:00 [ata/1]
root 657 0.0 0.0 0 0 ? S< 07:09 0:00 [ata_aux]
root 667 0.0 0.0 0 0 ? S< 07:09 0:00 [kstriped]
root 680 0.0 0.0 0 0 ? S< 07:09 0:00 [ksnapd]
root 704 0.0 0.0 0 0 ? S< 07:10 0:02 [kjournald]
root 732 0.0 0.0 0 0 ? S< 07:10 0:00 [kauditd]
root 766 0.0 0.0 13012 1196 ? S<s 07:10 0:00 /sbin/udevd -d
root 2146 0.0 0.0 0 0 ? S< 07:10 0:00 [kmpathd/0]
root 2147 0.0 0.0 0 0 ? S< 07:10 0:00 [kmpathd/1]
root 2148 0.0 0.0 0 0 ? S< 07:10 0:00 [kmpath_handlerd]
root 2174 0.0 0.0 0 0 ? S< 07:10 0:00 [kjournald]
root 2686 0.0 0.0 0 0 ? S< 07:10 0:16 [vmmemctl]
root 2856 0.0 0.0 133832 4132 ? S 07:10 0:02 /usr/sbin/vmtoolsd
root 3268 0.0 0.0 27328 808 ? S<sl 07:10 0:00 auditd
root 3270 0.0 0.0 16268 744 ? S<sl 07:10 0:00 /sbin/audispd
root 3305 0.0 0.0 5904 596 ? Ss 07:10 0:00 syslogd -m 0
root 3308 0.0 0.0 3800 432 ? Ss 07:10 0:00 klogd -x
root 3325 0.0 0.0 10728 368 ? Ss 07:10 0:00 irqbalance
rpc 3348 0.0 0.0 8048 588 ? Ss 07:10 0:00 portmap
root 3391 0.0 0.0 10140 768 ? Ss 07:10 0:00 rpc.statd
root 3434 0.0 0.0 0 0 ? S< 07:10 0:00 [rpciod/0]
root 3435 0.0 0.0 0 0 ? S< 07:10 0:00 [rpciod/1]
root 3443 0.0 0.0 48712 728 ? Ss 07:10 0:00 rpc.idmapd
dbus 3472 0.0 0.0 21256 984 ? Ss 07:10 0:00 dbus-daemon --system
root 3488 0.0 0.0 10428 784 ? Ss 07:10 0:00 /usr/sbin/hcid
root 3494 0.0 0.0 5932 540 ? Ss 07:10 0:00 /usr/sbin/sdpd
root 3518 0.0 0.0 0 0 ? S< 07:10 0:00 [krfcommd]
root 3570 0.0 0.0 21036 1300 ? Ssl 07:10 0:00 pcscd
root 3591 0.0 0.0 8512 476 ? Ss 07:10 0:00 /usr/bin/hidd --server
root 3613 0.0 0.0 32000 1228 ? Ssl 07:10 0:00 automount
root 3638 0.0 0.0 3796 560 ? Ss 07:10 0:00 /usr/sbin/acpid
root 3654 0.0 0.0 26312 508 ? Ss 07:10 0:00 ./hpiod
root 3659 0.0 0.0 155052 6708 ? S 07:10 0:00 python ./hpssd.py
root 3692 0.0 0.0 60672 1184 ? Ss 07:10 0:00 /usr/sbin/sshd
root 3732 0.0 0.0 6448 360 ? Ss 07:10 0:00 gpm -m /dev/input/mice -t exps2
root 3765 0.0 0.0 74816 1132 ? Ss 07:10 0:00 crond
xfs 3801 0.0 0.0 20820 1636 ? Ss 07:10 0:00 xfs -droppriv -daemon
root 3832 0.0 0.0 18732 456 ? Ss 07:10 0:00 /usr/sbin/atd
avahi 3867 0.0 0.0 23268 1396 ? Ss 07:10 0:00 avahi-daemon: running [vuprwe01.local]
avahi 3868 0.0 0.0 23144 332 ? Ss 07:10 0:00 avahi-daemon: chroot helper
68 3884 0.0 0.0 31044 4120 ? Ss 07:10 0:02 hald
root 3885 0.0 0.0 21688 1060 ? S 07:10 0:00 hald-runner
68 3893 0.0 0.0 12320 848 ? S 07:10 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 3894 0.0 0.0 256904 15396 ? SN 07:10 0:00 /usr/bin/python -tt /usr/sbin/yum-updatesd
root 3900 0.0 0.0 12912 1172 ? SN 07:10 0:00 /usr/libexec/gam_server
68 3901 0.0 0.0 12320 844 ? S 07:10 0:00 hald-addon-keyboard: listening on /dev/input/event0
root 3910 0.0 0.0 10224 688 ? D 07:10 0:03 hald-addon-storage: polling /dev/hda
root 3958 0.0 0.0 18412 460 ? S 07:10 0:00 /usr/sbin/smartd -q never
root 3962 0.0 0.0 3788 484 tty1 Ss+ 07:10 0:00 /sbin/mingetty tty1
root 3963 0.0 0.0 3788 484 tty2 Ss+ 07:10 0:00 /sbin/mingetty tty2
root 3964 0.0 0.0 3788 488 tty3 Ss+ 07:10 0:00 /sbin/mingetty tty3
root 3965 0.0 0.0 3788 484 tty4 Ss+ 07:10 0:00 /sbin/mingetty tty4
root 3982 0.0 0.0 3788 488 tty5 Ss+ 07:10 0:00 /sbin/mingetty tty5
root 3985 0.0 0.0 3788 488 tty6 Ss+ 07:10 0:00 /sbin/mingetty tty6
root 18325 0.0 0.0 87028 3356 ? Rs 11:28 0:00 sshd: root@pts/0
root 18480 0.0 0.0 66296 1764 pts/0 Ss 11:28 0:00 -bash
root 24978 0.0 0.0 88216 3388 ? Ss 12:04 0:00 sshd: root@notty
root 24980 0.0 0.0 54004 2104 ? Ss 12:04 0:00 /usr/libexec/openssh/sftp-server
root 25359 0.0 0.0 88964 3356 ? Ss 12:06 0:00 sshd: root@pts/1
root 25361 0.0 0.0 66296 1740 pts/1 Ss+ 12:06 0:00 -bash
root 26187 0.0 0.0 65596 968 pts/0 R+ 12:19 0:00 ps auxxxxxxx
[root@servidorweb logs]# free -m
total used free shared buffers cached
Mem: 16051 11058 4993 0 62 453
-/+ buffers/cache: 10542 5509
Swap: 5951 0 5951
El consumo aun sigue siendo 10GB !
Que proceso puede estar consumiendo tanto RAM ?