[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: update re: fork() failures in 2.1.101



[Paul get's "cannot fork" errors after 60 or more hours of
 uptime. This suggests fragmentation problems.]

On Thu, 11 Jun 1998, Paul Kimoto wrote:

> > Hmm, the 'cannot fork' issue only starting after some
> > days of uptime... This suggests fragmentation. Is your
> > box very heavily loaded, or just lightly (VM-wise)?
> 
> Light, I think; I have 48MB of RAM and usually end up with 8--16MB in swap.
> In normal operation I don't have to wait much for paging except for larger
> programs (netscape, xemacs, or big compilations).

Ahh, I think I see it now. The fragmentation on your system
persists because of the swap cache. The swap cache 'caches'
swap pages and kinda makes sure they are reloaded to the
same physical address.

Stephen, Ben: should we disable the swap cache when 
fragmentation is high?

Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide.        H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader.      http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+