HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   php-fpm configuration on nginx (

ijujym 31st August 2012 16:24

php-fpm configuration on nginx
Hi all,
Im tuning up the Centos vps with ispconfig and nginx for Drupal 7 site. Ispconfig is realy greate panel and all works fine. But there is one problem with configurations I cant fix myself, the site has an XML import plugin and it suppose to handle large 5-10mb documents. Currently there is such error on import:


[error] 11085#0: *389 upstream timed out (110: Connection timed out) while reading response header from upstream, client ... upstream: "fastcgi://"
After searching for solutions for this error I have already increased the max_execution_time but cant find how to increase max_client to check if it is the reason. Please help, what can be the reason this error?

falko 1st September 2012 09:53

You might have to set something like


fastcgi_read_timeout 240;
To do this, copy your location ~ \.php$ {} section, place it inside the location / {} section and add the above line to the new location ~ \.php$ {} section.

abdi 12th December 2012 13:52

Hi Falko,

Is it possible to set that variable through API. Ie setting


fastcgi_read_timeout 240;
ALL through API

falko 14th December 2012 19:14

You can use the nginx Directives field for this.

All times are GMT +2. The time now is 05:46.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.