Giter Site home page Giter Site logo

Comments (7)

omega8cc avatar omega8cc commented on July 17, 2024

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.

anantagati avatar anantagati commented on July 17, 2024

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.

omega8cc avatar omega8cc commented on July 17, 2024

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.

anantagati avatar anantagati commented on July 17, 2024

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.

drupin avatar drupin commented on July 17, 2024

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.

omega8cc avatar omega8cc commented on July 17, 2024

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.

tobapramudia avatar tobapramudia commented on July 17, 2024

that's good :)

from boa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.