Directories
Some important directories you'll see people talking about:
SOFTWARE_HOME
- the root of your zope software installation.INSTANCE_HOME
- this may be the same as SOFTWARE_HOME, but often a separate directory where you can keep data and products independent of zope software upgrades (recommended). If you use ZEO you might have several of these.STORAGE_HOME
- if you use ZEO: home of the ZEO storage server's ZODB, log and configuration files.Products
- the directory where add-on ZopeProducts are installed. There may be two - one under SOFTWARE_HOME, one under INSTANCE_HOME (use this one).
See also SimpleDirectoryLayout.
Configuration
- zope.conf in INSTANCE_HOME/etc/ is the main configuration file for a Zope instance
- [zeo.conf]? in STORAGE_HOME/etc/ is the configuration file for a ZEO storage server
Logs
You can find useful information about a Zope server in a number of places:
In the ZMI:
On the filesystem
- apache's access.log, if you are using ZopeAndApache. On debian this is in /var/log/apache/.
- Z2.log in INSTANCE_HOME/log/
- event.log in INSTANCE_HOME/log/
- [trace.log]? in INSTANCE_HOME/log/, if enabled. See also ForensicLogger.
- zeo.log in STORAGE_HOME/log/, if you are running ZEO
- you can get a log of memory usage if you run the CheckZopeMem script
- you can see your zope processes by running
pstree -ap |grep python |grep -v grep
(unix) - you can check your zope processes' size by running 'top" and pressing
M
(sort by memory usage). Often zope processes will be near the top. - you can check if your zope processes are busy doing something by running
top
and checking the cpu usage.
Some examples can be seen here
subtopics: |