[Zope] the day of zope headaches

michael angelo ruberto michaelangelo@webmind.com
Thu, 7 Dec 2000 16:14:34 -0500


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