[Zope-dev] Correct Usage of Page Templates

2002-10-04 Thread Brian R Brinegar
Good Day, I'm having trouble grasping the complete usage of Page Templates. I understand the beauty of TAL and METAL. I have say a hundred secretaries that use WebDAV clients to create and edit content. Currently if one of them creates new content in say MS Word and drags it on to the Zope

[Zope-dev] Medusa Request Queue/profiling

2002-10-10 Thread Brian R Brinegar
Good day, We are in the process of profiling our web cluster which runs ZEO. One thing I am interested in is what happens when a Zeo Client recieves more requests than it has threads to handle. Our Zeo Clients have 8 threads running. It is my understanding that if more than 8 requests are sent

Re: [Zope-dev] Medusa Request Queue/profiling

2002-10-10 Thread Brian R Brinegar
On Thu, 10 Oct 2002, Toby Dickenson wrote: On Thursday 10 Oct 2002 5:06 pm, Brian R Brinegar wrote: And my first intuition is to increase the number of threads. If your system is already cpu bound then your intuition may be wrong. more threads means more context switching overhead

[Zope-dev] Non Bloating Page Counter

2002-11-05 Thread Brian R Brinegar
Hello, We've had requests from several of our users for the ability to have a drop in page counter within zope. However creating a page counter python script which increments some value in zope will bloat the ZODB. Solutions exist where values are stored on the file system or in a database.

[Zope-dev] Production System Specs

2002-11-18 Thread Brian R Brinegar
Hello, Can anyone point me at some recommended setups for a ZEO cluster. I would like some or all of the following information: * Hardware Specs * Load Balancing * Caching Information (Apache / Squid Caches) Any information would be very helpful. Thanks, -Brian Brinegar

[Zope-dev] Zope Caches

2002-11-21 Thread Brian R Brinegar
Okay, I'm trying to better understand Caching within Zope. Is a cache created for each Zope Thread? Or one per Zope instance? We have 3 ZEO Clients with 4 Threads each. I want to know if we have 3 copies of the cache, or 12 copies of the cache. Thanks, -Brian

Re: [Zope-dev] Zope Caches

2002-11-21 Thread Brian R Brinegar
Not RAM Cache managers, but Database caches. -Brian On Thu, 21 Nov 2002, Shane Hathaway wrote: Brian R Brinegar wrote: Okay, I'm trying to better understand Caching within Zope. Is a cache created for each Zope Thread? Or one per Zope instance? We have 3 ZEO Clients with 4 Threads

Re: [Zope-dev] Zope Caches

2002-11-21 Thread Brian R Brinegar
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? Thanks, -Brian On Thu, 21 Nov 2002, Shane Hathaway wrote: Brian R Brinegar wrote: Not RAM Cache

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

2002-11-22 Thread Brian R Brinegar
22 November 2002 10:18 am, Chris Withers wrote: Brian R Brinegar wrote: Within the Control_Panel/Database/ Cache Parameters there is a Target max time between accesses what is the Unit for this value? Seconds? Minutes? I haven't found it documented anywhere. Best ask Toby Dickenson

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] 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] Permissions Mapping Screen

2002-12-03 Thread Brian R Brinegar
Is there any reason that the acquired permission mapping cannot be displayed next to the check boxes on the Permission mapping screen? For example if I have Access User Information checked in the root of a site for Anonymous and I view the Security tab for a folder one level down I would like to

[Zope-dev] manage_roleForm (bug?)

2002-12-05 Thread Brian R Brinegar
Okay, From the manage_access screen in the ZMI I can click on a role to view the permissions assigned to that role. It was my assumption that this would show me the same information as if I had looked at the column of checkboxes below the selected Role. This is the case except for the Manager

[Zope-dev] Calling in Context

2002-12-13 Thread Brian R Brinegar
Howdy, Overview: I'm working on a helper product for Zope Presentation Templates. The goal of this product is to allow people to drop static content into a site developed with Zope Presentation Templates using WebDAV clients. (This is similar to the Kube Product but it's not folderish and

Re: [Zope-dev] Calling in Context

2002-12-13 Thread Brian R Brinegar
Okay, I've found that if I use self in place of self.aq_parent when calling getattr it gets the attribute in the context of self and everything works great! -Brian On Fri, 13 Dec 2002, Brian R Brinegar wrote: Howdy, Overview: I'm working on a helper product for Zope Presentation

[Zope-dev] ClientCache and Large Files

2002-12-16 Thread Brian R Brinegar
Hello, We're running ZEO with Zope 2.5.1. We currently have a ZEO Cache (ClientCache) of 200 meg. Occasionally someone will download a 300 meg file that completely blows away the client cache. Is there a way to prevent this? Thanks, -Brian Brinegar ECN Purdue University

[Zope-dev] title_or_id permissions on Files

2003-01-08 Thread Brian R Brinegar
Hello, I have a folder full of files. One of these files has the View permission removed from all roles so that no one can view this file. I also have a python script which lists the files in the folder like this: for file in context.objectValues('File'): print file.title_or_id() This code

Re: [Zope-dev] title_or_id permissions on Files

2003-01-10 Thread Brian R Brinegar
On Fri, 10 Jan 2003, Dieter Maurer wrote: Brian R Brinegar wrote at 2003-1-8 15:27 -0500: ... Everything works. I believe that the restricting permission for the title_or_id method should be Access Contents Information not View. However I am not sure where the title_or_id method

[Zope-dev] Effect of DB Writes on Performance

2003-01-15 Thread Brian R Brinegar
Hello, What effect do ZODB Writes have on Performance? We use Zope in an environment where users are constantly updating and maintaining content within the ZODB. Do these writes to the Database slow down overall performance? -Brian ___ Zope-Dev

[Zope-dev] Registering Product with Control Panel

2003-01-21 Thread Brian R Brinegar
Okay, I've got a product (Basic content object) Called HTMLBlock. When I start my ZEO Client with the product installed I don't recieve any error messages. The product is listed in the Select type to add... menu. However if I try to add an instance of the Product I recieve an AttributeError on

[Zope-dev] Unsynced ZEO Clients and Undo

2003-02-06 Thread Brian R Brinegar
Hello, We've run into a problem with Zope 2.5.1 and ZEO 1 where a user does an Undo and some of the ZEO clients reflect the change and others do not. I believe it has to do with caches getting out of sync. Is this a known problem? It has happened to us at least 4 times that I know of. Usually we

[Zope-dev] POSKeyErrors

2003-02-14 Thread Brian R Brinegar
We are running Zope 2.5.1 and ZEO 1. When someone does an Undo it doesn't seem to update all of the ZEO clients consistently. Some ZEO clients reflect the undo, others sometimes show an older version of the database and sometimes we get POSKeyErrors. Any idea what causes this? It's an old version

[Zope-dev] ZEO 2 and Zope 2.5.1

2003-02-17 Thread Brian R Brinegar
We've been using ZEO 1 with Zope 2.5.1 but some issues exist with ZEO 1, so we decided to move to ZEO 2. Everything is installed installs and starts normally. The server logs show a connection. However any HTTP requests sent to the ZEO client hang. I did a bit of poking around and it appears that

Re: [Zope-dev] ZEO 2 and Zope 2.5.1

2003-02-17 Thread Brian R Brinegar
We cannot move to Zope 2.6.1 until we have more time for testing. In the mean time we would like to have the improvements of ZEO 2. We were running ZEO 1.0. We are trying to move to ZEO 2.0.2 out of the ZODB 3.1.1 release using Zope 2.5.1. The server logs say: 2003-02-17T22:18:54 INFO(0)

[Zope-dev] Zope 2.5.1 with ZEO 2.0.2

2003-02-18 Thread Brian R Brinegar
Hello, We are trying to upgrade the ZEO component of our Zope 2.5.1 system from ZEO 1.0 to ZEO 2.0.2. We are using Python 2.1.3, everything is compiled from source. Everything installs and starts fine, however when a request is made to the ZEO Client it hangs. The ZEO Server log shows no

[Zope-dev] Re: [ZODB-Dev] Zope 2.5.1 with ZEO 2.0.2 (fwd)

2003-02-19 Thread Brian R Brinegar
On Wed, 19 Feb 2003, Tino Wildenhain wrote: Hi, On Tue, 18 Feb 2003 21:36:22 -0500 (EST) Brian R Brinegar [EMAIL PROTECTED] wrote: Sent this to zope-dev and haven't gotten a response. Thanks, -Brian -- Forwarded message -- Date: Tue, 18 Feb 2003 13:57:02 -0500 (EST

[Zope-dev] Object called from DTML

2003-02-24 Thread Brian R Brinegar
Okay, I have developed a product. When an instance of the product is called from DTML like, dtml-var object, REQUEST is not available. If I call a python script or a DTML Method from DTML REQUEST is available. The __call__ method is defined like this: def __call__(self, client=None, REQUEST={},