Fuga de memoria
| From: | Gustavo Martinez | Date: | Thu, 27 Jul 2000 20:37:18 +0000 |
| Subject: | Fuga de memoria | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-677@lists.php.net to get a copy of this message | ||
Tengo configurado el PHP3 sobre un web server Apache 1.3.9 mod_SSL sobre
Linux y tengo una fuga de memoria. Cuando levanto el servidor tengo 90 Mb de
memoria libre (segun el comando 'free'); luego de 35.000 hits esta se redujo
a solo 5 Mb, aunque todavia no empezo a hacer swapping. Esta es la salida
del comando 'free':
total used free shared buffers cached
Mem: 127948 122176 5772 38112 18788 75752
-/+ buffers/cache: 27636 100312
Swap: 120924 0 120924
y esta es la del comando 'top':
5:35pm up 1 day, 9:20, 1 user, load average: 0.00, 0.00, 0.00
34 processes: 33 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.2% user, 0.0% system, 0.0% nice, 28.1% idle
Mem: 127948K av, 122736K used, 5212K free, 38912K shrd, 18828K buff
Swap: 120924K av, 0K used, 120924K free 75752K cached
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
2371 nobody 1 0 4000 4000 3152 S 0 0.9 3.1 0:00 httpd
2440 informix 12 0 1008 1008 816 R 0 0.9 0.7 0:00 top
1 root 0 0 460 460 388 S 0 0.0 0.3 0:04 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kflushd
3 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kupdate
4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
5 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kswapd
6 root -20 -20 0 0 0 SW< 0 0.0 0.0 0:00
mdrecoveryd
369 root 0 0 500 500 404 S 0 0.0 0.3 0:00 syslogd
380 root 0 0 688 688 316 S 0 0.0 0.5 0:00 klogd
396 daemon 0 0 312 312 232 S 0 0.0 0.2 0:00 atd
412 root 0 0 548 548 452 S 0 0.0 0.4 0:00 crond
428 root 0 0 444 444 368 S 0 0.0 0.3 0:00 inetd
460 xfs 0 0 900 900 536 S 0 0.0 0.7 0:00 xfs
480 root 0 0 600 600 408 S 0 0.0 0.4 0:00 xfstt
516 root 0 0 384 384 316 S 0 0.0 0.3 0:00 mingetty
517 root 0 0 384 384 316 S 0 0.0 0.3 0:00 mingetty
Alguien tiene alguna idea de como solucionar esto?
Desde ya, muchas gracias.