Rise Company
06-11-2023, 12:34
السي بانال WHM/cPanel حل مشكلة Disk Space Not Updating In Real Time
Incorrect Disk Usage displayed in cPanel -Disk Space Not Updating In Real Time
FORCEFULLY REFRESHING DISK SPACE USAGE DIRECTLY FROM CPANEL
https://www.rise.company/forum/images/imported/2023/11/1.jpg
المشكلة :
https://www.youtube.com/watch?v=Tt1Q7qKdtiA
عند تفريغ مساحة السيرفر بحذف الايميلات المخزنة مثلا , تذهب الى Disk Usage
تجد ان المساحة كما هى ولم تنقص رغم حذف حساب الايميلات كاملا !
حل المشكلة :
هذه خاصية الكاش داخل whm فى Tweak
تقوم بعمل كاش للـ Quota كل 15 دقيقة " لا ينصح بتعطيلها "
Cache disk quota information [?] Setting this option to On causes WHM to cache disk usage information. This may result in disk usage information being up to 15 minutes out-of-date. Setting this option to Off will provide more up-to-date data, but may significantly slow your server’s performance.
https://www.rise.company/upload/uploads/169926607413531.png
اذا قمت بتعطيلها هذا هيسبب ارتفاع اللود على السيرفر وبالتالى بطىء لذلك لا ينصح بتعطيله
ولكن هناك حل اخر من داخل cpanel
If user disk space usage is reflected incorrectly or not updating in cPanel, there is a way to force refresh the disk quota of cPanel directly from cPanel dashboard.
We will be able to remedy this by refreshing the cPanel cache for this user. This can be done by removing the /home/username/.cpanel/datastore directory, which will be recreated upon the next access of that account’s cPanel.
https://www.rise.company/forum/images/imported/2023/11/2.jpg (https://www.supportpro.com/blog/wp-content/uploads/2015/09/Forcefully-refreshing-disk-space-cpanel-steps.jpg)========
Login to cpanel->file manager -> ensure show hidden file is enabled.
Go to /home/username/.cpanel
Rename datastore/ to something else
Then click disk space usage, it will force refresh the usage
https://www.rise.company/upload/uploads/169926682739721.png
الخلاصة
على المسار /home/username/.cpanel/datastore
افتح filemanager ثم هتجد مجلد مختفى باسم .cpanel
المرجع:
https://forums.cpanel.net/threads/disk-space-not-updating-in-real-time.53078/
https://www.supportpro.com/blog/forcefully-refreshing-disk-space-usage-directly-from-cpanel/
https://forums.cpanel.net/threads/incorrect-disk-usage-displayed-in-cpanel.713233/
Incorrect Disk Usage displayed in cPanel -Disk Space Not Updating In Real Time
FORCEFULLY REFRESHING DISK SPACE USAGE DIRECTLY FROM CPANEL
https://www.rise.company/forum/images/imported/2023/11/1.jpg
المشكلة :
https://www.youtube.com/watch?v=Tt1Q7qKdtiA
عند تفريغ مساحة السيرفر بحذف الايميلات المخزنة مثلا , تذهب الى Disk Usage
تجد ان المساحة كما هى ولم تنقص رغم حذف حساب الايميلات كاملا !
حل المشكلة :
هذه خاصية الكاش داخل whm فى Tweak
تقوم بعمل كاش للـ Quota كل 15 دقيقة " لا ينصح بتعطيلها "
Cache disk quota information [?] Setting this option to On causes WHM to cache disk usage information. This may result in disk usage information being up to 15 minutes out-of-date. Setting this option to Off will provide more up-to-date data, but may significantly slow your server’s performance.
https://www.rise.company/upload/uploads/169926607413531.png
اذا قمت بتعطيلها هذا هيسبب ارتفاع اللود على السيرفر وبالتالى بطىء لذلك لا ينصح بتعطيله
ولكن هناك حل اخر من داخل cpanel
If user disk space usage is reflected incorrectly or not updating in cPanel, there is a way to force refresh the disk quota of cPanel directly from cPanel dashboard.
We will be able to remedy this by refreshing the cPanel cache for this user. This can be done by removing the /home/username/.cpanel/datastore directory, which will be recreated upon the next access of that account’s cPanel.
https://www.rise.company/forum/images/imported/2023/11/2.jpg (https://www.supportpro.com/blog/wp-content/uploads/2015/09/Forcefully-refreshing-disk-space-cpanel-steps.jpg)========
Login to cpanel->file manager -> ensure show hidden file is enabled.
Go to /home/username/.cpanel
Rename datastore/ to something else
Then click disk space usage, it will force refresh the usage
https://www.rise.company/upload/uploads/169926682739721.png
الخلاصة
على المسار /home/username/.cpanel/datastore
افتح filemanager ثم هتجد مجلد مختفى باسم .cpanel
المرجع:
https://forums.cpanel.net/threads/disk-space-not-updating-in-real-time.53078/
https://www.supportpro.com/blog/forcefully-refreshing-disk-space-usage-directly-from-cpanel/
https://forums.cpanel.net/threads/incorrect-disk-usage-displayed-in-cpanel.713233/