Re: [Zope] Silva Performance isses - Memory Error Broken Pipe
On 3 Feb 2006, at 13:39, Jonathan Bowlas wrote: -- 2006-01-25T21:08:11 ERROR(200) ZODB Couldn't load state for 0x016b87 Traceback (most recent call last): File /usr/local/zope-2.7.8/lib/python/ZODB/Connection.py, line 597, in setstate p, serial = self._storage.load(oid, self._version) File /usr/local/zope-2.7.8/lib/python/ZODB/FileStorage.py, line 697, in load return self._load(oid, version, self._index, self._file) File /usr/local/zope-2.7.8/lib/python/ZODB/FileStorage.py, line 688, in _load return read(u64(plen)), serial MemoryError You're out of RAM. Pretty obvious error message I'd say. 2006-01-25T20:45:18 ERROR(200) ZServer uncaptured python exception, closing channel ZServer.HTTPServer.zhttp_channel connected 144.82.100.130:43419 at 0xb0bb9f8c channel#: 1355352 requests: (exceptions.MemoryError: [/usr/local/lib/python2.3/asyncore.py|write|77] [/usr/local/lib/python2.3/asyncore.py|handle_write_event|397] [/usr/local/lib/python2.3/asynchat.py|handle_write|152] [/usr/local/lib/python2.3/asynchat.py|initiate_send|213] [/usr/local/lib/python2.3/asynchat.py|refill_buffer|202]) same thing. Get more RAM. 2006-01-25T17:06:08 ERROR(200) ZServer uncaptured python exception, closing channel ZServer.HTTPServer.zhttp_channel connected 128.40.105.130:58015 at 0xae8046ec channel#: 1281272 requests: (socket.error:(32, 'Broken pipe') [/usr/local/lib/python2.3/asynchat.py|initiate_send|218] [/usr/local/zope-2.7.8/lib/python/ZServer/medusa/http_server.py| send|417] [/usr/local/lib/python2.3/asyncore.py|send|337]) Someone pressed the Stop button on the browser. jens ___ 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 )
Re: [Zope] Silva
Piotr wrote: On Tue, 1 Nov 2005, bruno desthuilliers wrote: (snip) Oh, BTW: what versions of Zope and Silva ? Zope 2.7.4-0, python 2.4.0, linux2 Silva 1.3 Err... You should consider: - upgrading to Zope 2.7.8 (IIRC, Silva does not yet runs on 2.8.x) - and install Python 2.3.5 - Zope 2.x is not supposed to be Python 2.4.x compatible -- bruno desthuilliers développeur [EMAIL PROTECTED] http://www.modulix.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 )
Re: [Zope] Silva
Piotr wrote: Thank you Bruno for your answer. On Mon, 31 Oct 2005, bruno desthuilliers wrote: Piotr Konstanty wrote: I'm new in zope world. I would like to install Silva as a product in zope. When I put all core silva product to lib/python/Products cataloge unpack it an restart zope again every think seems to be good How did you restart your zope instance ? If you want to make sure you see start-time errors, you may want to use ZOPE-INSTANCE/bin/runzope instead of ZOPE-INSTANCE/bin/zopectl start. OK. I started zope like you suggested and I didn't fnd nothik special in log [EMAIL PROTECTED] ~]# /usr/bin/runzope -- 2005-10-31T18:29:43 INFO(0) ZServer HTTP server started at Mon Oct 31 18:29:43 2005 Hostname: elunia.bibltor.torun.pl Port: 9080 -- 2005-10-31T18:29:43 INFO(0) ZServer FTP server started at Mon Oct 31 18:29:43 2005 Hostname: Elunia Port: 9021 -- 2005-10-31T18:29:43 INFO(0) ZServer HTTP server started at Mon Oct 31 18:29:43 2005 Hostname: elunia.bibltor.torun.pl Port: 9081 -- 2005-10-31T18:29:43 INFO(0) Zope Set effective user to zope -- 2005-10-31T18:29:43 DEBUG(-200) FileStorage create storage /var/lib/zope/data/Data.fs -- 2005-10-31T18:29:43 DEBUG(-200) TemporaryStorage create storage session -- 2005-10-31T18:29:43 BLATHER(-100) ZODB Commiting subtransaction of size 6044 /usr/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module DeprecationWarning) -- 2005-10-31T18:29:44 BLATHER(-100) Z2 Installed sighandler for SIGTERM -- 2005-10-31T18:29:44 BLATHER(-100) Z2 Installed sighandler for SIGINT -- 2005-10-31T18:29:44 BLATHER(-100) Z2 Installed sighandler for SIGHUP -- 2005-10-31T18:29:44 BLATHER(-100) Z2 Installed sighandler for SIGUSR2 -- 2005-10-31T18:29:44 INFO(0) Zope Ready to handle requests Ok, seems clean... but when I want to do next step from INSALL.txt of Silva namely on add list of ZMI I choose Slva root and want to add it to zope root folder after I feed Id and Title on the Add Silva Root page and I push Add button I receive HTTP 500 - Inside Error of server Internet Explorer. Where is an reason of this error? Any hints? I'd say that some required dependencies are missing. To check this, you can either: - have a look at ZOPE-INSTANCE/log/Z2.log oops, sorry, I meant event.log. Z2.log is the equivalent of Apache's acces.log. My bad :( - goto Control_Panel/Products in the ZMI and check if some products are 'broken' (they have a special icon) Wolud you lke to mae a glance and hint me once more? Have you checked for broken products in the Control_Panel ? If you run in debug mode (cf ZOPE-INSTANCE/etc/zope.conf), have no error when starting with runzope, have nothing wrong the event.log, and have no broken product in the Control_Panel, then it must have something to do with the phase of the moon... Oh, BTW: what versions of Zope and Silva ? -- bruno desthuilliers développeur [EMAIL PROTECTED] http://www.modulix.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 )