SOLVED [CPANEL-12976] Horde generating large number of cache files

Hedloff

Well-Known Member
Jun 7, 2004
189
13
168
Up north!
cPanel Access Level
DataCenter Provider
Hello,

Customer with 1GB webhosting package had over 500MB of disk space filled with files in their /tmp folder with different cache files from horde:

cache_4c502db9e50f28718dbf1ca3573681fa
with content like:

O:17:"Horde_History_Log":2:{s:3:"uid";s:131:"imp:name@domain*tld:<e3e4db835b75749f21a60042c.e75d40a9d5.20171006235913.2a3888e546.8cabf40f@mail95.us4.mcsv.net>";s:8:"�*�_data";a:0:{}}

Did your devs fix this issue?
What cron could be added to remove these?
 

cPanelMichael

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

Internal case CPANEL-12976 is open to address the issue where temporary cache files associated with Horde can build up over time in the /home/user/tmp/ (when PHP-FPM for cPanel is enabled) or /home/user/tmp/horde/ directories because they are not automatically removed. I'll monitor this case and update this thread with more information as it becomes available. In the meantime, the temporary workaround is to manually remove these files, or to setup a cron job to manually remove those specific files after they reach a certain age.

Thank you.
 

cPanelMichael

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

CPANEL-12976 was published as part of cPanel & WHM version 78:

Fixed case CPANEL-12976: Admins may now enable the purging of temporary Horde files for all users.

Here's a quote from the Version 78 Release Notes explaining the added functionality:

New tweak setting to delete users' Horde cache files
In cPanel & WHM version 78, we added the Age, in days, of content to purge users' Horde cache files option to the Mail section of WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings). This setting determines the minimum age, in days, of files that the system will automatically delete users' Horde cache files.

This setting accepts a minimum value of 1, and defaults to Disabled.

Thank you.