[horde] General question to "horde-autoloader-cache-prune"

Patrick De Zordo patrick at spamreducer.eu
Tue May 20 10:02:05 UTC 2014


Am 20.05.2014 11:56, schrieb Arjen de Korte:
> Citeren Patrick De Zordo <patrick at spamreducer.eu>:
>
>> Am 20.05.2014 11:21, schrieb Arjen de Korte:
>>> Citeren Patrick De Zordo <patrick at spamreducer.eu>:
>>>
>>>> Am 20.05.2014 10:17, schrieb Arjen de Korte:
>>>>> Citeren Jan Schneider <jan at horde.org>:
>>>>>
>>>>>> Zitat von Patrick De Zordo <patrick at spamreducer.eu>:
>>>>>>
>>>>>>> Am 20.05.2014 09:19, schrieb Michael M Slusarz:
>>>>>>>> Absent any strange issues... never.
>>>>>>>
>>>>>>> OK thanks, just seeing on every "horde-alarms" cronjob "Cannot 
>>>>>>> write Autoloader cache to backend." in logs..
>>>>>>> Is this normal? Just ignore this message?
>>>>>>
>>>>>> Run the script with the web server user.
>>>>>
>>>>> If you're using APC, it is probably the same problem as mentioned in
>>>>>
>>>>> http://osdir.com/ml/horde/2014-05/msg00005.html
>>>>>
>>>>
>>>> Not using it, just "filesystem" caching..
>>>
>>> If you have APC installed, you really should set 'apc.enable_cli=1' 
>>> to prevent the above messages, regardless of the 
>>> $conf[cache][driver] setting.
>>
>> Non PHP guru..
>> How to check if "apc" is installed? I dont have a "apc.ini" on 
>> filesystem..
>
> Run
>
>     phpinfo();
>
> in a the PHP shell (available under the Horde Administration), but...
>
>> Now I've set $conf[cache][driver] = "Use the APC cache"..but why no 
>> errors if I've not installed APC? Can I check if cache is really 
>> working?
>
> ...the above means APC is installed (and working), otherwise Horde 
> wouldn't run anymore.

Found it! Its called "apcu" (running Ubuntu 14.04), and with "apc.php" 
in a public folder now I can see the cache is working!
And the cron-messages has just disappeared.

Should there som cronjob to rebuild the cache every day/week?
And if yes, what utility can do this?

Thanks a lot!





More information about the horde mailing list