[ILUG] Too many tasks!

Wesley Darlington wesley at yelsew.com
Fri Mar 24 13:35:24 GMT 2000


Hi,

On Thu, Mar 23, 2000 at 05:49:56PM -0000, Brian Cullen wrote:
> I am stress testing a Linux Box at the moment and am getting this one while
> attempting to run a top:
> 
> $<50>top: Help!  Too many tasks!
> 
> The system is running fine with a massive load on it, anyone know how to get
> around this?

I had problems with top when I increased the maximum number of processes
and a couple of other things on a debian box. I didn't get such nice
warnings, though; top just kept dumping core. 

I spent a bit of time with top's source trying to figure out its ideas
about memory allocation, but gave up in the end, IIRC. My notes tell me
that I changed something that looked like...

    static int save_history_size = sizeof (struct save_hist) * 204

to something like

    static int save_history_size = sizeof (struct save_hist) * 1024

but...

Wesley.




More information about the ILUG mailing list