alierak: (Default)
alierak ([personal profile] alierak) wrote in [site community profile] dw_maintenance2011-07-30 03:00 pm

Load issues / site search

As [staff profile] denise mentioned yesterday, we've had various ideas about what to do about the site slowdowns. At this point I think it boils down to needing to buy more servers to keep up with all of you, but I am going to try one more thing before we do that -- temporarily disabling site search (or maybe just search indexing, so you might get old search results) so we can use the search server to handle more ordinary webpage requests. If that works, I'll be certain that more webservers are needed.

I believe I've got the memory shortage under control; by removing some unnecessary software from the servers, and forcing the webservers to restart processes more often, we've been able to handle about 50% more simultaneous requests. Meanwhile [personal profile] fu is continuing to look for the cause of the memory leaks, so that we can (1) improve code quality, because no one likes memory leaks, and (2) allow webserver processes to run longer so they are more efficient.

That said, there's another problem that showed up after tuning the webservers: our loadbalancer freaks out whenever all the webservers are busy and it has to queue up requests, and the overall throughput goes down. I see that as possibly being a bug in Perlbal; [staff profile] mark and I will look into it as soon as we can. I am guessing that if we had more webservers, we'd be less likely to run into this problem.

Thanks for your patience, and for all the kind words on [staff profile] denise's post.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2011-07-31 06:26 pm (UTC)(link)
Thanks. I'm not sure how much impact changing this would have given our traffic mix (eg, would it cut CPU usage by 0.1%? 1%? 10%?) but it's worth knowing.

For the sake of screen reader users, here's the same data as a text-only table:

GET 940499200 OKdreamwidth.org8.5 KB922 ms
GET 762810200 OKdreamwidth.org8.9 KB1 s
GET 930982200 OKdreamwidth.org2.8 KB703 ms
GET 895908200 OKdreamwidth.org8.1 KB922 ms
GET 713159200 OKdreamwidth.org5.5 KB703 ms
GET 955938200 OKdreamwidth.org8.4 KB922 ms
GET 731230200 OKdreamwidth.org13.2 KB1.64 s
GET 980322200 OKdreamwidth.org6.5 KB1.09 s
GET 650479200 OKdreamwidth.org13.8 KB1.08 s
GET 968845304 Not Modifieddreamwidth.org6.7 KB1.28 s
GET 940216200 OKdreamwidth.org9.1 KB1.28 s
GET 981828304 Not Modifieddreamwidth.org6.7 KB1.31 s
GET 782159200 OKdreamwidth.org1.1 KB1.03 s
GET 724566200 OKdreamwidth.org20.8 KB1.47 s
GET 981814200 OKdreamwidth.org9.6 KB1.16 s
Edited (Now with 100% less broken HTML!) 2011-07-31 18:28 (UTC)
romikchef: (Default)

[personal profile] romikchef 2011-07-31 07:30 pm (UTC)(link)
Well, I am not very good with CPU numbers.
But I'll do some research and hope I'll have some numbers tomorrow.