Re: [Zope] queryCatalog API?
--On 18. März 2008 14:25:19 +1300 James Robertson <[EMAIL PROTECTED]> wrote: Is there an API for the queryCatalog() method? In order words a comprehensive definition of the parameters/arguments it accepts. queryCatalog() is a Plone(!) API, not a Zope API. If you look at the queryCatalog.py script of Plone, you'll find the complete parameter list within the sources. Most parameters are self-explaining. -aj pgpOWDqUXAJNt.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] queryCatalog API?
Is there an API for the queryCatalog() method? In order words a comprehensive definition of the parameters/arguments it accepts. The only definition I can usually find is that is accepts a catalog_query with no definition of what that may be. James ___ 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] Re: Zope Zeo Performance
FuBuJo wrote at 2008-3-14 22:06 +: > ... >I thought putting Apache in front of Zope was very common (using VirtualHost >Monster) - guess not. This is common. But, usually, a ZEO client is not abbreviated as "ZEO". "ZEO" usually means the ZEO server. > ... >It's the python process on the Zeo Client that grows large and seems to become >unresponsive. Possibly due to the "Transaction blocking" being reported in the >Zeo Severs log. Occational "transaction blocking" messages are no reason to worry about. Only, when you see it very often or the number of waiting clients is quite high, bad things are happening. -- Dieter ___ 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] Re: RedHat blows up? (another post follow up)
FuBuJo wrote at 2008-3-14 19:38 +: > ... >The behavior we found is that the python process running as the "Zeo Client" >eventually takes up a large amount of resident memory (1.5 Gig or so), load >average gets high (1.5 or so), and the end users start experiencing a very >'slow' experience. Does your system start swapping? In this case, you need to take urgent counter measures: * provide more RAM * check your configuration that affect memory consumption. The "temporary storage" hosting the sessions is often misconfigured. If you put large amounts of data in your sessions, this may be a considerable memory hog. Maybe, you need to make your ZODB caches smaller or reduce the number of concurrent threads. * check whether your application contains memory leaks. Unfortunately, this is not easy. >Even when traffic is removed from the box - you still get a >large response time (>10s). This is Linux kernel 2.6.18-8.el5xen. Python sits on top of the C runtime memory allocation -- and this allocation does not support compaction. This means that the memory used in your program is likely to be scattered all over the process address space. Therefore, even with small load, you may face large response times when your system is unable to hold the (usally large) working set in memory. -- Dieter ___ 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] zip files corrupted with IE when opened, fine when downloaded
thanks Jim I'll try that robert Jim Washington schrieb: > Jim Washington wrote: >> robert rottermann wrote: >>> Hi there, >>> we have a problem with an intranet that runs using plone 2.5.3 >>> >>> when users using IE want to open a zip file from the intranet by using >>> the "open" option from the download dialog they get winzip complaining >>> that the file is corrupted. >>> if they select "save" from the same dialog they can open the zip archive >>> without problem. >>> >>> does anyone know a solution for this or give me an idea where to look >>> for one? >>> >> I had a similar problem with pdf files, and googling indicated that IE >> might be deleting the cached copy of the document before the opening >> application can get to it. >> >> I have had some success setting cache control to "private". Something >> like: >> >> request.response.setHeader('cache-control','private') >> >> "private,must-revalidate" may also be a good value, depending on your >> situation. >> > I Googled back through and found that the problem usually manifests when > you have a 'cache-control':'no-cache' header. The above explanation was > not quite right. > > Anyway, either removing the "no-cache" header or using one that allows > the local machine to keep a copy should work, if the problem is in fact > a 'no-cache' header. > > - Jim Washington > ___ > 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 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] zip files corrupted with IE when opened, fine when downloaded
Jim Washington wrote: robert rottermann wrote: Hi there, we have a problem with an intranet that runs using plone 2.5.3 when users using IE want to open a zip file from the intranet by using the "open" option from the download dialog they get winzip complaining that the file is corrupted. if they select "save" from the same dialog they can open the zip archive without problem. does anyone know a solution for this or give me an idea where to look for one? I had a similar problem with pdf files, and googling indicated that IE might be deleting the cached copy of the document before the opening application can get to it. I have had some success setting cache control to "private". Something like: request.response.setHeader('cache-control','private') "private,must-revalidate" may also be a good value, depending on your situation. I Googled back through and found that the problem usually manifests when you have a 'cache-control':'no-cache' header. The above explanation was not quite right. Anyway, either removing the "no-cache" header or using one that allows the local machine to keep a copy should work, if the problem is in fact a 'no-cache' header. - Jim Washington ___ 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] zip files corrupted with IE when opened, fine when downloaded
robert rottermann wrote: Hi there, we have a problem with an intranet that runs using plone 2.5.3 when users using IE want to open a zip file from the intranet by using the "open" option from the download dialog they get winzip complaining that the file is corrupted. if they select "save" from the same dialog they can open the zip archive without problem. does anyone know a solution for this or give me an idea where to look for one? I had a similar problem with pdf files, and googling indicated that IE might be deleting the cached copy of the document before the opening application can get to it. I have had some success setting cache control to "private". Something like: request.response.setHeader('cache-control','private') "private,must-revalidate" may also be a good value, depending on your situation. It's worth a try... - Jim Washington ___ 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] zip files corrupted with IE when opened, fine when downloaded
Hi there, we have a problem with an intranet that runs using plone 2.5.3 when users using IE want to open a zip file from the intranet by using the "open" option from the download dialog they get winzip complaining that the file is corrupted. if they select "save" from the same dialog they can open the zip archive without problem. does anyone know a solution for this or give me an idea where to look for one? thanks robert ___ 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 )