Comments (7)
You have something terribly wrong if you need to raise this limit. Anyway, you can change it in /opt/etc/php-fpm.conf.
from boa.
It is not live site. I need it if I want to use Drupal to process large file. Or when I debug code with xdebug 60 seconds is not enough for me.
What settings I have to change in php-fpm.conf? There is nothing close to 60s now. I tried to change request_terminate_timeout
which was 180s, but it didn't help.
from boa.
request_terminate_timeout
is the only setting there causing php process killed, but there are also max_execution_time
and max_input_time
in the /opt/etc/php.ini
, both set to 180. Another reason can be a mysql timeout. Check our value in /etc/mysql/my.cnf
. By default there is connect_timeout
set to 60s and wait_timeout
to 300s.
from boa.
Nothing helped until I added following values into /etc/nginx/nginx.conf:
fastcgi_send_timeout 1800;
fastcgi_read_timeout 1800;
fastcgi_connect_timeout 1800;
(It is not live site, such high execution time is needed mainly for xdebug sessions, where I study what is happening.)
from boa.
Just for reference for any googlers, I had to import a large db using backup_migrate on one of our sites and couldn't accomplish it because of 504 timeout errors.
the settings I had to change to accomplish this were the ones described on the above comment, only now they are on /etc/nginx/conf.d/aegir.conf
from boa.
It is a better idea to import database on command line, because there is no Nginx involved then, and you could use either mysql directly or via drush, because php-cli has higher timeout limit - up to 15 minutes.
from boa.
that's good :)
from boa.
Related Issues (20)
- Drush 8 error on command line for Drupal 10 install. How to use different Drush versions per platform? HOT 9
- What is the proper way to add php extensions? HOT 2
- Best practice: Help needed to setup the right BOA structure (Barracuda with multiple Octopus servers), Dev, Test, and Production. HOT 3
- How to do legacy up-4.2? HOT 2
- Feature request: Add the following php-extensions HOT 1
- Where is the _HOURLY_DB_BACKUPS variable HOT 1
- Should I remove BOA installed modules like redis from my composer.json file? HOT 2
- Do changes in barracuda.cnf take effect on upgrade or is it instant? HOT 2
- Examples of extra services and apps that might need to be specified in .barracuda.cnf? HOT 1
- Which version of platforms specified in Platforms.txt are run? HOT 4
- How to enable ssl for octopus or master.fqdn barracuda/octopus install? HOT 17
- Adminer Percona manager gives an under construction page HOT 2
- Is it possible to rename master.fqdn to prime.fqdn? HOT 1
- Varbase install from BOA failed HOT 2
- Best practice: static vs. platforms HOT 3
- Fresh Install receiving geoip_country error
- Logrotate: Error running shared postrotate script HOT 1
- Cron / CPU related performance issue since 27th October HOT 2
- Upgrade from Beowulf to Chimaera fails HOT 2
- The Catastrophe or The Christmas Present HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boa.