Re: [Zope] ZCatalog Strategy

2006-03-22 Thread Jonathan
One factor is the amount of ram that you have. If you have enough ram to fit the entire catalog (with indexes) then your search time is very fast. I would err on the side of less meta-data. We currently run about 1 million entries in a zcatalog with very little meta-data and then use restric

[Zope] ZCatalog Strategy

2006-03-22 Thread Mark Gibson
I'm struggling to weigh the cost of getObject() vs. the cost of adding more metadata to the catalog. I'll explain my situation. I have 10,000 widgets cataloged. I do a path and date query that returns me maybe 12 of these. Then I have a choice of calling getObject().getData() on each of the

Re: [Zope] Strange errors while 'make'ing

2006-03-22 Thread a blob of green gelatin
On Wed, 22 Mar 2006, a blob of green gelatin wrote: Maybe PyUnicodeUCS2_AsEncodedString is the culprit?. RedHat 9 and SuSE 9 and later ship with UCS4 builds of Python and Zope, so please download the UCS4 versions of the product. To find out which Python Unicode you have, please run the foll

Re: [Zope] Strange errors while 'make'ing

2006-03-22 Thread a blob of green gelatin
On Wed, 22 Mar 2006, Jens Vagelpohl wrote: slimemold[62]:/home/jello/zope/bin% ./zopectl start Traceback (most recent call last): File "/usr/local/bin/zope/lib/python/Zope2/Startup/zopectl.py", line 316, in ? main() File "/usr/local/bin/zope/lib/python/Zope2/Startup/zopectl.py", line 2

Re: [Zope] Strange errors while 'make'ing

2006-03-22 Thread a blob of green gelatin
On Tue, 21 Mar 2006, David wrote: undefined symbol: PyUnicodeUCS2_AsEncodedString Blob, FWIW, Maybe PyUnicodeUCS2_AsEncodedString is the culprit?. Found this via google (http://www.egenix.com/files/python/mxODBC-Zope-DA.html): *Python Unicode versions:* If you get errors mentioning "unreso

Re: [Zope] Nabble, again?

2006-03-22 Thread R Morris
Chris Withers wrote: > > snip... > > Dunno what Nabble is, but if you "added it to the original post" there, > then you should be aware that those of us who work offline can no longer > help you. > > I have no idea what Nabble is, but it seems kinda pointless. Why don't > you just subscribe

Re: [Zope] Zope + Apache on Quad Debian machine

2006-03-22 Thread Hugo Ramos
Thanks Kevin, It's a very good architecture option. I'm afraid a bit too late to test.. I'm already in production with the new architecture and CPU affinity. It's running smoothly though.. :-) Regards Hugo On 3/22/06, ksmith99 <[EMAIL PROTECTED]> wrote: > > Hi Hugo, > > I've got a similar setu

Re: [Zope] Zope + Apache on Quad Debian machine

2006-03-22 Thread ksmith99
Hi Hugo, I've got a similar setup, Compaq DL580 on a Quad Xeon with 3gb of ram on Debian. To overcome the GIL and avoid dealing with CPU affiinity and to optimize server utilization, I started using Xen virtualization to create multiple virtual servers. It's open source and works great. Check o

Re: [Zope] Nabble, again?

2006-03-22 Thread Philip Kilner
Hi Chris, Chris Withers wrote: > Dunno what Nabble is > You could always google for it... ;-) (Sorry - couldn't help myself!) -- Regards, PhilK Email: [EMAIL PROTECTED] PGP Public key: http://www.xfr.co.uk Voicemail & Facsimile: 07092 070518 "You'll find that one part's sweet and one pa

Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-03-22 Thread manuel spuhler
Zope/Plone binary installer from http://plone.org/products/plone runs perfectly on Mac Intel !;-) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.

Re: [Zope] Re: Give it a rest + answers. (Re: Re: Zope + Apache on Quad Debian machine)

2006-03-22 Thread Andrew Sawyers
On Wed, 2006-03-22 at 08:24 -0500, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > WHile at ZC, one of the other engineers and I did some testing on SMB > boxes, and found that "one appserver per CPU" gave us near linear > scaling of the application, without any explicit

Re: Give it a rest + answers. (Re: [Zope] Re: Zope + Apache on Quad Debian machine)

2006-03-22 Thread Hugo Ramos
Many things were said here... Lots of Kb's spent going around the world... The main question remained unexplained! Maybe Chris didn't know the answer and just directed this thread to another direction where he could be much more exposed as the "zope@zope.org father"??? I don't know. What I do kno

[Zope] Nabble, again?

2006-03-22 Thread Chris Withers
wavemaster2000 wrote: the bottom of the traceback was html code, I have added it to the original post -- View this message in context: http://www.nabble.com/error-while-importing-t1318120.html#a3516745 Sent from the Zope - General forum at Nabble.com. Dunno what Nabble is, but if you "added it

Re: Give it a rest + answers. (Re: [Zope] Re: Zope + Apache on Quad Debian machine)

2006-03-22 Thread Chris Withers
Dario Lopez-Kästen wrote: Unfortunaltey, that is the ways things work, and I think we all have to prepare to be nice to those newbies too. I think we have a right to expect those newbies to be nice back ;-) Generally speaking, with the growing poularity of Zope-solutions, where Plone and CPS

[Zope] Re: Give it a rest + answers. (Re: Re: Zope + Apache on Quad Debian machine)

2006-03-22 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dario Lopez-Kästen wrote: > Let me be the first to admit my total lack of knowledge of kernel task > schedulers, but generally speaking, unless the scheduler makes sure that > a threaded python process never ever gets distributed over two > processo

Re: [Zope] Strange errors while 'make'ing

2006-03-22 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22 Mar 2006, at 02:16, a blob of green gelatin wrote: slimemold[62]:/home/jello/zope/bin% ./zopectl start Traceback (most recent call last): File "/usr/local/bin/zope/lib/python/Zope2/Startup/zopectl.py", line 316, in ? main() File "/u

Re: Give it a rest + answers. (Re: [Zope] Re: Zope + Apache on Quad Debian machine)

2006-03-22 Thread Dario Lopez-Kästen
Chris Withers said the following on 2006-03-22 01:36: Dario Lopez-Kästen wrote: Dario, I actually think your comment here is a bit out of order if you're referring to this post of mine: http://mail.zope.org/pipermail/zope/2006-March/165574.html yes, it was and I apologise for it, you did p

Re: Give it a rest + answers. (Re: [Zope] Re: Zope + Apache on Quad Debian machine)

2006-03-22 Thread Dario Lopez-Kästen
Jeff Donsbach said the following on 2006-03-21 17:26: Dario, Do you have any kind of comparison numbers of using CPU affinity vs not for your particular case? Also, are you using ZEO or not? It's not that I don't believe you when you say it matters a lot for you. I do believe you. Like Tino