Simple Nginx WP server was running fine, now barely any php loads. Possible FPM issues?

February 4, 2016 568 views

I am getting a bit frustrated. My site recently out of the blue just stopped trying to load. Every php request just spins. The nginx error log was noting the sock error that is often mentioned. I changed that to Now I am seeing

 failed (104: Connection reset by peer) while reading response header from upstream,

Even on a simple phpinfo() page, to the point the site fails to load.

I followed the Digital ocean tutorial on setting up a Nginx + Wordpress server and everything was running fine until the last 2 weeks or so. I don't imagine anything auto-updated on the website....and it is not wordpress related since I run into this issue hitting an separate php file I created (phpinfo).

I'm at a loss of what to do right now.

1 comment
  • When it fails the common error is

    An error occurred.

    Sorry, the page you are looking for is currently unavailable.
    Please try again later.

    If you are the system administrator of this resource then you should check the error log for details.

    Faithfully yours, nginx.

1 Answer

Ok, apparently the xmlpc.php file was being 'attacked' and using up a ton of my memory. I blocked it, problem solved.

Have another answer? Share your knowledge.