Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 17:02:14

Author Topic: Timeout setting PHP-FPM /FCGI/APACHE  (Read 3177 times)

0 Members and 1 Guest are viewing this topic.

Offline BigWeb.EU

  • Valuable Member
  • *
  • Posts: 114
  • Karma: +0/-0
    • View Profile
Timeout setting PHP-FPM /FCGI/APACHE
« on: 2016-07-05, 14:20:58 »
Hi Mustafa !

I very much hope you can hear my crying for timeouts :)

Earlier it was enough to change it in one place - and it wos working fine.
Now with 0703 version of 7 kloxo . .

Running with  php56m

There's 3 places to change timeouts:

For server, admin and client PHP advanced settings :
Max Execution Time

For individual domain :
In "Web features":
Timeout (seconds)

Im setting 3600 everywhere
PHP execution will STILL be dead after 300/120 seconds !

Because it has all these additional timeouts like
 -idle-timeout 300  (in conf file)
inf fcgid/ fcgid2.conf files
IPCCommTimeout 120
IdleTimeout 120


I mean for bigger sites , like magento - reindexing takes 3-5-10-20 minutes , so its VITAL user or at least admin could easity change timeout for site/client . And for now we have several values in Control panel, but actually they DO NOT affect anything , as maximum is set up in all other config files !

I know we can edit config files amually, but with each update - it goes back to old values ... so its a reall headacke :(

Its just a matter of using same timout values in other templates - apache/fcgid/php-fpm ...
SO if you could please make this possible ! :)

Thank you


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Timeout setting PHP-FPM /FCGI/APACHE
« Reply #1 on: 2016-07-08, 04:54:23 »
Timeout in 'web features' is timeout for fastcgi maintain connection to php where 'Max Execution Time' is time to permit for php to processing 'single' process.

Timeout in 'web features' is possible for domain-based but 'Max Execution Time' is client/user-based.

So, need setting for both.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Timeout setting PHP-FPM /FCGI/APACHE
« Reply #2 on: 2016-07-08, 17:44:59 »
Please add a settings for nginx microcache.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.038 seconds with 18 queries.

web stats analysis