Memory problems - with Ensim
I have a P4 server with 1 Gb Ram - running just one reasonably busy forum (Invisionboard.) We started running into memory/server load problems and did some tuning of Apache and MySQL, which has improved it - but we are still running low on memory even when the forum is very quiet.At midnight I rebooted and swap was down to 0. Within a couple of hours - with the forum VERY slow, the picture looked like this (sorted by memory use.)
2:34am up 1:59, 1 user, load average: 0.15, 0.08, 0.01
72 processes: 70 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 0.0% user, 0.4% system, 0.0% nice, 99.6% idle
Mem: 506048K av, 486420K used, 19628K free, 0K shrd, 78880K buff
Swap: 2048276K av, 3724K used, 2044552K free 298516K cached
1365 root 5 -10 20868 20M 1268 S < 0.0 4.1 0:00 ensim-python
2428 apache 10 0 12604 12M 4716 S 0.0 2.4 0:10 httpd
2430 apache 9 0 12548 12M 4804 S 0.0 2.4 0:09 httpd
2443 apache 9 0 12224 11M 4800 S 0.0 2.4 0:09 httpd
2439 apache 9 0 12052 11M 5004 S 0.0 2.3 0:10 httpd
2442 apache 9 0 12048 11M 4720 S 0.0 2.3 0:09 httpd
2422 apache 11 0 11996 11M 4812 S 0.0 2.3 0:09 httpd
2421 apache 16 0 11812 11M 4812 S 2.5 2.3 0:09 httpd
2429 apache 9 0 11664 11M 4720 S 0.0 2.3 0:09 httpd
2440 apache 9 0 11516 11M 4804 S 0.0 2.2 0:10 httpd
2438 apache 9 0 11420 11M 4828 S 0.0 2.2 0:09 httpd
1064 mysql 15 10 11636 10M 1592 S N 0.0 2.1 0:00 mysqld
1066 mysql 12 10 11636 10M 1592 S N 0.0 2.1 0:00 mysqld
1067 mysql 15 10 11636 10M 1592 S N 0.0 2.1 0:00 mysqld
1068 mysql 15 10 11636 10M 1592 S N 0.0 2.1 0:00 mysqld
1197 root 8 0 7780 7780 3636 S 0.0 1.5 0:01 httpd
1419 root 9 0 2508 2508 1100 S 0.0 0.4 0:00 poprelayd
3259 root 9 0 1972 1920 1504 R 0.0 0.3 0:00 sshd
1268 postgres 9 0 1840 1840 1468 S 0.0 0.3 0:00 postmaster
1265 postgres 9 0 1816 1816 1484 S 0.0 0.3 0:00 postmaster
1131 root 8 0 1808 1808 1168 S 0.0 0.3 0:00 sendmail
1267 postgres 9 0 1800 1800 1464 S 0.0 0.3 0:00 postmaster
1354 nobody 5 -10 1520 1520 852 S < 0.0 0.3 0:00 ocwhttpd
1355 nobody 5 -10 1496 1496 828 S < 0.0 0.2 0:00 ocwhttpd
I'm having to reboot at least once a day

Can anyone suggest what might be the problem.