Welcome! Log In Create A New Profile

Advanced

Help with 147 recv() failed (104: Connection reset by peer)

Posted by Dani0157 
Help with 147 recv() failed (104: Connection reset by peer)
December 20, 2014 09:05AM
Hello,

I am trying to setup a Linux VPS with WordPress and LEMP, but although the majority of the WordPress script works just fine, there is one error that I cannot fix. I was recommended to ask for help here on the official NGINX forum.

I've got these errors from NGINX

2014/12/19 14:29:14 [error] 901#0: *147 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 62.45.149.13, server: bloggingwithdani.com, request: "GET /wp-admin/themes.php?action=delete&stylesheet=boot_strap&_wpnonce=89c8625570 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "188.166.61.119", referrer: "http://188.166.61.119/wp-admin/themes.php?theme=boot_strap"

2014/12/20 14:49:28 [error] 2110#0: *33 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 62.45.149.13, server: bloggingwithdani.com, request: "GET$166.61.119/wp-admin/themes.php?theme=bizkit"

The errors happens every time I try to remove either a Theme or a Plugin and it only happens on the remove function. I can install Themes and Plugins without any problem. I've notice that even though the error occurs, the themes, in this case, successfully removed. On the browser window I get a 502: Bad Gateway whenever this happens.

WordPress is using SSH2 to connect to the server.

Here is a screen shot of the server block for this website.
http://www.evernote.com/shard/s264/sh/926cf423-08c9-4f4c-bf85-34fb5b959441/58e9d814e68855a4fe0ca39645183f56

When I dig a little deeper and enable slow debug I find this error.
2014/12/20 10:45:43 [debug] 3899#0: *23 malloc: 0000000002154910:1024
2014/12/20 10:45:43 [debug] 3899#0: *23 recv: fd:3 -1 of 1024
2014/12/20 10:45:43 [debug] 3899#0: *23 recv() not ready (11: Resource temporarily unavailable)
2014/12/20 10:45:43 [debug] 3899#0: *23 free: 0000000002154910
2014/12/20 10:46:16 [debug] 3899#0: *29 event timer del: 12: 1419068776823
2014/12/20 10:46:16 [debug] 3899#0: *29 http keepalive handler
2014/12/20 10:46:16 [debug] 3899#0: *29 close http connection: 12
2014/12/20 10:46:16 [debug] 3899#0: *29 reusable connection: 0
2014/12/20 10:46:16 [debug] 3899#0: *29 free: 0000000000000000
2014/12/20 10:46:16 [debug] 3899#0: *29 free: 0000000002183E20, unused: 0
2014/12/20 10:46:16 [debug] 3899#0: *29 free: 0000000002156140, unused: 112
2014/12/20 10:46:44 [debug] 3899#0: *23 event timer del: 3: 1419068803976
2014/12/20 10:46:44 [debug] 3899#0: *23 http keepalive handler
2014/12/20 10:46:44 [debug] 3899#0: *23 close http connection: 3
2014/12/20 10:46:44 [debug] 3899#0: *23 reusable connection: 0
2014/12/20 10:46:44 [debug] 3899#0: *23 free: 0000000000000000
2014/12/20 10:46:44 [debug] 3899#0: *23 free: 0000000000000000
2014/12/20 10:46:44 [debug] 3899#0: *23 free: 0000000002146EF0, unused: 0
2014/12/20 10:46:44 [debug] 3899#0: *23 free: 0000000002183B70, unused: 0
2014/12/20 10:46:44 [debug] 3899#0: *23 free: 0000000002183C80, unused: 64
2014/12/20 10:46:44 [debug] 3899#0: *23 free: 0000000002155D30, unused: 64
2014/12/20 10:46:44 [debug] 3899#0: *23 free: 0000000002155E40, unused: 64

especially this one
2014/12/20 10:45:43 [debug] 3899#0: *23 recv() not ready (11: Resource temporarily unavailable)

I am really new to hosting my websites with a VPS and relatively new to Ubuntu. Always used shared hosting plans until now. What could be the reason for this problem?

- Dani
Re: Help with 147 recv() failed (104: Connection reset by peer)
December 31, 2014 04:20PM
Hi Dani, I'm having exactly the same problem,
My VPS is from Linode, I guess you also,
I think it started to happen when I updated to version 4.1, but I'm not sure.

Regards
Juan Pablo
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 97
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready