On 11/02/2013 19:43, Michael Mol wrote: > Now that's a new (and important!) piece of information. Your server > runs slow for 10 *minutes* after your script has made its request? > > To me, that indicates that important data wound up getting swapped to > disk on the server, and the slow behavior reported by other users is > the result of that data being swapped back in on-demand. > > That also indicates that your script's requests (and, possibly, > request pattern) cause some process in the server to allocate far more > memory than usual, which is why the server is swapping things to disk.
I agree. My rule of thumb was always that I must prevent Apache swapping at all costs as the performance impact is horrific. It doesn't have to mean installing more RAM (which is quick, easy, cheap and often rather effective), sensible optimizations can work wonders too, as can nginx as a proxy in front of Apache. -- Alan McKinnon [email protected]

