Re: [Zope-dev] Re: Unsecure design of ExternalFile

2002-11-22 Thread Wei He
On Fri, 8 Nov 2002, Craeg K Strong wrote: OK How about this for the TODO list for ExternalFile: Hope it isn't too late discussing this issue. I have tested this product and gave up because of security considerations. And now I have to use it for large files. There is another aspect that

Re: [Zope-dev] PathIndex unindex fix

2002-11-22 Thread Chris Withers
Leonardo Rochael Almeida wrote: If you are to ignore errors, please ignore specific errors that are known to happen. Please don't use a generic except. ...or re-raise only ConflictErrors. Hmmm... this issue is perhaps deeper than it first appeared. Are conflict errors swallowed by the other

[Zope-dev] Single-threaded Zope

2002-11-22 Thread Carlo Giomini
Dear all, because of reasons that would be boring to explain,I have the following requirement for my site: I need Zope NOT to run as a single-process multithreaded application (as it does by default) but instead to run as a pool of processes (each one single-threaded); those processes should

[Zope-dev] consistent naming in ZEO releases

2002-11-22 Thread Andrew Sydelko
Ok, whoever is in charge of zope.com releases of things like DCOracle2, Zope and ZEO need to decide if the release file names are going to end in .tar.gz or .tgz. The inconsistency between releases is quite annoying. I know that I've been hit by it both from DCOracle2 and ZEO. The actual Zope

Re: [Zope-dev] Single-threaded Zope

2002-11-22 Thread Casey Duncan
The solution to your problem is to use ZEO. This allows any number of Zope application servers to share a single ZODB storage. The app servers and storage server do not need to be on the same machine, just connected via a local network. This is the standard way to make Zope scale for large

[Zope-dev] Re: [Zope] Cache Parameters

2002-11-22 Thread Brian R Brinegar
Is there a way in Zope 2.5 to see what kind of hit/miss ratio our cache is having? Currently we have 260,000 objects in our database and an ideal cache size of 10,000. And I'm not sure how often it's accessing the database. Thanks, -Brian On Fri, 22 Nov 2002, Toby Dickenson wrote: On Friday

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Brian R Brinegar
Thank you for your response. How does one determine if they have a reasonably-sized ZEO cache? In our case we have about 260,000 objects in the database with an ideal cache size of 10,000 objects. I have no idea what our hit/miss ratio is or how to find that out. Any assistance would be great!

Re: [Zope-dev] Re: Unsecure design of ExternalFile

2002-11-22 Thread Dieter Maurer
Wei He writes: ... I have an idea, but don't know whether it is possible: set uid. If there is a way Zope server can change uid to a predefined one before accessing an externally linked file, each webmaster will have permission to their own home directory plus some shared

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Guido van Rossum
Thank you for your response. How does one determine if they have a reasonably-sized ZEO cache? In our case we have about 260,000 objects in the database with an ideal cache size of 10,000 objects. I have no idea what our hit/miss ratio is or how to find that out. Any assistance would be

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Dieter Maurer
Brian R Brinegar writes: We have diskless ZEO clients (Netboot). There is really no reason for our ZEO clients to write their caches to the disk (RAM Disk). Can we turn this off? To free up RAM for the other caches? With Zope 2.5 and Zeo 1.x, no cache is written unless you define ZEO_CLIENT.

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Shane Hathaway
Dieter Maurer wrote: Brian R Brinegar writes: We have diskless ZEO clients (Netboot). There is really no reason for our ZEO clients to write their caches to the disk (RAM Disk). Can we turn this off? To free up RAM for the other caches? With Zope 2.5 and Zeo 1.x, no cache is written unless

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Shane Hathaway
Brian R Brinegar wrote: Okay, Tell me where I'm wrong or if I'm lucky and got it right. There is 1 client cache per thread on a ZEO client and 1 ZEO cache per ZEO client. The ZEO cache is shared between the threads. We have 3 machines 4 threads each that's 3 * 4 + 3 = 15 caches? Is this

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Brian R Brinegar
Okay, Tell me where I'm wrong or if I'm lucky and got it right. There is 1 client cache per thread on a ZEO client and 1 ZEO cache per ZEO client. The ZEO cache is shared between the threads. We have 3 machines 4 threads each that's 3 * 4 + 3 = 15 caches? Is this correct? If so what's cached in

Re: [Zope-dev] Zope Caches

2002-11-22 Thread Brian R Brinegar
On Fri, 22 Nov 2002, Shane Hathaway wrote: Brian R Brinegar wrote: Okay, Tell me where I'm wrong or if I'm lucky and got it right. There is 1 client cache per thread on a ZEO client and 1 ZEO cache per ZEO client. The ZEO cache is shared between the threads. We have 3 machines 4

[Zope-dev] Rapid Alternated Propositions

2002-11-22 Thread fr
Hi All, 1/ In ZMI : it could be cool, in general, to select all the checkboxes in one time with a little javascript function or something else ... 2/ if it is possible, why not group by product permissions, else in a general category if permissions are commons

[Zope-dev] Fw: Rapid Alternated Propositions

2002-11-22 Thread fr
Hi All, 1/ In ZMI : it could be cool, in general, to select all the checkboxes in one time with a little javascript function or something else ... 2/ In Security ZMI item : Why not group permissions by product or group in a general category when permissions are commons FR

Re: [Zope-dev] Fw: Rapid Alternated Propositions

2002-11-22 Thread Helge Tesdal
1) Something like the 'Select all' button strategically placed to the bottom right? If it's what you're looking for don't blame yourself for not finding it. -- Helge - Original Message - From: fr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 23, 2002 12:01 AM Subject: