https://bugzilla.wikimedia.org/show_bug.cgi?id=64095

metatron <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from metatron <[email protected]> ---
I've seen this problem before. lighttpd webservice stops, but old php-cgi
processes remain. $webservice start then starts /one/ lighhtpd process, but
can't start new php-cgi's. So plain html or py is served just fine, while php
requests are "stuck".

This is the output from webgrid for commonshelper:

tools-webgrid-01: (13:51:40)
  608 tools.co  20   0 48668 2116 1312 S    0  0.0   0:00.03 lighttpd
11144 tools.co  20   0  281m  11m 7748 S    0  0.1   0:00.03 php-cgi
11146 tools.co  20   0  288m  11m 4764 S    0  0.1   2:04.32 php-cgi
11147 tools.co  20   0  288m  11m 4680 S    0  0.1   0:36.61 php-cgi
11148 tools.co  20   0  288m  11m 4760 S    0  0.1   1:29.41 php-cgi
11149 tools.co  20   0  288m  11m 4756 S    0  0.1   2:42.74 php-cgi 

tools-webgrid-02: (13:51:40)
19567 tools.co  20   0  281m  11m 7764 S    0  0.1   0:00.01 php-cgi
19575 tools.co  20   0  283m 9844 4320 S    0  0.1   0:35.07 php-cgi
19576 tools.co  20   0  283m 9836 4312 S    0  0.1   0:01.24 php-cgi
19577 tools.co  20   0  283m 9912 4272 S    0  0.1   0:34.99 php-cgi
19578 tools.co  20   0  283m 9796 4272 S    0  0.1   0:35.88 php-cgi


I figured out this workaround. Make this a script & execute:

#!/bin/bash
webservice stop
sleep 5
ssh tools-webgrid-01 'pkill -9 -U tools.commonshelper php-cgi'
ssh tools-webgrid-02 'pkill -9 -U tools.commonshelper php-cgi'
sleep 5
webservice start

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to