Tune my NGINX - PHP FPM Configuration
- or -
Post a project like this3556
$100
- Posted:
- Proposals: 2
- Remote
- #492785
- Completed
Description
Experience Level: Intermediate
General information for the business: We run a social network
Description of requirements/functionality: I currently run a Linux Ubuntu server based on NGINX, PHP-FPM and Varnish. The server powers a Joomla 2.5 site running a social network software.
I am getting frequent timeouts and errors in the NGINX and PHP-FPM log such as:
NGINX:
[error] 3430#0: *53329 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 105.226.53.114, server: xxxxxxxxx.net, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000"
PHP-FPM
[20-Apr-2014 10:11:45] WARNING: [pool www] server reached pm.max_children setting (10), consider raising it
ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
ERROR: FPM initialization failed
I need someone who really knows what they are doing to tune the NGINX - PHP FPM configuration to eliminate these errors and stop the server freezing with timeout errors.
It seems to me that the PHP is crashing due to bad settings as the server has plenty of resources available.
The users on the site are constantly served time out errors. This has only started happening very recently. I wonder if it also maybe due to a conflict with Apache which is not used but maybe still running?
I am not sure! I think this will take a couple of hours to sort out.
OS requirements: Linux
Extra notes:
Description of requirements/functionality: I currently run a Linux Ubuntu server based on NGINX, PHP-FPM and Varnish. The server powers a Joomla 2.5 site running a social network software.
I am getting frequent timeouts and errors in the NGINX and PHP-FPM log such as:
NGINX:
[error] 3430#0: *53329 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 105.226.53.114, server: xxxxxxxxx.net, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000"
PHP-FPM
[20-Apr-2014 10:11:45] WARNING: [pool www] server reached pm.max_children setting (10), consider raising it
ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
ERROR: FPM initialization failed
I need someone who really knows what they are doing to tune the NGINX - PHP FPM configuration to eliminate these errors and stop the server freezing with timeout errors.
It seems to me that the PHP is crashing due to bad settings as the server has plenty of resources available.
The users on the site are constantly served time out errors. This has only started happening very recently. I wonder if it also maybe due to a conflict with Apache which is not used but maybe still running?
I am not sure! I think this will take a couple of hours to sort out.
OS requirements: Linux
Extra notes:
Matthew P.
100% (7)Projects Completed
12
Freelancers worked with
10
Projects awarded
50%
Last project
11 Jan 2016
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies