[horde] Re: Using PHP Accelerators with Horde

Michael M Slusarz slusarz at mail.curecanti.org
Mon Feb 14 11:54:57 PST 2005


Quoting Andy Wright <horde at eltofts.homelinux.com>:

>> This problem is well known. Just search the list.
>>
>> mmcache stores binary data in shared memory and on disk. After restart /
>> reload it seems that the disk cache is corrupted somehow.
>>
>> You have two options.
>>
>> 1. Disable caching to disk. mmcache option shm_only. Bad, because 
>> then scripts
>> which are too big for SHM caching are not cached at all.
>>
>> 2. Keep the config and change the start/stop script to clear the mmcache
>> caching directory at every start / restart. Working for me since months
>> without problems.
>>
>
> Thanks... I did come across one or two items on the list but none seemed
> to match the symptoms I'm seeing. The problem occurs without any
> restarts taking place so seems not to be the same as the problem you
> mention. It sometimes will works for many days and then fall over - no
> restarts, and plenty of memory left.

Or maybe you have a logrotation program that needs to give Apache a 
SIGHUP signal when it rotates the Apache logs (say, once a week).  
mmcache won't work correctly after this until the temp cache files are 
deleted and Apache is restarted.  So it very easily could be the same 
problem mentioned on this list numerous times.

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the horde mailing list