Apologies for the lack of detail this is my first post to this list we have set the MaxClients to 120 Clients and also set the MaxRequestsPerChild to 100 to try to resolve this problem however it still occurs under these conditions. The largest process is about 40M (4MB shared), the scripts are all reading/writing data to an oracle database, at the point that it starts swapping to disk Apache has reached it max processes, but it seems to consume a large amount of swap very quickly.
Thanks Mike -----Original Message----- From: Ged Haywood [mailto:[EMAIL PROTECTED] Sent: 13 October 2003 13:57 To: Mike Norton Cc: [EMAIL PROTECTED] Subject: Re: Swapping Hi there, On Mon, 13 Oct 2003, Mike Norton wrote: > [snip] under a heavy load it all of a sudden consumes a large amount > of swap and the server load shoots through the roof [snip] Does > anyone have any ideas on how to resolve this issue or why it happens No idea why it happens, you haven't given anything like enough information, but it might be that your server is spawning many processes because the processes that are in use are all busy. This sort of thing has been discussed a lot on this List, but not much recently as I recall. There are Apache configuration variables and tools for limiting the number of processes (particularly mod_perl processes) which you might want to investigate. The performance tuning section in the Guide may have some ideas for you. There's a possibility that Apache children are using up memory they shouldn't. If that's a suspicion then have a look at the setting of MaxRequestsPerChild. If it's 0 then I'd suggest setting it to something in the hundreds to see if that helps. If we are to be able to give more specific help you need to do some investigation and let us have more information about your server, its configuration, what it's doing, the processes that you see, etc. 73, Ged.