WordPress error "104: Connection reset by peer"


New Member
I am really new to hosting my websites with a VPS and relatively new to Ubuntu. Always used shared hosting plans until now. I am trying to install WordPress on my VPS running Ubuntu with LEMP and I am successful for the most part. However I get this error message. 

2014/12/19 14:29:14 [error] 901#0: *147 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: XX.XX.XXX.XX, server:, 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: "XXX.XXX.XX.119", referrer: "http://XXX.1XX.XX.1X9/wp-admin/themes.php?theme=boot_strap"

The error 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.

WordPress is using SSH2 to connect to the server.

Here is a screen shot of the server block for this website.

What could be the reason for this problem?

I've checked the PHP5 log at (/var/log/php5-fpm.log) however there is nothing relating to this error.