SOLVED Statistics processing is lagging.

HostingMania

Registered
Dec 15, 2021
4
1
3
Serbia
cPanel Access Level
Root Administrator
Hi,

we are getting message that statistics not running with error:

BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Backup/Config.pm line 12.
Compilation failed in require at /usr/local/cpanel/Cpanel/Backup/Config.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 28.
Compilation failed in require at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 28.
at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int/Time/HiRes.pm line 94.
Can't load '/usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int/auto/Time/HiRes/HiRes.so' for module Time::HiRes: /lib/../lib64/librt.so.1: undefined symbol: __pthread_attr_copy, version GLIBC_PRIVATE at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/XSLoader.pm line 93.
Compilation failed in require at libexec/cpanellogd.pl line 660.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Logd.pm line 62.
Compilation failed in require at /usr/local/cpanel/Cpanel/Logd.pm line 62.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/SysQuota.pm line 15.


We didn't update anything. It seems that this happended when WHM is updated to 100.0.5
 

splaquet

Well-Known Member
Sep 24, 2008
68
5
58
W. Hartford, CT
cPanel Access Level
Root Administrator
Twitter
I also started receiving these emails, on all of my servers. I've been receiving these notices for some time now, but only finally had the time to investigate.

I found that one account appeared to be stumbling on processing an account that was over quota, but that didn't seem to fix it. Fortunately I bumped into this post, as I wasn't finding any other posts reporting the same issue.

I'm installing Time::HiRes via:
Code:
cpan install Time::HiRes
I'm trying /scripts/upcp --force now, on my servers... which I hope does the trick, but I haven't been receiving emails saying that upcp has failed

cPanel Stats Log Tail: /usr/local/cpanel/logs/stats_log​
Code:
# tail -f /usr/local/cpanel/logs/stats_log
 at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int/Time/HiRes.pm line 94.
Compilation failed in require at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 28.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 28.
Compilation failed in require at /usr/local/cpanel/Cpanel/Backup/Config.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Backup/Config.pm line 12.
Compilation failed in require at /usr/local/cpanel/Cpanel/SysQuota.pm line 15.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/SysQuota.pm line 15.
Compilation failed in require at /usr/local/cpanel/Cpanel/Logd.pm line 62.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Logd.pm line 62.
Compilation failed in require at libexec/cpanellogd.pl line 660.


cPanel Stats Log: /usr/local/cpanel/logs/stats_log​
Code:
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Backup/Config.pm line 12.
Compilation failed in require at /usr/local/cpanel/Cpanel/Backup/Config.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 28.
Compilation failed in require at /usr/local/cpanel/Cpanel/CachedDataStore.pm line 28.
at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int/Time/HiRes.pm line 94.
Can't load '/usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int/auto/Time/HiRes/HiRes.so' for module Time::HiRes: /lib/../lib64/librt.so.1: undefined symbol: __pthread_attr_copy, version GLIBC_PRIVATE at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/XSLoader.pm line 93.
Compilation failed in require at libexec/cpanellogd.pl line 660.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Logd.pm line 62.
Compilation failed in require at /usr/local/cpanel/Cpanel/Logd.pm line 62.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/SysQuota.pm line 15.


cPanel Error Log: /usr/local/cpanel/logs/error_log​
Code:
[2021-12-22 03:58:42 -0500] warn [cpaneld] (XID ms2hk4) Documents are not permitted to contain null characters, or new lines. at cpsrvd.pl line 3272, <GEN47> line 2.
[2021-12-22 03:45:25 -0500] info [cpsrvd] version 11.100.0.5 online
==> cpsrvd: bound to ports
==> cpsrvd: transferred port bindings: 10,11,12,3,4,5,6,7,8,9
==> cpsrvd: Setting up SSL support ... Done
==> cpsrvd: loading security policy....Done
==> cpsrvd 11.100.0.5 started
[2021-12-22 03:34:03 -0500] info [cpsrvd] version 11.100.0.5 online
==> cpsrvd: bound to ports
==> cpsrvd: transferred port bindings: 10,11,12,3,4,5,6,7,8,9

...and yeah, that appears to have done the trick! Statistics appear to now be processing as expected. thank you kindly @HostingMania !!!

cPanel Stats Log Tail: /usr/local/cpanel/logs/stats_log​
Code:
# tail -f /usr/local/cpanel/logs/stats_log
[2021-12-22 09:22:18 -0500] Process bandwidth for wfdhosti
[2021-12-22 09:22:18 -0500] Process bandwidth for wickedco
[2021-12-22 09:22:19 -0500] Process bandwidth for windsore
[2021-12-22 09:22:20 -0500] Done Checking Bandwidth
==> Retention days: 10
[2021-12-22 09:30:41 -0500] Checking Bandwidth
[2021-12-22 09:30:41 -0500] I/O: best-effort: prio 6
[2021-12-22 09:30:41 -0500] Processing bandwidth.
[2021-12-22 09:30:42 -0500] Done Checking Bandwidth
==> Retention days: 10
 

splaquet

Well-Known Member
Sep 24, 2008
68
5
58
W. Hartford, CT
cPanel Access Level
Root Administrator
Twitter
check that... worked on one of my servers, but not on the other. appears to still be hung up on a different account that's over quota.


cPanel Error Log: /usr/local/cpanel/logs/error_log​
Cpanel::SafeFileLock::write_lock_contents(GLOB(0x169ed08), "/home/thailong/.cpanel/email_accounts.json.lock-3566209c6601c"...) called at /usr/local/cpanel/Cpanel/SafeFile.pm line 441
at /usr/local/cpanel/Cpanel/SafeFileLock.pm line 195.
[2021-12-22 06:25:58 -0500] warn [update_quota_cache] Cpanel::Exception::IO::FileWriteError/(XID 4y49fg) The system failed to write to the file “/home/thailong/.cpanel/email_accounts.json.lock-3566209c6601c-1fc96d43d-1b8981” because of an error: Disk quota exceeded

nope... that actually wasn't it. I missed the R in /scripts/upcp --foce (need more coffee )

back to working as expected after running again with /scripts/upcp --force
 
  • Like
Reactions: cPanelAnthony