Memory Leak

DafyddHugh no-reply-gw at fcp.homelinux.org
Thu Feb 10 09:15:39 UTC 2005


Hi,

I am running Fedora Core 3 on a machine with 512Mb memory.

There are 2 problems

1. When the physical memory is exhausted the system tries to use swap, the disk spins and the system becomes unusable. This is under investigation, but any ideas would be appreciated.

2. More of an issue. Every few minutes (4 or 5) the available physical memory decreases by 64k, while the cache memory increases by 4k or 8k. This is happening on a very "lean" machine (see simple ps post below). No processes seem to be increasing memory at the same time. Usually the machine also runs httpd, mysqld, popfile in addition to the posted ps. It looks like a memory leak, but I can't find the offending process - any ideas?

  PID TTY          TIME CMD
    1 ?        00:00:01 init
    2 ?        00:00:00 ksoftirqd/0
    3 ?        00:00:00 events/0
    4 ?        00:00:00 khelper
   16 ?        00:00:00 kacpid
   81 ?        00:00:00 kblockd/0
   89 ?        00:00:00 khubd
  143 ?        00:00:00 pdflush
  144 ?        00:00:00 pdflush
  146 ?        00:00:00 aio/0
  145 ?        00:00:00 kswapd0
  237 ?        00:00:00 kseriod
  428 ?        00:00:00 kjournald
 1492 ?        00:00:00 udevd
 2647 ?        00:00:00 kjournald
 3518 ?        00:00:00 syslogd
 3522 ?        00:00:00 klogd
 3548 ?        00:00:00 portmap
 3567 ?        00:00:00 rpc.statd
 3598 ?        00:00:00 rpc.idmapd
 3690 ?        00:00:04 nifd
 3699 ?        00:00:00 smartd
 3708 ?        00:00:00 acpid
 3744 ?        00:00:00 sshd
 3813 ?        00:00:00 xinetd
 3825 ?        00:00:00 ntpd
 3946 ?        00:00:00 gpm
 3965 ?        00:00:00 crond
 3976 ?        00:00:00 cupsd
 4043 ?        00:00:00 xfs
 4068 ?        00:00:00 atd
 4077 ?        00:00:00 dbus-daemon-1
 4086 ?        00:00:00 cups-config-dae
 4096 ?        00:00:03 hald
 4145 tty1     00:00:00 mingetty
 4146 tty2     00:00:00 mingetty
 4147 tty3     00:00:00 mingetty
 4148 tty4     00:00:00 mingetty
 4149 tty5     00:00:00 mingetty
 4150 tty6     00:00:00 mingetty
 4652 ?        00:00:01 sshd
 4654 pts/0    00:00:00 bash
 4691 ?        00:00:00 sshd
 4693 pts/1    00:00:00 bash
 4893 ?        00:00:00 sendmail
 4903 ?        00:00:00 sendmail
 4955 pts/1    00:00:00 vmstat
 5096 ?        00:00:00 sshd
 5098 ?        00:00:00 bash
 5151 pts/0    00:00:00 ps



-- 
This is an email sent via the webforum on http://fcp.homelinux.org




More information about the fedora-list mailing list