title: High CPU mod_fcgid: can't apply process slot
body: <p>I get the following warning:</p>
  
  <blockquote>
    <p>mod_fcgid: can't apply process slot for
    /var/www/cgi-bin/cgi_wrapper/cgi_wrapper</p>
  </blockquote>
  
  <p>As soon as this warning appears server CPU raises to 97% - 101%</p>
  
  <p>The server gets around 140K pageviews daily. This warning appears mostly around 11:00-12:00
  Besides the 140K pageviews calculated by Analytics it also makes requests from third party websites that are displaying a text-ad on their website. Around 2700 websites are displaying one advertisement and are making a total of 22139 requests per hour together to the server.</p>
  
  <p>I tried: <code>chmod 755 /var/log/httpd</code> but there isn't a folder "httpd" in /var/log</p>
  
  <p>I tried to adjust MaxSpareServers and MaxClients to whatever possible high values. But doesn't effect at all. After Apache has restarted it seems to be fine for a while (server is still responding little bit slow and warnings are no longer appearing in the log file). But after a while the same warning appears and CPU raises again.</p>
  
  <p>If someone has suggestions please let me know, thanks all.</p>