You are way short of memory. 58 Megs RAM in use and 250+ swap on disk!

The python processes aren't sharing much memory.
They are quite long-lived. Perhaps they have a memory leak?

Cheers,
Carl.


On 03/03/06, Nick Rout <[EMAIL PROTECTED]> wrote:
>
> On Fri, 03 Mar 2006 13:09:33 +1300
> Nick Rout wrote:
>
> > I have a machine that is a pIII 400 MHz with 64M RAM.
> >
> > It is not doing much other than running torrentflux, a web based
> > frontend to the bittornado bittorrent client, which also involves mysql
> > and apache.
> >
> > a lot of the time it ticks along at a load average of 0.2-0.5. However
> > sometimes it shoots up to 5, 10, even more, for a while and after a
> > while shrinks back down to the stable level. During this time it becomes
> > pretty unresponsive. It is annoying me.
> >
> > When the LA is high top also shows that the machine is spending a lot of
> > time in the "wait" state. I assume this is an IO related problem,
> > probably disk related. swap is also in use most of the time. DMA is on,
> > but i don't know how well that is handled by the relatively old chipset
> > in the box. top doesn't show any processes using inordinate cpu time or
> > even memory (although swap is clearly in use).
> >
> > Is this "wait" state and high LA related to lack of ram and constant
> > swapping? the disk doesn't sound like its thrashing, but its hard to
> > tell when its not the only computer in the room.
> >
> > Or should I look elsewhere? Is the IO problem related to network issues
> > with a lot of connections on the go? (bittorrent is like that!)
>
> To add to that here is a snap of top:
>
> top - 02:12:25 up 2 days,  5:19,  2 users,  load average: 10.35, 10.29, 10.27
> Tasks: 104 total,   6 running,  98 sleeping,   0 stopped,   0 zombie
> Cpu(s):  5.2% us,  1.5% sy,  0.0% ni,  0.0% id, 90.7% wa,  1.9% hi,  0.6% si
> Mem:     60092k total,    58644k used,     1448k free,      172k buffers
> Swap:   489972k total,   261516k used,   228456k free,     2596k cached
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 13751 apache    17   0 20984 5184  752 R  1.7  8.6  15:24.28 python
> 22334 apache    16   0 17052 6044  772 D  1.7 10.1   1:20.82 python
> 20734 root      17   0  2004  608  416 R  1.3  1.0   2:55.07 top
> 21305 apache    18   0 31632 6636  748 R  0.7 11.0   8:54.74 python
> 23034 nick      16   0  2004  824  620 R  0.7  1.4   0:00.26 top
>  5984 apache    17   0 70408 5436  748 R  0.3  9.0  31:52.97 python
>
> thats sorted by cpu use, sorted by memory use the bottom part looks like this:
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 21305 apache    18   0 31632 7532  736 R  1.7 12.5   8:55.61 python
> 21311 apache    16   0 31632 7532  736 S  0.0 12.5   0:00.09 python
> 22334 apache    16   0 17052 6108  772 D  5.0 10.2   1:21.98 python
> 22347 apache    16   0 17052 6108  772 S  0.3 10.2   0:00.04 python
> 13751 apache    16   0 20984 5732  740 D  0.7  9.5  15:24.84 python
> 13755 apache    16   0 20984 5732  740 S  0.0  9.5   0:00.51 python
>  9350 apache    18   0 31576 5668  768 D  5.3  9.4  47:36.67 python
>  9374 apache    16   0 31576 5668  768 S  0.0  9.4   0:00.60 python
> 18056 apache    16   0 22280 4908  748 D  1.7  8.2  19:45.06 python
> 18065 apache    16   0 22280 4908  748 S  0.0  8.2   0:00.22 python
>  5984 apache    16   0 70408 4612  892 D  0.3  7.7  31:53.33 python
>  5995 apache    16   0 70408 4612  892 S  0.0  7.7   0:00.74 python
>  5728 apache    17   0 60784 4528  760 R  0.3  7.5  77:26.76 python
>  5737 apache    16   0 60784 4528  760 S  0.0  7.5   0:00.49 python
>
>
> (bittornado is a python program)
> >
> >
> > --
> > Nick Rout <[EMAIL PROTECTED]>
>
> --
> Nick Rout <[EMAIL PROTECTED]>
>
>

Reply via email to