London's server is apparently being brought to its knees by the OpenGuides code. I'm taking it offline until we can come up with a solution.
Unfortunately due to an illness in the family and various commitments I am not able to spend any time on the matter. I will however implement any suggestions/patches I'm sent as soon as possible.
Thanks,
Earle
----- Forwarded message from Paul Makepeace paul@makepeace.net -----
Date: Fri, 3 Mar 2006 08:42:02 +0000 From: Paul Makepeace paul@makepeace.net To: Ivor Williams ivor.williams@lchclearnet.com Cc: openguides@downlode.org, kake@earth.li Subject: OGL load - ACTION NEEDED
Folks,
I need the OGL devs to implement a bypass for index.cgi and supersearch.cgi and whatever else that will display a "max load exceeded; please try later" page when the load gets above a certain point. I suggest a threshold of 3.0.
Here's the context,
6345 www-data 20 0 8800 8796 1620 R 9.5 0.9 0:00.42 index.cgi 6329 www-data 19 0 16592 16m 2520 R 9.2 1.6 0:00.95 index.cgi 6344 www-data 19 0 9188 9184 1668 R 9.2 0.9 0:00.41 index.cgi 6330 www-data 18 0 16372 15m 2520 R 8.9 1.6 0:00.82 index.cgi 6334 www-data 16 0 16436 16m 2512 R 8.2 1.6 0:00.74 index.cgi 6341 www-data 18 0 10532 10m 2244 R 8.2 1.0 0:00.46 index.cgi 6336 www-data 15 0 14032 13m 2488 R 7.4 1.4 0:00.61 index.cgi 6338 www-data 17 0 12416 12m 2388 R 7.4 1.2 0:00.57 index.cgi 6342 www-data 15 0 10548 10m 2264 S 7.4 1.0 0:00.43 index.cgi 6348 www-data 19 0 5484 5480 1428 R 6.1 0.5 0:00.23 index.cgi 6351 www-data 20 0 4612 4608 1420 R 4.7 0.4 0:00.18 index.cgi 6180 root 18 0 1176 1176 844 R 3.2 0.1 0:01.79 top 3393 root 9 0 35864 30m 8288 S 2.4 3.0 0:44.35 spamd 6353 www-data 18 0 3104 3100 1368 R 2.4 0.3 0:00.09 index.cgi
Everyone now and then Pg gets wedged and the load flies up. When this happens OGL needs to back off.
I would really appreciate this happening ASAP. By ASAP I really do mean the literal "as soon as possible". Please keep me updated!
(Sys::Load has a trivial interface, btw.)
Thanks, Paul
On Sat, Mar 04, 2006 at 01:46:15AM +0000, Earle Martin wrote:
London's server is apparently being brought to its knees by the OpenGuides code. I'm taking it offline until we can come up with a solution.
Unfortunately due to an illness in the family and various commitments I am not able to spend any time on the matter. I will however implement any suggestions/patches I'm sent as soon as possible.
Per Paul's suggestion, would something as simple as:
http://crschmidt.net/openguides/load.patch
Work?
Tested it at the command line, and it seems to do what it says on the tin.
openguides-dev@lists.openguides.org