Webmail not loading properly

Delton

Registered
Feb 13, 2017
4
0
1
Alta Floresta
cPanel Access Level
Root Administrator
We moved all sites from server A to server B, and in server B now no webmail client (horde, roundcube and squirrel) is openning the messages. All web sites have the same issue, the clients not have more access to webmail.... The system try to load something but stay loading without load the messages, or even open corectly.
 

Delton

Registered
Feb 13, 2017
4
0
1
Alta Floresta
cPanel Access Level
Root Administrator
Some errors from /usr/local/apache/logs/error_log:
Code:
[Tue Feb 14 10:27:14.582805 2017] [proxy:error] [pid 23343] [client 179.219.241.106:47575] AH00898: Error reading from remote server returned by /cpsess9284050622/3rdparty/roundcube/, referer: http://webmail.xxxxxx.net/cpsess9284050622/3rdparty/roundcube/?_task=mail&_mbox=INBOX

[Tue Feb 14 10:27:14.582782 2017] [proxy_http:error] [pid 23343] (70007)The timeout specified has expired: [client 179.219.241.106:47575] AH01102: error reading status line from remote server 127.0.0.1:2095, referer: http://webmail.xxxxxx.net/cpsess9284050622/3rdparty/roundcube/?_task=mail&_mbox=INBOX

[Tue Feb 14 02:08:42.115880 2017] [proxy_http:error] [pid 8766] (70007)The timeout specified has expired: [client 177.221.222.4:4123] AH01102: error reading status line from remote server 127.0.0.1:2095, referer: http://webmail.xxxxxxx.com.br/cpsess3473977194/horde/imp/dynamic.php?page=mailbox

[Tue Feb 14 02:08:42.115901 2017] [proxy:error] [pid 8766] [client 177.221.222.4:4123] AH00898: Error reading from remote server returned by /cpsess3473977194/horde/imp/dynamic.php, referer: http://webmail.xxxxxxx.com.br/cpsess3473977194/horde/imp/dynamic.php?page=mailbox

/usr/local/cpanel/logs/error_log

Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x225e0e0), "subprocess_name", "php:/usr/local/cpanel/base/horde/services/ajax.php", "subprocess_read_handle", Cpanel::Server::FastCGI=HASH(0x225dea0)) called at /usr/local/cpanel/Cpanel/Server.pm line 1949
   cpanel::cpsrvd::cgiHandler("app", "php", "document", "./horde/services/ajax.php/horde/topbarUpdate") called at cpsrvd.pl line 6132
   cpanel::cpsrvd::phpHandler("document", "./horde/services/ajax.php/horde/topbarUpdate") called at cpsrvd.pl line 5336
   Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x225e0f8), "subprocess_name", "php:/usr/local/cpanel/base/horde/services/ajax.php", "subprocess_read_handle", Cpanel::Server::FastCGI=HASH(0x225deb8)) called at /usr/local/cpanel/Cpanel/Server.pm line 1949
   cpanel::cpsrvd::cgiHandler("app", "php", "document", "./horde/services/ajax.php/horde/topbarUpdate") called at cpsrvd.pl line 6132
   cpanel::cpsrvd::phpHandler("document", "./horde/services/ajax.php/horde/topbarUpdate") called at cpsrvd.pl line 5336
[2017-02-14 11:27:21 -0200] info [webmaild] Internal Server Error: "POST /cpsess1871028270/horde/services/ajax.php/horde/topbarUpdate HTTP/1.1" 500 The subprocess (php) failed to send content during the allowed timeframe.
[2017-02-14 11:27:21 -0200] info [webmaild] Internal Server Error: "POST /cpsess4402610117/horde/services/ajax.php/horde/topbarUpdate HTTP/1.1" 500 The subprocess (php) failed to send content during the allowed timeframe.


cpanel::cpsrvd::cgiHandler("app", "php", "document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 6132
   cpanel::cpsrvd::phpHandler("document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 5336
   Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x225e050), "subprocess_name", "php:/usr/local/cpanel/base/3rdparty/roundcube/index.php", "subprocess_read_handle", Cpanel::Server::FastCGI=HASH(0x225de10)) called at /usr/local/cpanel/Cpanel/Server.pm line 1949
   cpanel::cpsrvd::cgiHandler("app", "php", "document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 6132
   cpanel::cpsrvd::phpHandler("document", "./3rdparty/roundcube/index.php") called at cpsrvd.pl line 5336
[2017-02-14 11:31:39 -0200] info [webmaild] Internal Server Error: "GET /cpsess0368660416/3rdparty/roundcube/?_task=mail&_token=l0KvabpMIOnefpVUCgNzPQmTDQrfB8GC HTTP/1.1" 500 The cPanel Server operation timed out at cpsrvd.pl line 531.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @Delton,

It's possible this relates to an existing internal case (CPANEL-11106) where cPanel PHP-FPM hits the open files limit. Could you run the command below and let us know the output?

Code:
grep "Too many open files" /usr/local/cpanel/logs/php-fpm/error.log
Thank you.
 

Delton

Registered
Feb 13, 2017
4
0
1
Alta Floresta
cPanel Access Level
Root Administrator
I lot of that messages:

[14-Feb-2017 12:07:00] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:07:10] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
[14-Feb-2017 12:07:10] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
[14-Feb-2017 12:07:53] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:10:42] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:11:05] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:11:28] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:12:01] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:12:11] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
[14-Feb-2017 12:12:11] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
[14-Feb-2017 12:12:13] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:12:13] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:15:13] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:15:43] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:16:15] ERROR: failed to prepare the stdout pipe: Too many open files (24)
[14-Feb-2017 12:16:22] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
[14-Feb-2017 12:16:22] ERROR: Unable to create the PID file (/var/run/cpanel_php_fpm.pid).: Too many open files (24)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Internal case CPANEL-11156 updates the internal PHP version used with cPanel to 5.6.30 and should address the problem reported on this thread. It's included with cPanel version 62.0.12:

Fixed case CPANEL-11156: Update cpanel-php56 to 5.6.30-1.cp1158.

This version is currently published to the EDGE build tier. More information on how new builds are published is available on our cPanel & WHM Product Versions and the Release Process documentation.

Thank you.
 
  • Like
Reactions: ItsMattSon

manokiss

Well-Known Member
Mar 31, 2002
576
1
318
Im on 62.0.15 and this problem persist. I had to disable "PHP-FPM service for cPanel Daemons" to had it working.
 

hseagle2015

Registered
PartnerNOC
Jun 21, 2010
4
2
53
Hi,

I can confirm that we have the same problem on cPanel servers running version 62.0.16.

/scripts/restartsrv_cpanel_php_fpm fixes the problem, but only temporarily.