Re: Lockup 2.1.6* during network activity

Mark Hemment (markhe@nextd.demon.co.uk)
Sun, 9 Nov 1997 00:36:54 +0000 (GMT)


> > fork: Out of memory
> Add paging space?

Nope, this is the "files_cachep" failing.
A "struct files_struct" contains a large array of pointers (NR_OPEN ptrs,
ie. a page). Combine this with the other members in files_struct, and you
have a high allocation order.

The solution is to move the array into a different cache. This is in my
patch (http://www.nextd.demon.co.uk/patch-colour-2.1.62.gz).
Note, the value of SLAB_BREAK_GFP_ORDER should still be changed to 1.
(I've got some tidying up to do in the SLAB, and changing this value is
one of them. I'll get a patch to Linus next week).

Regards,

markhe

------------------------------------------------------------------
Mark Hemment, Unix/C Software Engineer (Contractor)
markhe@nextd.demon.co.uk http://www.nextd.demon.co.uk/
"Success has many fathers, failure is a B**TARD!" - anon
------------------------------------------------------------------