35 reputation
13
bio website
location Lima, Peru
age 26
visits member for 4 years
seen 2 days ago

Aug
8
awarded  Notable Question
Jun
6
awarded  Popular Question
Aug
30
accepted Wordpress (nginx cache + Apache + fcgid) pegging all 8 CPUs
Aug
5
comment Wordpress (nginx cache + Apache + fcgid) pegging all 8 CPUs
@womble Thanks for all the help!
Aug
5
comment Wordpress (nginx cache + Apache + fcgid) pegging all 8 CPUs
@womble Agreed - the malformed sql queries are evidence of that. Is there something like xdebug that would let me pinpoint the most cpu-intensive function calls? That's kind of what I was aiming for when doing strace.
Aug
5
comment Wordpress (nginx cache + Apache + fcgid) pegging all 8 CPUs
@womble I'm confused. If I run service httpd stop, all php-cgi processes die and the site stops working - unsurprinsingly. I configured a wrapper script in /usr/local/bin/ that sets the env var PHP_FCGI_MAX_REQUESTS and then exec /usr/bin/php-cgi. You say that I could do the same without Apache, are you referring to nginx's fastcgi_pass?
Aug
4
comment Wordpress (nginx cache + Apache + fcgid) pegging all 8 CPUs
I'll give W3 Total Cache a look, although this site has been modified so badly that that might not work :( Also, I configure fcgid in the httpd.conf file, isn't Apache the container in which the PHP interpreter runs?
Aug
4
asked Wordpress (nginx cache + Apache + fcgid) pegging all 8 CPUs
Mar
25
awarded  Scholar
Mar
25
accepted nginx rewrite base url
Mar
24
awarded  Student
Mar
24
asked nginx rewrite base url
Oct
3
asked How do bridges really work?