the day of zope headaches
ok, i'm not that superstitious but today must be Zopes equivalent of friday the 13th. i've nothing but headaches with it all day today. maybe the warranty expired ;) here we go the new problem is this: Zope has encountered an error while publishing this resource. IOError Sorry, a Zope error occurred. such a very helpful message. this happened while reindexing the ZCatalog used for the main site search. i do this every week without problems. it takes a bit longer each week but never got this error before. have i maxed it out or something? has anyone else come across this? as always, help greatly appreciated! thanks -<mike>- ps: the catalog is now empty.
Zope has encountered an error while publishing this resource.
IOError
Sorry, a Zope error occurred.
such a very helpful message. this happened while reindexing the ZCatalog
View the HTML source for the error page - the Python traceback contained in there will be more helpful. However, the last time I had an IOError while re-indexing a ZCatalog was when Python was ran out of space in the /tmp dir (4600 objects, 100 MB /tmp partition). What I did was edit Python's tempfile.py file (contained at /usr/lib/python1.5/tempfile.py on Debian systems) from: attempdirs = ['/usr/tmp', '/tmp', pwd] To: attempdirs = ['/var/tmp', '/usr/tmp', '/tmp', pwd] -- Kevin Teague, Zopista http://www.stormix.com
Yup, this is very likely. The catalog does subcommits by default, which take up lots of temp space if you're cataloging lots of stuff in a batch. ----- Original Message ----- From: "Kevin Teague" <kteague@stormix.com> To: <michaelangelo@webmind.com>; <zope@zope.org> Sent: Tuesday, December 05, 2000 11:00 PM Subject: Re: [Zope] the day of zope headaches
Zope has encountered an error while publishing this resource.
IOError
Sorry, a Zope error occurred.
such a very helpful message. this happened while reindexing the ZCatalog
View the HTML source for the error page - the Python traceback contained in there will be more helpful. However, the last time I had an IOError while re-indexing a ZCatalog was when Python was ran out of space in the /tmp dir (4600 objects, 100 MB /tmp partition). What I did was edit Python's tempfile.py file (contained at /usr/lib/python1.5/tempfile.py on Debian systems) from:
attempdirs = ['/usr/tmp', '/tmp', pwd]
To:
attempdirs = ['/var/tmp', '/usr/tmp', '/tmp', pwd]
-- Kevin Teague, Zopista http://www.stormix.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
thanks Kevin, that seems to have did the trick. the deal on my server is that tmp, /var/tmp, and /usr/tmp are all linked to one directory. this required me to create /home/httpd/tmp and point tempfile.py to it because the disk for all the other tmp stuff is quite full. time for bigger drives. -<mike>- ps: in the process of following your suggestion i found another problem and fixed it, so thanks again! -----Original Message----- From: kteague@stormix.com [mailto:kteague@stormix.com] Sent: Tuesday, December 05, 2000 11:00 PM To: michaelangelo@webmind.com; zope@zope.org Subject: Re: [Zope] the day of zope headaches
Zope has encountered an error while publishing this resource.
IOError
Sorry, a Zope error occurred.
such a very helpful message. this happened while reindexing the ZCatalog
View the HTML source for the error page - the Python traceback contained in there will be more helpful. However, the last time I had an IOError while re-indexing a ZCatalog was when Python was ran out of space in the /tmp dir (4600 objects, 100 MB /tmp partition). What I did was edit Python's tempfile.py file (contained at /usr/lib/python1.5/tempfile.py on Debian systems) from: attempdirs = ['/usr/tmp', '/tmp', pwd] To: attempdirs = ['/var/tmp', '/usr/tmp', '/tmp', pwd] -- Kevin Teague, Zopista http://www.stormix.com
participants (3)
-
Chris McDonough -
Kevin Teague -
michael angelo ruberto