Question
You've received a WHM notification that "Statistics processing lagging". And inside the WHM interface, you see the message appearing on the following page:
WHM: Home »Server Configuration »Statistics Software Configuration
Section: Statistics Status Summary
Message: "Statistics processing is lagging"
Is there a way to get Statistics to Process again?
Answer
There is a condition where the helper RPMs for 'glibc' can be updated. This update can cause some Perl Modules not to operate as expected.
If you view 'stats_log' file and see errors like it:
/usr/local/cpanel/logs/stats_log
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.
And find the 'glibc' helper RPMS were recently updated:
Command on CentOS 8:
grep glibc /var/log/dnf.rpm.log
Command on CentOS 7:
grep glibc /var/log/dnf.rpm.log
The expected output from both commands:
2021-10-22T21:17:33+0200 SUBDEBUG Installed: glibc-headers-2.28-151.el8.x86_64
2021-10-22T21:17:33+0200 SUBDEBUG Installed: glibc-devel-2.28-151.el8.x86_64
2021-10-22T21:17:33+0200 SUBDEBUG Installed: glibc-static-2.28-151.el8.x86_64
2021-10-22T21:17:37+0200 SUBDEBUG Installed: glibc-locale-source-2.28-151.el8.x86_64
Then, the new helper RPMs for 'glibc' may be interfering with the Perl Module 'Time::HiRes'.
We recommend forcing a cPanel update. The goal is to get 'glibc' helper RPMs to update to a newer version.
Example output after cPanel update:
2021-12-10T21:41:11+0200 SUBDEBUG Upgrade: glibc-2.28-164.el8.x86_64
2021-12-10T21:41:12+0200 SUBDEBUG Upgrade: glibc-common-2.28-164.el8.x86_64
2021-12-10T21:41:12+0200 SUBDEBUG Upgrade: glibc-langpack-en-2.28-164.el8.x86_64
2021-12-10T21:41:48+0200 SUBDEBUG Upgrade: glibc-headers-2.28-164.el8.x86_64
2021-12-10T21:41:48+0200 SUBDEBUG Upgrade: glibc-devel-2.28-164.el8.x86_64
2021-12-10T21:41:49+0200 SUBDEBUG Upgrade: glibc-static-2.28-164.el8.x86_64
2021-12-10T21:41:56+0200 SUBDEBUG Upgrade: glibc-locale-source-2.28-164.el8.x86_64
To force a cPanel update, use the following command:
/usr/local/cpanel/scripts/upcp --force
* Please be aware, the above command will override your cPanel Update Preferences and put your server at the latest version. If you are unaware of what Tier your server uses, please reference this article.
Article: What is the purpose of the force flag in upcp?
After the cPanel update is completed, you can re-run the Statistics Processing using the following article.
Article: How to run stats for a user manually
Comments
0 comments
Article is closed for comments.