Rajesh Dhawan wrote: >> 3. I'm using prefork MPM on apache with maxclients set to 1000. >> > > Apart from Joe's excellent profiling suggestion, I would recommend > reducing maxclients to a much lower value (like say 100) and then > increasing it gradually. > > From your description of the sluggish response of your web server, it > looks like the machine may be swapping to disk. Each of your clients > fires up a Python VM taking up several tens of MB of RAM. Even if each > VM takes up just 20MB (it's probably more than that), a thousand > clients will eat up 20GB, forcing your machine to swap. > > -Rajesh > >
The machine is definitely not swapping. It has 16 gig of ram, and top never shows more than 7 gig of ram in use when I do the load testing. I have maxclients set to 1000, but the number of apache processes never gets close to that value. I've played around with various settings for maxclient, but as long as I don't set it too low, this never comes into play. Richard Coleman [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---