[mythtv-users] Severe Memory leak in 0.15.1?
David Rees
drees at greenhydrant.com
Thu Jul 8 02:55:11 EDT 2004
John Goerzen wrote, On 7/7/2004 8:19 PM:
>
> top - 21:58:37 up 1 day, 4:27, 3 users, load average: 1.37, 1.22, 1.39
> Tasks: 58 total, 2 running, 56 sleeping, 0 stopped, 0 zombie
> Cpu(s): 30.6% us, 6.6% sy, 0.0% ni, 62.1% id, 0.0% wa, 0.3% hi, 0.3% si
> Mem: 224596k total, 221316k used, 3280k free, 328k buffers
> Swap: 995988k total, 170956k used, 825032k free, 87540k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP COMMAND
> 2405 mythtv 15 0 161m 18m 31m S 0.0 8.3 0:04.66 143m mythbackend
> 3261 www-data 16 0 147m 7248 136m S 0.0 3.2 0:03.61 139m apache
> 3262 www-data 16 0 142m 4544 136m S 0.0 2.0 0:01.94 138m apache
> 1738 www-data 16 0 140m 2728 136m S 0.0 1.2 0:01.35 138m apache
> 1736 root 16 0 137m 1208 136m S 0.0 0.5 0:00.30 135m apache
> 3258 www-data 16 0 140m 5396 136m S 0.0 2.4 0:01.23 135m apache
> 1739 www-data 16 0 140m 6172 136m S 0.0 2.7 0:00.45 134m apache
> 1893 mythtv 15 0 99.8m 11m 40m S 0.0 5.2 1:46.00 88m mythfrontend
> 1811 root 15 0 110m 27m 44m S 2.3 12.7 17:40.09 82m XFree86
> 2483 mythtv 15 0 91120 10m 40m S 0.7 5.0 1:19.20 78m mythfrontend
> 3757 mythtv 15 0 108m 38m 40m S 18.7 17.4 2:06.25 70m mythfrontend
> 1643 mysql 16 0 70996 14m 7744 S 0.0 6.5 0:00.04 55m mysqld
> 1878 mythtv 15 0 63224 9.9m 40m S 0.3 4.5 1:24.40 51m mythfrontend
> 3756 mythtv 16 0 53820 12m 40m S 0.0 5.5 0:01.03 40m mythfrontend
> 3726 mythtv 16 0 28908 5692 27m S 0.0 2.5 0:00.01 22m kdeinit
> 3731 mythtv 16 0 29484 6532 27m S 0.0 2.9 0:00.02 22m kdeinit
> 3729 mythtv 16 0 29008 6096 27m S 0.0 2.7 0:00.02 22m kdeinit
Apache is sucking up a very large amount of memory. You've got 6 of
them trying to run there, each of them has allocated (and touched) over
130MB each. Figure out why Apache is using so much memory, or add
another 512MB of memory to the machine, and that should fix your problem.
The memory usage of mythbackend and frontend look normal to me.
-Dave
More information about the mythtv-users
mailing list