I am running a zope server on which I store a lot of 5+ MB files on the zope filesystem. When one of the users tried to upload a 28MB file today, she got a Error 28 insufficient space. There is sufficient space on both the data and root partitions that the zope server lives on, so I don't think that is the problem. Does the zope filesystem have size limits that are in the range of 30MB? Thanks, John Hunter Zope 2.5.1b1 (source release, python 2.1, linux2), python 2.1.3, linux2
[John Hunter]
I am running a zope server on which I store a lot of 5+ MB files on the zope filesystem. When one of the users tried to upload a 28MB file today, she got a Error 28 insufficient space. There is sufficient space on both the data and root partitions that the zope server lives on, so I don't think that is the problem. Does the zope filesystem have size limits that are in the range of 30MB?
No. People have often run out of space on the drive or partition where temporary files are stored - the upload apparently is stored as a temporary file until it is complete. It could also be a limit the server imposes on individual users, but that doesn't seem to be reported very often. Cheers, Tom P
"Thomas" == Thomas B Passin <tpassin@mitretek.org> writes:
Thomas> No. People have often run out of space on the drive or Thomas> partition where temporary files are stored - the upload Thomas> apparently is stored as a temporary file until it is Thomas> complete. It could also be a limit the server imposes on Thomas> individual users, but that doesn't seem to be reported Thomas> very often. OK, thanks for the info. I am still mystified because every partition on the servers hard drive has 100+MB free and the file in question is 28MB. Smaller uploads worked ok. As for the server limit -- I am the sole admin of the zope server and I certainly didn't set any limits. Hmmm... Is it possible that the file is converted to ASCII in some encoding for the upload, and so the 28MB binary file is expanding to 100+MB and I am bumping up against the free space on the root (eg /tmp) partition? John Hunter
Hi: This is weird. I stopped Zope (using the stop script provided) because I was going to test Tomcat (also on port 8080), but when I tried to restart zope again (as zoped, a user I've created for zope), it refused, and it's giving me this messages (by the way, I stopped Tomcat, so the port is free): ******************** Traceback (most recent call last): File "/usr/local/zope/z2.py", line 474, in ? zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid)) File "/usr/local/zope/lib/python/zdaemon/Daemon.py", line 73, in run pf = open(pidfile, 'w+') IOError: [Errno 2] No such file or directory: '/usr/local/zope/var/var/zProcessManager.pid' [zoped@coco zope]$ ------ 2002-04-12T21:05:21 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/zope/z2.py, line 495, in ? File <string>, line 1, in ? File /usr/local/zope/lib/python/Zope/__init__.py, line 22, in ? File /usr/local/zope/lib/python/OFS/Application.py, line 18, in ? File /usr/local/zope/lib/python/App/Product.py, line 39, in ? File /usr/local/zope/lib/python/ZClasses/__init__.py, line 20, in ? File /usr/local/zope/lib/python/ZClasses/ZClass.py, line 87, in ? (Object: ComputedAttribute) File /usr/local/zope/lib/python/OFS/misc_.py, line 21, in ? File /usr/local/zope/lib/python/OFS/misc_.py, line 27, in p_ File /usr/local/zope/lib/python/App/ImageFile.py, line 38, in __init__ IOError: [Errno 2] No such file or directory: '/usr/local/zope/AccessControl/www/User_icon.gif' ******************* However, when I try to start it as root (a bad idea, but I was just curious), it starts, and I can go to the manage area. What's going on? Am I going crazy, is it because it's Friday?. To test Tomcat I added a few env vars, but nothing that should mess python (only java stuff) What am I missing, any idea will be appreciated, Regards, Jorge M. -- Jorge O. Martinez MIS Senior Associate eMediaMillWorks 1100 Mercantile Lane, Suite 119 Largo, MD 20774 E-mail => jmartinez@eMediaMillWorks.com Phone => (301)883-2482 ext. 105 Fax => (301)883-9754
On Fri, Apr 12, 2002 at 05:20:02PM -0400, Jorge O. Martinez wrote:
Hi:
This is weird. I stopped Zope (using the stop script provided) because I was going to test Tomcat (also on port 8080), but when I tried to restart zope again (as zoped, a user I've created for zope), it refused, and it's giving me this messages (by the way, I stopped Tomcat, so the port is free):
(snip)
IOError: [Errno 2] No such file or directory: '/usr/local/zope/AccessControl/www/User_icon.gif'
Does this file exist, and what do its permissions look like?
*******************
However, when I try to start it as root (a bad idea, but I was just curious), it starts, and I can go to the manage area. What's going on?
When root can do something that another user can't, there are only two likely explanations: 1) the permissions are wrong, or 2) the two users have different environment variables If the cause was bad permissions, python would tell you something like IOError: [Errno 13] Permission denied: '/foo/bar/baz' Therefore, I strongly suspect that root runs zope with some critical environment setting that your other user does not have. Some path must be set wrong. Try grepping around in the zope installation for that filename, see where it's being used. Also do a "find" for User_icon.gif and see where it really is. I bet it's not in that directory... --PW
participants (4)
-
John Hunter -
Jorge O. Martinez -
Paul Winkler -
Thomas B. Passin