[ZODB-Dev] ZEO 2 : cache twiddling

Jeremy Hylton jeremy@zope.com (Jeremy Hylton)
Thu, 21 Nov 2002 11:52:02 -0500


But if the clients are all using the same server then they have
different "names" at the server.  The default name is "1" :-), but
you'd need to configure them each to have a different name if they're
all running in the same ZEO server.  The storage name is part of the
cache file name, so they shouldn't be using the same file.

I guess it's easiet to look for .zec files in the var directory and
see how many there are and what their names are.  Also, ZEO should be
logging a line like this for each cache:

        log("%s: storage=%r, size=%r; file[%r]=%r" %
            (self.__class__.__name__, storage, size, current,
            p[current]))

Jeremy