Webmail is Unresponsive

nitaish

Well-Known Member
PartnerNOC
Jan 6, 2006
137
3
168
Mulund, India,
I am facing issue in one of the cPanel servers. The webmail takes ages to load for all the email accounts. I cannot access Horde, Roundcube or Squirrelmail. At the same time when I check the cpanel error_log, I find the following entries

[2016-02-22 18:15:51 +0530] info [cpsrvd] The cPanel Server operation timed out at cpsrvd.pl line 539.

I can't even find the cpsrvd.pl file. What could be the issue? Can anyone help me to resolve it?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
Hello :)

Please run the following command and let us know if the issue persists:

Code:
/scripts/restartsrv_cpanel_php_fpm restart
This is possibly related to internal case CPANEL-4304.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
Hello,

Internal case CPANEL-4304 is open to investigate reports of unresponsive webmail applications that correspond with "Failed to connect fpm socket" error messages in /usr/local/cpanel/logs/error_log. Could anyone else experiencing this issue let us know if there's a high file descriptor count? You can do so by running this command:

Code:
grep -B1 "fpm is running" /usr/local/cpanel/logs/php-fpm/error.log
You will see entries such as:

Code:
using inherited socket fd=1681
We would like to know the number after "fd=" in the recent entries in the log file when Webmail is unresponsive.

Thank you.
 

Yuri

Member
Aug 22, 2006
6
2
153
Brazil
My lasta FD just before the problem is 3289.

[10-Mar-2016 11:08:02] NOTICE: using inherited socket fd=3289, "/var/cpanel/php-fpm/sorosegamil/sock"
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
To update, case CPANEL-4304 is still open at this time. The current workaround remains to restart the "cpanel_php_fpm" service, or to disable PHP-FPM service for cPanel Daemons via "WHM >> Service Manager" if the issue persists.

Thank you.
 

chonk

Member
Feb 28, 2015
19
1
1
cPanel Access Level
Root Administrator
Hello,
There's new problem started on my dedicated server.

My clients can login to cPanel without problem. But they can't login to webmail. After you click login to webmail, browsers starting to wait, but page does not responding.

I tried to restart php-fpm but it didn't work.

So I disabled php-fpm from services section, it started to work.

I think there's a bug or something is wrong with php-fpm.

Is there any disadvantage to use it without php-fpm service? Or is there a fix?
 

Ameya Barwe

Well-Known Member
Jan 1, 2016
49
2
8
Nashik
cPanel Access Level
Root Administrator
PHP-FPM has been implemented in the cPanel only for internal applications such as Horde, Roundcube, phpMyAdmin, SquirrelMail etc to improve their performance so there will be no major disadvantage to use those applications without php-fpm.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
A resolution for internal case CPANEL-4304 is available as of cPanel version 56.0.5:

Fixed case CPANEL-4304: Implement an aggressive reconnect strategy for php-fpm

Version 56 is currently only available in the "Current" and "Edge" build tiers:

cPanel & WHM Versions and the Release Process - cPanel Knowledge Base - cPanel Documentation

The resolution is also scheduled for inclusion in a future build of cPanel version 54, but no specific time frame is currently available.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
Hello,

For those running cPanel version 54, the resolution was included in cPanel version 54.0.22:

Fixed case CPANEL-4304: Implement an aggressive reconnect strategy for php-fpm

Thank you.