[horde] turkk-mmcache with horde ...

Joeri Pronk joeri at joeri.nu
Mon Jan 5 14:21:01 PST 2004


You could use mmcache.filter in php.ini to filter out files to be cached.
In your case:
mmcache.filter=!syslog.php
should do the trick.
As the problems are alike but not the same I suspect some sort of halfcached
file by mmcache is likely to cause the problem.
Note i have only seen this on servers with many users using the system at once.
You could try to decrease the shm limit:
mmcache.shm_size="8"
and see if it changes the problem.
You could also disable the optimizer:
mmcache.optimizer="0"
As php files will still be cached (in compiled version not the output although
mmcache can also do this if instructed)

Also it would be smart to install mmcache.php on your webserver to check and
enable/disable mmcache. You can find this in the mmcache source.


Amazingly i just tested mmcache (2.4.6) with a recent version of horde (dec2003)
and it works flawlessly. So upgrading horde could solve your problem too. But
lots of things have changed in horde so your old data/db (shares/kronolith)
will not work anymore unless they are converted.
Mind you this is on a private 3 user server, as i cannot test it on the
producton machines at the moment without angering a couple of 100 people.

These are just my 0.02 EUR

Joeri

Citeren "Marc G. Fournier" <scrappy at hub.org>:

>
> I'm running June18, 2003 here ... have you found anything that would allow
> it to prevent caching of certain files maybe? (ie. don't cache the
> messages themselves?)
>
> On Mon, 5 Jan 2004, Joeri Pronk wrote:
>
> > I tried mmcache too, but on my system file attachments (including mime/html
> > messages) look empty after viewing a few messages.
> > Note that this system is running an old CVS version (apr2003).
> >
> > Joeri
> >
> > Citeren "Marc G. Fournier" <scrappy at hub.org>:
> >
> > >
> > > Anyone play with this at all?  I just installed it on one of my servers,
> > > to see how it fairs ... everything appears to run fine, *except* when I
> > > logout I get a whack of errors:
> > >
> > >
> > > Notice: Use of undefined constant  - assumed '' in
> > > /usr/local/share/pear/Log/syslog.php on line 133
> > >
> > > Notice: Use of undefined constant - assumed '' in
> > > /usr/local/share/pear/Log/syslog.php on line 133
> > >
> > > Notice: Use of undefined constant  - assumed '' in
> > > /usr/local/share/pear/Log/syslog.php on line 133
> > >
> > > Notice: Use of undefined constant - assumed '' in
> > > /usr/local/share/pear/Log/syslog.php on line 133
> > >
> > > Notice: Use of undefined constant - assumed '' in
> > > /usr/local/share/pear/Log/syslog.php on line 133
> > >
> > > Notice: Use of undefined constant  - assumed '' in
> > > /usr/local/share/pear/Log/syslog.php on line 133
> > >
> > > Notice: Use of undefined constant rce.php - assumed 'rce.php' in
> > > /usr/local/share/pear/Log/syslog.php on line 133
> > >
> > > Notice: Use of undefined constant book. - assumed 'book.' in
> > > /usr/local/share/pear/Log/syslog.php on line 133
> > >
> > >
> > > Disable mmcache, and those errors go away ..
> > >
> > > ----
> > > Marc G. Fournier           Hub.Org Networking Services
> (http://www.hub.org)
> > > Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ:
> 7615664
> > >
> > > --
> > > Horde mailing list
> > > Frequently Asked Questions: http://horde.org/faq/
> > > To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> > >
> > >
> >
> >
> > --
> > Horde mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> >
>
> ----
> Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
> Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664
>
>




More information about the horde mailing list