Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - AltairMed

Pages: [1]
1
PHP / 503 Service Unavailable
« on: June 24, 2021, 06:04:55 PM »
Hello,

I hope you're doing well,

I've installed PHP FPM 7.4, And I've set this configurations for each user :

pm = dynamic
pm.max_children = 150
pm.start_servers = 20
pm.min_spare_servers = 10
pm.max_spare_servers = 20
pm.max_requests = 0
request_terminate_timeout = 0

For Apache :

Timeout 86400
ProxyTimeout 86400

And :

<IfModule proxy_fcgi_module>
    ProxyTimeout 86400

   <FilesMatch \.php$>
      SetHandler "proxy:unix:/opt/alt/php-fpm74/usr/var/sockets/user.sock|fcgi://localhost"
   </FilesMatch>
</IfModule>

But the script exicuted for 120-240 seconds and I got that message : Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

I've worked already with same configs but I don't know what happened :(

Please help me to solve this problem,

Thank you,

Pages: [1]