RE: [Zope] Zope slow if left unused for hours
This is because the first time you make a request to your Zope instance, it retrieves lots of objects from the ZODB (file). For subsequent requests, most of this objects are cached in a connection object cache. See your /Control_Panel/Database/manage_workspace, select a database, and then have a look at the Cache Parameters tab. There is one cache per connection, and usually there are 4 connections to the ZODB. But in general, under reasonable load on your site, the cache should be efficient. I don't know of any way of optimizing this. Hope this helps. Pascal -----Message d'origine----- De : zope-bounces@zope.org [mailto:zope-bounces@zope.org]De la part de Jeff Rodriguez Envoyé : jeudi 6 janvier 2005 17:31 À : zope@zope.org Objet : [Zope] Zope slow if left unused for hours I'm running Zope with Plone, specifically the windows installer version distributed on the Plone website. The first time I hit the site (even the ZMI) the first page takes a long time to load; everything after that is speedy. I'm thinking it's some sort of caching issue but I'm not sure where to look to remedy the probelm. I am not running debug mode either. Info from control panel: Zope Version (unreleased version, python 2.3.3, win32) Python Version 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] System Platform win32 SOFTWARE_HOME C:\Program Files\Plone 2\Zope\lib\python ZOPE_HOME C:\Program Files\Plone 2\Zope INSTANCE_HOME C:\Program Files\Plone 2\Data CLIENT_HOME C:\Program Files\Plone 2\Data\var Network Services ZServer.HTTPServer.zhttp_server (Port: 80) ZServer.HTTPServer.zhttp_server (Port: 8080) Process Id 1964 (3048) Running For 1 day 17 hours 6 min 34 sec -- Jeffrey Alan Rodriguez Jeffrey.Rodriguez@gmail.com _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
participants (1)
-
Pascal Peregrina