Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: raizho on June 06, 2020, 03:07:35 AM

Title: (70007)The timeout specified has expired
Post by: raizho on June 06, 2020, 03:07:35 AM
Code: [Select]
[Sat Jun 06 10:00:02.476928 2020] [proxy_fcgi:error] [pid 15635:tid 140597499262720] (70007)The timeout specified has expired: [client 111.202.101.113:39149] AH01075: Error dispatching request to : (polling)
Need help  :-[

I have a problem on the CWP server. all websites cannot be accessed. I use the "apache only php 7.0 force FPM" configuration. I have tried increasing the Timeout and ProxyTimeout in httpd.conf. But it didn't work.

Regards
Purwanto
Indowebsite.id
Title: Re: (70007)The timeout specified has expired
Post by: rcschaff on June 06, 2020, 04:14:31 AM
check systemctl status php-fpm70

if it's not running
systemctl start php-fpm70
systemctl enable php-fpm70

otherwise post the status.
Title: Re: (70007)The timeout specified has expired
Post by: raizho on June 06, 2020, 04:21:25 AM
php fpm service is running normally.

Code: [Select]
● php-fpm70.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/php-fpm70.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2020-06-05 15:52:53 WIB; 19h ago
  Process: 29537 ExecReload=/bin/kill -USR2 $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 28268 (php-fpm)
   CGroup: /system.slice/php-fpm70.service
           └─28268 php-fpm: master process (/opt/alt/php-fpm70/usr/etc/php-fpm.conf)

Jun 05 22:49:45 host.celup.com systemd[1]: Reloaded The PHP FastCGI Process Manager.
Jun 06 07:00:39 host.celup.com systemd[1]: Reloading The PHP FastCGI Process Manager.
Jun 06 07:00:39 host.celup.com systemd[1]: Can't open PID file /opt/alt/php-fpm70/usr/var/run/php-fpm.pid (yet?) after reload: No such file or directory
Jun 06 07:00:39 host.celup.com systemd[1]: Reloaded The PHP FastCGI Process Manager.
Jun 06 08:16:54 host.celup.com systemd[1]: Reloading The PHP FastCGI Process Manager.
Jun 06 08:16:54 host.celup.com systemd[1]: Can't open PID file /opt/alt/php-fpm70/usr/var/run/php-fpm.pid (yet?) after reload: No such file or directory
Jun 06 08:16:54 host.celup.com systemd[1]: Reloaded The PHP FastCGI Process Manager.
Jun 06 10:37:12 host.celup.com systemd[1]: Reloading The PHP FastCGI Process Manager.
Jun 06 10:37:12 host.celup.com systemd[1]: Can't open PID file /opt/alt/php-fpm70/usr/var/run/php-fpm.pid (yet?) after reload: No such file or directory
Jun 06 10:37:12 host.celup.com systemd[1]: Reloaded The PHP FastCGI Process Manager.

I have also rebuild Apache, reinstall PHP-FPM70 and rebuild the webserver configuration. But still get error.
Title: Re: (70007)The timeout specified has expired
Post by: rcschaff on June 06, 2020, 04:33:02 AM
please reply with printout from:

ls -al /opt/alt/php-fpm70/usr/var/sockets
Title: Re: (70007)The timeout specified has expired
Post by: raizho on June 06, 2020, 04:46:11 AM
Here is the result.

Code: [Select]
[root@newpinwheel ~]# ls -al /opt/alt/php-fpm70/usr/var/sockets
total 60
drwxr-xr-x. 2 root   root   36864 Jun  5 22:49 .
drwxr-xr-x. 5 root   root      43 Jun  2 20:56 ..
srw-rw----  1 root   nobody     0 Jun  5 15:52 lalacom.sock
srw-rw----  1 root   nobody     0 Jun  5 15:52 adwmy.sock
srw-rw----  1 root   nobody     0 Jun  5 15:52 adqzra1.sock
Title: Re: (70007)The timeout specified has expired
Post by: rcschaff on June 06, 2020, 04:50:45 AM
Are those the only 3 sites running on the server?
Title: Re: (70007)The timeout specified has expired
Post by: raizho on June 06, 2020, 04:57:28 AM
There are 1050 active website accounts on my server. I am still confused about where the error came from. I've even tried migrating to a new server with fresh CWP 7 installation. But still getting this error.
Title: Re: (70007)The timeout specified has expired
Post by: rcschaff on June 06, 2020, 06:07:48 AM
I would recommend turning off force fpm then, and see what happens.  If there are 1000 sites, there should be an equal number of sock files for each user account.
Title: Re: (70007)The timeout specified has expired
Post by: raizho on June 06, 2020, 06:27:02 AM
Thank you for your help, sir.  :)
I have turned off "force php-fpm" and now the website can be accessed. at this time I will be monitoring my server.
Title: Re: (70007)The timeout specified has expired
Post by: kinshuk on February 14, 2022, 08:37:26 AM
Hi,

Can you please guide me how to  turn off "force php-fpm"? :'(
Title: Re: (70007)The timeout specified has expired
Post by: rcschaff on February 15, 2022, 05:21:26 AM
Hi,

Can you please guide me how to  turn off "force php-fpm"? :'(

WebServer Settings -> Webserver Main Conf

Uncheck the last checkbox that states force apache to use PHP-FPM
Title: Re: (70007)The timeout specified has expired
Post by: kinshuk on February 15, 2022, 10:50:28 AM
Thanks, Let me try this... ::)
Title: Re: (70007)The timeout specified has expired
Post by: kinshuk on February 16, 2022, 05:51:11 AM
Please find the screenshot of my configuration, I am still facing the same issue.(https://demo.ratanrashi.com/Screenshot.png)
Title: Re: (70007)The timeout specified has expired
Post by: kinshuk on February 16, 2022, 08:08:18 PM
Resolved it by adding the below screenshot
(https://demo.ratanrashi.com/error1.png)

 :o ;D :) ;) :D ::) :P :-X
Title: Re: (70007)The timeout specified has expired
Post by: trismanto on June 14, 2022, 06:16:08 AM
Where i can found setting: locate default_socket_timeout ?