Paintings from Sunset Series by Spence Munsinger, Color Field + Blank White Canvas + Realism + Contemporary Abstract Art, original paintings for sale

“Every child is an artist. The problem is how to remain an artist once he grows up.”
― Pablo Picasso

Wordfence… Taking Down Nginx And Php5-fpm Every 6 Hours

I set up a new server at Digital Ocean several weeks ago. As part of that I switched to nginx and php5-fpm and tweaked the performance. I’m still looking for the sweet spot in stability and performance in this setup, but overall it’s been very fast.

I set up two monitoring services four days ago to watch stability and load times and to make certain the site stayed up. One of those services showed a constant uptime except for known downtimes. The other service… It showed down times after a couple of days at what looked to be regular intervals.

graph

I managed to log in at the beginning of one of these slow-or-no-load times and found:

2015/07/19 18:25:08 [error] 3069#0: *124530 upstream timed out (110: 
Connection timed out) while reading response header from upstream, client: 104.236.69.147, server: 
spencemunsinger.com, request: 
"GET /wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=1&cronKey=2e8 HTTP/1.0", 
upstream: "fastcgi://unix:/var/run/php5-fpm.sock", 
host: "spencemunsinger.com"

Over and over and over, wordfence has been regularly overloading the php5-fpm sockets. I disabled the plugin (there are many other ways to accomplish the same thing without this plugin), and the graph is now level and clean, without the periodic spikes in load times. And no messages in the logs.

—spence

Speak Your Mind

*