8.5.4: Gateway timeout during package installation on LAMP
Permalink
I've installed a php-fpm, changed apache-prefork to apache-worker and setup the server with the multi-threaded modules following various howtos on the internet. My setup is:
- Apache 2.2.4 + apache-worker + fcgi, proxy, ssl, rewrite etc. modules
- PHP 7.2 + php-fpm, php-opcache, php-APCu etc.
- openSUSE Linux Leap 15.1
- MySql as MariaDB
- concrete5-8.5.4
The default site works fine.
Then I tried to install one of my packages which used to install without problems on the previous server setup - I consistently get a gateway timeout at the end of the package installation. The package contents seem to be installed. I tried playing around with apache and php variables settings - improvements are either none or random. I obviously have some wrong settings in php and/or apache.
I've completely deleted all apache and php stuff, installed the old prefork and mod_php - everything works perfectly, no time outs, all packages install fine.
This should definitely point to incorrect server settings or concrete5 operation on such server.
Anyone have thoughts what that could be? What settings should I check and change?
Another thing is that the package in under the PRB review and they also get the server timeouts. Could this be related to server/php variables, php version, apache/php multithreading setup, SSL etc.? I don't have a professional knowledge of server setup. I'm very puzzled at the situation that the package installs fine on the old preform but fails on the newer worker.
I've repeated uninstalling and changing apache/php types twice - I can confirm I get timeouts with the MPM and all is fine with the old setup.
- Apache 2.2.4 + apache-worker + fcgi, proxy, ssl, rewrite etc. modules
- PHP 7.2 + php-fpm, php-opcache, php-APCu etc.
- openSUSE Linux Leap 15.1
- MySql as MariaDB
- concrete5-8.5.4
The default site works fine.
Then I tried to install one of my packages which used to install without problems on the previous server setup - I consistently get a gateway timeout at the end of the package installation. The package contents seem to be installed. I tried playing around with apache and php variables settings - improvements are either none or random. I obviously have some wrong settings in php and/or apache.
I've completely deleted all apache and php stuff, installed the old prefork and mod_php - everything works perfectly, no time outs, all packages install fine.
This should definitely point to incorrect server settings or concrete5 operation on such server.
Anyone have thoughts what that could be? What settings should I check and change?
Another thing is that the package in under the PRB review and they also get the server timeouts. Could this be related to server/php variables, php version, apache/php multithreading setup, SSL etc.? I don't have a professional knowledge of server setup. I'm very puzzled at the situation that the package installs fine on the old preform but fails on the newer worker.
I've repeated uninstalling and changing apache/php types twice - I can confirm I get timeouts with the MPM and all is fine with the old setup.