MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: Spacedust on 2013-03-06, 20:02:27

Title: add timeout on fastcgi/fcgid make 'internal server error' ?
Post by: Spacedust on 2013-03-06, 20:02:27
https://github.com/mustafaramadhan/klox ... 7b30f9d002 (https://github.com/mustafaramadhan/kloxo/commit/d4de220d77481f679016a693066f2f7b30f9d002)

Why it's removed right now ?

Without this all scripts will be killed after 30 seconds !

I've set mine to 90 seconds and it's ok.
Title: Re: add timeout on fastcgi/fcgid make 'internal server error
Post by: MRatWork on 2013-03-06, 21:07:16
In my servers (mostly wordpress multisite) often 'internal server error'. Remove it's back to normal.

For your system, better create custom.domains.conf.tpl and custom.defaults.conf.tpl with content like before remove timeout.
Title: Re: add timeout on fastcgi/fcgid make 'internal server error
Post by: Spacedust on 2013-03-07, 03:10:07
Quote from: "MRatWork"
In my servers (mostly wordpress multisite) often 'internal server error'. Remove it's back to normal.

For your system, better create custom.domains.conf.tpl and custom.defaults.conf.tpl with content like before remove timeout.

Yes, I use them this way.

This allows some scripts to work longer than 30 seconds - then if they work longer than 90 seconds they will be stopped by php-fpm pool.

So we've got all scripts working without overloading the server.