denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
Denise ([staff profile] denise) wrote in [site community profile] dw_maintenance2011-07-28 03:56 pm

site slowness: it's complicated!

The site slowness for the past day or so has been due to a bug somewhere in our code that's causing our webserver processes to run out of memory too quickly and lock up the machine.

[personal profile] alierak has been staying on top of things and tweaking the webserver settings to keep things running and to make sure that the settings we're using have the best chance of not running into the "run out of memory, lock up machine" problem. Unfortunately, this means that -- in order to minimize the chance that the site is down entirely -- we've had to seriously lower the number of webserver processes that are running at any time and lower the amount of time before they restart by themselves (and free up the locked-up memory). This means that there are fewer webserver processes available to accept your requests and serve you pages from the site.

Basically, at this point it's a case of "down because of the problem or slow because of the steps we're taking to fix the problem"!

Since it's obvious at this point that just webserver tweaks isn't going to cut it for now, we're doing two things to get the site back to its usual zippy self:

a) Trying to find the root cause of the bug that's making our webserver processes freak out. Memory leaks are really hard to find and debug, which is why it's taking so long. We have a few ideas on how to find what's causing it, and [personal profile] fu is concentrating on that end.

b) Seeing what we can do to get more resources into the webserver pool so that even though the webservers are running out of memory quickly and we have to resource-starve them in order to keep them from checking out entirely, we'll still be able to get pages to load quickly without the delay we're experiencing right now. There's an easy way and a hard way for this, too. (And hopefully, the easy way will help enough that we won't have to get to the hard way.)

(This sort of thing always happens when [staff profile] mark is literally unreachable -- he's on vacation for two weeks in remotest Alaska, with no cell phone reception -- but I wanted to specifically give a massive thank you to [personal profile] alierak, our backup sysadmin, who is doing wonders with the problem.)
sova_spliu: smart cat (Default)

[personal profile] sova_spliu 2011-07-28 09:18 pm (UTC)(link)
Dear Denise, I really appreciate your care about our comfort:)
I like DM and now have a rest from LJ.
It's better to have a small, but smart company,than big & stupid:)))
ruisseau: Underwater picture of person swimming with fish; very blue (Default)

[personal profile] ruisseau 2011-07-28 09:34 pm (UTC)(link)
Perhaps an economy size can of bug spray is in order.

http://www.bedbugmundo.com/wp-content/uploads/2010/09/bed-bug-spay.jpg
chris: A birthday cake in the shape of a slightly cartoon-like panda (panda!cake)

[personal profile] chris 2011-07-28 09:59 pm (UTC)(link)
I particularly appreciate the detailed description at a time when you are on minimal typing... even if you are dictating this to someone else who is typing it for you. (No need to reply to this!)
falena: illustration of a blue and grey moth against a white background (Default)

[personal profile] falena 2011-07-28 10:04 pm (UTC)(link)
Thanks for the update! Good luck team DW on fixing the problem!
badly_knitted: (Default)

[personal profile] badly_knitted 2011-07-28 11:02 pm (UTC)(link)
Thanks for the heads-up! Things have been a little slow at times, but slow is infinitely better than the alternative.

Good luck and I hope you guys don't have to work too hard to fix things, you do a brilliant job.
epershand: The eleventh doctor looks into space. (Eleven and the Universe)

[personal profile] epershand 2011-07-28 11:06 pm (UTC)(link)
Thanks for the update. Good luck finding a resolution, all!
fyreharper: (Default)

[personal profile] fyreharper 2011-07-28 11:17 pm (UTC)(link)
Three cheers for [personal profile] alierak!

(And the rest of you, too! <3)
siljamus: (Default)

[personal profile] siljamus 2011-07-28 11:31 pm (UTC)(link)
Thank you for both the update and the explanation. Go Team DW!
illariy: entrance into a swimming pool (zq: fabulous)

[personal profile] illariy 2011-07-28 11:35 pm (UTC)(link)
Aww, I was getting worried about the slow load times. Thank you for the timely updates and keeping us informed and many thanks to [personal profile] alierak and [personal profile] fu for their work!
sothcweden: birds flying high at sunset/dawn (Default)

[personal profile] sothcweden 2011-07-28 11:55 pm (UTC)(link)
Thanks for the explanation. Good luck with the fix-its. Better done right than fast, if you have to choose, imho.
cluegirl: (Default)

[personal profile] cluegirl 2011-07-29 12:02 am (UTC)(link)
If you've answered this already and I've missed it, please just say, or link, and I'll hush, but -- Has anybody else been struck with the complete failure of the crossposting feature to LJ? Is that directly to do with LJ's DDoS attack, or has there been some change of code that's interfering? I ask, because even when LJ's been up, my posts made here on DW have not been getting through, and if they've made a code change on their side that's jossed the whole thing, I can't help wondering if anybody here's on the problem.

[personal profile] ficwriter1966 2011-07-29 01:41 am (UTC)(link)
Thank you for the update! I'm new as of today, and am looking forward to exploring and using the site. :)
ovalencia: (Stock: Born Backwards)

[personal profile] ovalencia 2011-07-29 03:56 am (UTC)(link)
It wasn't geared towards me but thanks for this! My journal isn't new but I've been using it more and more very recently, so the info is helpful!
nightdog_barks: (Doctor Who Planets)

[personal profile] nightdog_barks 2011-07-29 03:24 am (UTC)(link)
Hm, response time just sped up for me! Is it A Sign? :-D
black_cigarette: (Default)

[personal profile] black_cigarette 2011-07-29 05:00 am (UTC)(link)
I hope so!

Although at the moment, it's possible it's a Sign that LJ is Back.

(no subject)

[personal profile] black_cigarette - 2011-07-29 05:04 (UTC) - Expand
keris: Keris with guitar (Default)

[personal profile] keris 2011-07-29 06:09 am (UTC)(link)
Memory leakages? Aiiie, we hates them, preciousss! And of course they only happen in the system when it's loaded and has lots of users. I'm glad that for this one I'm on the 'user' side of the system (not often I say that, I usually prefer to be knee-deep in code).

And of course it knows that the person who knows about it is away. Deepest Alaska does sound fun, though.

Best wishes finding and fixing them! And do try to get some sleep sometime (that goes for your admins and especially programmers as well).
keris: Keris with guitar (Default)

[personal profile] keris 2011-07-29 08:30 am (UTC)(link)
Yup, memory bugs can lurk there dormant for ages before waking up and biting you.

(I'm not awake yet, I read that as "hostile developer environment" *g*. Some developers are very hostile, especially before their third cup of coffee in the morning!)

I don't know what you use, Perl is mentioned and Apache. My main area is low level (C++/C and a bit of Perl holding things together, preference for the insides of OS and comms, not very good at UIs (my 'ideal' UI is a command line with several hundred options *g*), although I have (voluntarily even) done HTML+PerlCGI+MySQL stuff as well). Is there a description somewhere of what you need for DW in terms of languages, development, etc.?

(Yes, I'm being tempted...)

(no subject)

[personal profile] keris - 2011-07-29 09:19 (UTC) - Expand

(no subject)

[personal profile] pauamma - 2011-07-29 14:49 (UTC) - Expand

(no subject)

[personal profile] keris - 2011-07-29 15:44 (UTC) - Expand
esteven: (Default)

[personal profile] esteven 2011-07-29 06:35 am (UTC)(link)
Thank you for the timely updates. It is always good to know what is happening. :D Nothing is worse than not knowing...

Thanks to everyone working on the problem.
janice_lester: Spock's chest (Default)

[personal profile] janice_lester 2011-07-29 09:16 am (UTC)(link)
Just wanted to echo the general sentiments of thanks for letting us know what's up, and for all that you do. Also, the general absence of insane goats around here is very refreshing. (Sorry, Frank, you're not that funny. And the face you pull when you can't find someone's journal entry is frightening.) ;-)

Edited 2011-07-29 09:17 (UTC)

Page 2 of 2