[Zope] No space left on device during an import

2008-08-07 Thread Olivier Nicole
Hi,

I am trying to import a large zexp (about 3GB) and the import aborst
with the message:
   IOError: [Errno 28] No space left on device

While it is trying to proceed, I can see my root partition quickly
exhausting, until it is used at 100% and the import aborts.

I tried to find where in the / partition Zope would create temporary
files, but I could not see any file created by Zope.

Is there a way to tell Zope to use the main storage (partition where
is the Data.fs) rather than Unix temporary storage?

I am running FreeBSD 6.3 and Zope 2.10 build from FreeBSD ports.

TIA,

Olivier
___
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] No space left on device during an import

2008-08-07 Thread Andreas Jung



--On 7. August 2008 15:28:35 +0700 Olivier Nicole [EMAIL PROTECTED] wrote:


Hi,

I am trying to import a large zexp (about 3GB) and the import aborst
with the message:
   IOError: [Errno 28] No space left on device

While it is trying to proceed, I can see my root partition quickly
exhausting, until it is used at 100% and the import aborts.

I tried to find where in the / partition Zope would create temporary
files, but I could not see any file created by Zope.

Is there a way to tell Zope to use the main storage (partition where
is the Data.fs) rather than Unix temporary storage?


Try setting the TMPDIR environment variable.

-aj

pgp4ypgJHB07q.pgp
Description: PGP signature
___
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 )


[Zope] No space left on device

2007-03-09 Thread tonylabarbara
Hi;
I'm moving everything over to a new server because the old server's OS is 
corrupt. I've d'l'd a 300MB *.zexp file from the old server. (I have to d'l it 
to my PC over a slow satellite connection, then upload it to the new server 
because of the corruption.) When I went to install it, I got this error:
 
No space left on device
 
Here's the entire traceback. Is this stating that it's too big for the 
temporary storage? Is there a way to increase that limit? I suppose I could 
create a new Data.fs with just this folder, but because of the above-mentioned, 
it's a nightmare downloading and then uploading it.
 
TIA,
Tony
 
Traceback (innermost last):
* Module ZPublisher.Publish, line 101, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module OFS.ObjectManager, line 543, in manage_importObject
* Module OFS.ObjectManager, line 560, in _importObjectFromFile
* Module ZODB.ExportImport, line 85, in importFile
* Module Products.TransactionAgents, line 54, in new_commit
* Module ZODB.Transaction, line 241, in commit
* Module ZODB.Transaction, line 356, in _commit_objects
* Module ZODB.Connection, line 344, in commit
* Module ZODB.ExportImport, line 157, in _importDuringCommit
* Module ZODB.TmpStore, line 87, in store
IOError: [Errno 28] No space left on device

AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.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] No space left on device

2007-03-09 Thread Andreas Jung



--On 9. März 2007 03:45:05 -0500 [EMAIL PROTECTED] wrote:


Hi;
I'm moving everything over to a new server because the old server's OS is
corrupt. I've d'l'd a 300MB *.zexp file from the old server. (I have to
d'l it to my PC over a slow satellite connection, then upload it to the
new server because of the corruption.) When I went to install it, I got
this error:
No space left on device



This is not a Zope issue but an issue of your system: your
file system is *full*. In detail your /tmp filesystem system to be full.
Either clear it or change the temporary directory for the Zope process
by setting the TMPDIR environment variable.

-aj

pgpm8XYHOgWsw.pgp
Description: PGP signature
___
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] No space left on device

2007-03-09 Thread tonylabarbara
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; zope@zope.org
Sent: Fri, 9 Mar 2007 4:49 AM
Subject: Re: [Zope] No space left on device


 
--On 9. März 2007 03:45:05 -0500 [EMAIL PROTECTED] wrote: 
 
  Hi; 
  I'm moving everything over to a new server because the old server's OS is 
  corrupt. I've d'l'd a 300MB *.zexp file from the old server. (I have to 
  d'l it to my PC over a slow satellite connection, then upload it to the 
  new server because of the corruption.) When I went to install it, I got 
  this error: 
  No space left on device 
  
 
 This is not a Zope issue but an issue of your system: your 
 file system is *full*. In detail your /tmp filesystem system to be full. 
 Either clear it or change the temporary directory for the Zope process 
 by setting the TMPDIR environment variable. 
 
Where? I added this line to zopectl and rebooted:
TMPDIR=/usr/local/zope/tmp
(usr has plenty of space) but it didn't help.
TIA,
Tony

AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.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] No space left on device

2007-03-09 Thread Maciej Wisniowski
 
 Where? I added this line to zopectl and rebooted:
 TMPDIR=/usr/local/zope/tmp
 (usr has plenty of space) but it didn't help.

TMPDIR=/usr/local/zope/tmp
export TMPDIR

also there is df -h command that shows free space
on devices, you may use this to observe how it
changes while importing etc.

-- 
Maciej Wisniowski
___
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] No space left on device

2007-03-09 Thread Tino Wildenhain

Maciej Wisniowski schrieb:
 

Where? I added this line to zopectl and rebooted:


rebooted? Lets hope you only restartet zope :-)


Regards
Tino
___
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] No space left on device

2007-03-09 Thread tonylabarbara
Right, restarted. But it didn't work, Tino. Any ideas? 
 
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: zope@zope.org
Sent: Fri, 9 Mar 2007 6:28 AM
Subject: Re: [Zope] No space left on device


Maciej Wisniowski schrieb: 
  Where? I added this line to zopectl and rebooted: 
 
rebooted? Lets hope you only restartet zope :-) 
 
Regards 
Tino 

AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.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 )