Operating System & Version
CentOS 7.7
cPanel & WHM Version
84.0.21

wonder_wonder

Well-Known Member
Jan 16, 2019
100
35
28
Spain
cPanel Access Level
Root Administrator
Hello.
I have a problem and I don't know how explain well.
Yesterday, I was made any change in my server from since few months, the servide httpd was down and I can't wake up.
Finally, after search and read, rebuild rpm in easy apache and fix the issue.

After this, I view a high load server in my server, I use Top for view the process and view that, all connections to the site are with the service php-cgi but before this, the connections was are with php-fpm.
Now, I have a lot lines/connections with php-cgi instead of php-fpm.

I review all modules installed in easyapache, all is fine, php-fpm are installed.

I have other server and the connections to the website, with command top I view that appears with php-fpm.
I compare this other server with this, compare modules, extensions and all in easy apache, are exactly the same, any difference...

I search and search, I try with command:

/scripts/php_fpm_config --rebuild

And after 2 executions of this command I obtain this:

[[email protected] ~]# /scripts/php_fpm_config --rebuild
info [php_fpm_config] Rebuilding ...
info [php_fpm_config] Rebuilding All domains
info [php_fpm_config] rebuild_files: working on domain (forocable.com)
info [php_fpm_config] php-fpm: rebuild_files: restart fpm services for Apache
info [php_fpm_config] php-fpm: fpm services restarted
info [php_fpm_config] Rebuilding vhosts in apache conf
info [php_fpm_config] Rebuild Complete
[[email protected] ~]#

I restart the server several times, but continue appears all connections with php-cgi...

I don't know how made more or what are the problem...

Thanks in advance.
 

wonder_wonder

Well-Known Member
Jan 16, 2019
100
35
28
Spain
cPanel Access Level
Root Administrator
Edit-add this reply.

Ops...like since yesterday I'm working in server for this problems and I think I'm under ddos attack, this night only I sleep a 3 or 4 hours...
Yes, in WHM - Software - MultiPHP Manager, I have System PHP-FPM Status in On but.....in the domain aren't enabled...this are the problem for not work php-fpm....
I enabled in the domain (I don't view or remeber, I think because only sleep 3 or 4 hours...), I was view all enabled about php-fpm but in the domain not view are disabled (in the page that you indicate).
I activate in the domain and now, work perfect!
As I could not see it ...:oops:

Now, I work for fixed the ddos attack :)

Thanks and regards!
 
  • Like
Reactions: quietFinn