<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="https://uname.pingveno.net/blog/index.php/feed/rss2/xslt" ?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title># uname -a - Mot-clé - apache-workers</title>
    <link>https://uname.pingveno.net/blog/index.php/</link>
    <atom:link href="https://uname.pingveno.net/blog/index.php/feed/tag/apache-workers/rss2" rel="self" type="application/rss+xml" />
    <description>Le blog de uname.pingveno.net</description>
    <language>fr</language>
    <pubDate>Wed, 01 Apr 2026 16:19:15 +0200</pubDate>
    <copyright>Mathieu Pellegrin</copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <generator>Dotclear</generator>
          <item>
        <title>Conflict between broken Apache packages makes FCGI angry (mod_fcgid: can't lock process table)</title>
        <link>https://uname.pingveno.net/blog/index.php/post/2014/02/08/Conflict-between-broken-Apache-packages-makes-FCGI-angry-%28mod_fcgid%3A-can-t-lock-process-table%29</link>
        <guid isPermaLink="false">urn:md5:d9a590ab25d996c14c0fb0f8f7c883e9</guid>
        <pubDate>Sat, 08 Feb 2014 17:37:00 +0100</pubDate>
        <dc:creator>Mathieu</dc:creator>
                  <category>Hacks</category>
                          <category>apache</category>
                  <category>apache-itk</category>
                  <category>apache-workers</category>
                  <category>debian</category>
                  <category>fastcgi</category>
                  <category>puppet</category>
                  <category>suexec</category>
                  <category>wheezy</category>
                <description>          &lt;p&gt;Here is is a quick note on the fix I made today for a messed up Apache server.&lt;/p&gt;
&lt;h3&gt;The environment&lt;/h3&gt;
&lt;p&gt;Apache2 + Debian + mod_suexec + mod_fcgi&lt;/p&gt;
&lt;h3&gt;The problem&lt;/h3&gt;
&lt;p&gt;The server was down only for PHP-running websites. It triggered a connexion reset when trying to run PHP scripts. Static content and reverse proxies were working correctly, as if nothing was happening.&lt;/p&gt;
&lt;p&gt;In the server logs, the following error was present&amp;#160;:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;code&gt;mod_fcgid: can't lock process table &lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The suexec log was showing no anomaly.&lt;/p&gt;
&lt;p&gt;The server wasn&amp;#8217;t gracefully stopping anymore, and I had to kill him with the &lt;code&gt;-9&lt;/code&gt; signal to stop it.&lt;/p&gt;
&lt;h3&gt;The cause&lt;/h3&gt;
&lt;p&gt;Searching around the web was giving me very few clues on the problem. I couldn&amp;#8217;t find why the CGI subprocess was broken, it is spawned by Apache and so it should not be missing permissions (there is no CGI daemon listening in Apache setup, &lt;a href=&quot;https://uname.pingveno.net/blog/index.php/post/2013/08/25/Configure-Munin-graphs-with-Nginx-and-Debian-7&quot;&gt;contrary to Nginx&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;What causes the Apache subprocesses to get spawned&amp;#160;? Either the Apache &lt;code&gt;mpm-workers&lt;/code&gt;, or &lt;code&gt;mpm-prefork&lt;/code&gt;, or &lt;code&gt;mpm-event&lt;/code&gt; or &lt;code&gt;mpm-itk&lt;/code&gt;. I knew I was using &lt;code&gt;workers&lt;/code&gt;, but a glance in APT installed packages showed me broken packages on &lt;code&gt;workers&lt;/code&gt; and &lt;code&gt;ITK&lt;/code&gt;. Wait&amp;#8230; &lt;code&gt;ITK&lt;/code&gt;&amp;#160;?&lt;/p&gt;
&lt;p&gt;Actually, I run Puppet, and Puppet was configured to keep Apache ot its latest version from repositories. With the release of a newer version of Apache, it had updated the &lt;code&gt;apache2&lt;/code&gt; package &amp;#8230; and installed &lt;code&gt;apache2-mpm-itk&lt;/code&gt; while &lt;code&gt;apache2-mpm-workers&lt;/code&gt; was still present&amp;#160;!&lt;/p&gt;
&lt;p&gt;The result was a conflict while trying to spawn CGI processes, and a crash of the subprocess.&lt;/p&gt;
&lt;h3&gt;The fix&lt;/h3&gt;
&lt;p&gt;Doing a &lt;code&gt;remove apache2-mpm-itk&lt;/code&gt;, and &lt;code&gt;force-reinstall apache2-mpm-workers&lt;/code&gt; did the job.&lt;/p&gt;</description>
        
              </item>
      </channel>
</rss>
