You’re right, if it’s not traffic, it should be some process, but I have nothing running during the spikes and as far as DH could tell me, it has to do with apache.
Most of your memory usage is from apache though. Apache is configured for
things like: MinSpareServers 5, MaxSpareServers 30, StartServers
looking over your usage it seems apache keeping about 10 servers running
at a steady state. And each server is using 10Mb of memory. The spike in
memory might be due to lots of apache servers getting launched to deal
with requests. Moving back to shared is not a good idea, we should just
track down where the usage is coming from and adjust settings to deal
with it how you like. If it is bot or something we could block the bot.
Or if it is a comment spammer we could block them etc.
try running this command during a spike and let me see the output, we’ll
be looking for lots of extra apaches running:
ps aux | grep apache[/quote]
I actually didn’t have any spike since then. And DH thinks it might be bots or comment spammers.
I’m currently trying to understand this memory usage thing, trying to make sense of ps and top command. I really need to find a way to relate that to traffic at the very moment. Is it possible?
I have the feeling my traffic isn’t anywhere near how much memory apache is using. I haven’t added up yet, since my sites are located in different users, but isn’t much and not even anywhere near the guidelines described in http://www.dreamhostps.com/.
Something I’m curious about: Since my traffic is very related to time of day, why isn’t my memory usage the same?
Also, isn’t it normal for everybody to have traffic spikes during the day? Shouldn’t PS handle that better than shared ? I sites wouldn’t time out before as they do now during a spike.
Use promo code US97OFF to get maximum discounts!
Use o código de promoção US97OFF para descontos de até US97!