Zope hangs when copying large/many objects
Hi Zopies, Some time ago i had already the prob that Zope hangs when copying (Cutting) many objects at once. I couldn't solve it but had to copy 500 objects in steps a 50. Now i get similar "hangings" when copying large objects (ie. a ZWiki folder with many pages). I remember having read that it might be something about zope's cache but don't remember... Any ideas appreciated! P.S. I had no success yet when googling cu Flo Florian -- Florian Konnertz --- http://www.florian-konnertz.de ------------------------------------------------------- http://openspirit.homelinux.net/noowiki/FrontPage Improved ZWiki about all topics, especially consciousness research and wisdom traditions http://www.openmovie.org multimedia project Have a nice day!
What Cut/Copy/Paste does is export to a tempfile, and reimport at the destination. So, copy/paste should never take longer than export/import. The perceived "hanging" might just be "taking a really long period of time", or it may be caused by insufficient diskspace in your /tmp partition. Stefan --On Mittwoch, 22. Jänner 2003 15:20 +0100 Florian Konnertz <florian.konnertz@web.de> wrote:
Hi Zopies, Some time ago i had already the prob that Zope hangs when copying (Cutting) many objects at once. I couldn't solve it but had to copy 500 objects in steps a 50.
Now i get similar "hangings" when copying large objects (ie. a ZWiki folder with many pages).
I remember having read that it might be something about zope's cache but don't remember...
Any ideas appreciated!
P.S. I had no success yet when googling
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/
Stefan H. Holek wrote:
What Cut/Copy/Paste does is export to a tempfile, and reimport at the destination. So, copy/paste should never take longer than export/import.
The perceived "hanging" might just be "taking a really long period of time", or it may be caused by insufficient diskspace in your /tmp partition.
I see. Thanks for the info, this makes sense, partly at least: In spite the server seems to be hanging, it executes a few operations (about 20 in an hour for example), it's just incredible slow. When i direct my browser to do several requests it starts waiting for response, so i guess the orders are in a kinda queue at the server, is this right? What about the memory: Top shows a very high memory allocation: PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 9201 nobody 16 5 299M 228M 1176 S N 2.9 91.1 5:21 python 9203 nobody 16 5 299M 228M 1176 S N 2.7 91.1 18:15 python The harddisk has 1,5G free space, it's one partition, there's in enough space in /tmp, i guess. My friend checks this at the moment. RAM according to dmesg: Memory: 256816k/262080k available (1249k kernel code, 4880k reserved, 513k data, 72k init, 0k highmem) later: Freeing unused kernel memory: 72k freed Adding Swap: 136512k swap-space (priority -1) Futhermore: Out of Memory: Killed process 3265 (python). Out of Memory: Killed process 3269 (python). ... etc. What does this tell me in this context? Needs more mem??? cu Florian -- Florian Konnertz --- http://www.florian-konnertz.de ------------------------------------------------------- http://openspirit.homelinux.net/noowiki/FrontPage Improved ZWiki about all topics, especially consciousness research and wisdom traditions http://www.openmovie.org multimedia project Have a nice day!
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 9201 nobody 16 5 299M 228M 1176 S N 2.9 91.1 5:21 python 9203 nobody 16 5 299M 228M 1176 S N 2.7 91.1 18:15 python
You're into swap, thats why its so slow, either get more memory or change your strategy.
The harddisk has 1,5G free space, it's one partition, ... Memory: 256816k/262080k available ... Adding Swap: 136512k swap-space (priority -1)
This is not a well configured server, nor is this the list to discuss why, but if you want to get a reasonable amount of performance out your hardware I suggest you research system setup & rationale some. -- Jamie Heilman http://audible.transient.net/~jamie/ "We must be born with an intuition of mortality. Before we know the words for it, before we know there are words, out we come bloodied and squalling with the knowledge that for all the compasses in the world, there's only one direction, and time is its only measure." -Rosencrantz
Jamie Heilman wrote:
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 9201 nobody 16 5 299M 228M 1176 S N 2.9 91.1 5:21 python 9203 nobody 16 5 299M 228M 1176 S N 2.7 91.1 18:15 python
You're into swap, thats why its so slow, either get more memory or change your strategy.
The harddisk has 1,5G free space, it's one partition,
...
Memory: 256816k/262080k available
...
Adding Swap: 136512k swap-space (priority -1)
This is not a well configured server, nor is this the list to discuss why, but if you want to get a reasonable amount of performance out your hardware I suggest you research system setup & rationale some.
Thanks for the confirmation. I don't want to discuss this here of course. At the moment it's running well, my friend the admin did something (haven't asked yet). Florian -- Florian Konnertz --- http://www.florian-konnertz.de ------------------------------------------------------- http://openspirit.homelinux.net/noowiki/FrontPage Improved ZWiki about all topics, especially consciousness research and wisdom traditions http://www.openmovie.org multimedia project Have a nice day!
participants (3)
-
Florian Konnertz -
Jamie Heilman -
Stefan H. Holek