converting from apache 2 with mod_fcgid to Nginx on Ubuntu VPS
I am currently running my site on a Ubuntu 12.04 LTS with apache 2, memcache, APC and varnish. I am still using alot of resources with little or no activity on my site. I am thinking about migrating to Nginx. Anyone out there have any experience moving from apache 2 to nginx?
Read morewrong mod_fcgid configuration?
Hey!
i just switched to mod_fcgid and the response time of sites is good until i benchmark them :)
Under multiple concurrent requests (ab -c 50 -n10000) i get notices like this:
[Thu May 05 12:16:37 2011] [notice] mod_fcgid: /var/spool/www/user/aegir/drupal-7/index.php total process count 15 >= 15, skip the spawn request
and the server performs really really bad.
My mod_fcgid config:
AddHandler fcgid-script .fcgi .php
# Where to look for the php.ini file?
DefaultInitEnv PHPRC "/etc/php5/cgi"