[Zope-dev] Connection policies.
Yesterday I made a Zope 2 branch named chrism-zserver-connection-policies-branch. The benefits that result from the changes are that you can reserve a thread pool for a particular set of ZServer servers, and that you can specify alternate ZODB connection policies on a per-server basis. This will allow sites which are having resource exhaustion problems (e.g. running out of threads, running out of database connections) to continue to be accessible via servers running on special ports for debugging and maintenance purposes. I'd like to merge this into the trunk at some point, but I'd like some feedback first. -- Chris McDonough [EMAIL PROTECTED] Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Connection policies.
Chris McDonough wrote: Yesterday I made a Zope 2 branch named chrism-zserver-connection-policies-branch. The benefits that result from the changes are that you can reserve a thread pool for a particular set of ZServer servers, and that you can specify alternate ZODB connection policies on a per-server basis. This will allow sites which are having resource exhaustion problems (e.g. running out of threads, running out of database connections) to continue to be accessible via servers running on special ports for debugging and maintenance purposes. I'd like to merge this into the trunk at some point, but I'd like some feedback first. Forgive me, but I don't see the motivation: a database connection represents a large chunk of RAM. Won't the new policies just cause overloaded sites to also run out of RAM? Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Upload all files at once
Hi: I am new for this zope and wondering if anybody knows how to upload all the files from a folder (or whole folder)! The reason I am doing this is I have a PowerPoint presentation to go with the link. When I covert it into webpage format, all the associated files stored in the folder which I believe I need to store them too. Uploading those files one by one is not the solution I should be looking at, right! So, I appreciate any help to resolve this problem. Thanks. -Sumana ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Connection policies.
Forgive me, but I don't see the motivation: a database connection represents a large chunk of RAM. Won't the new policies just cause overloaded sites to also run out of RAM? No. Well, at least one implementation won't. ;-) We don't reserve a pool of database connections for the special servers. The connection policy can use a temporary connection, which AFAIK does not keep a ZODB cache. But you're right in the sense that this won't help RAM-bound applications; that's what AutoLance is for. It will help debug sites where there's a database connection leak or sites where all public threads are tied up waiting for a database connection (if only to be able to restart it via the mgmt interface). - C ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Upload all files at once
try to subscribe to [EMAIL PROTECTED] for such questions. here you are in the developers mailinglist ;-) -sp ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Connection policies.
Chris McDonough wrote: Forgive me, but I don't see the motivation: a database connection represents a large chunk of RAM. Won't the new policies just cause overloaded sites to also run out of RAM? No. Well, at least one implementation won't. ;-) We don't reserve a pool of database connections for the special servers. The connection policy can use a temporary connection, which AFAIK does not keep a ZODB cache. But you're right in the sense that this won't help RAM-bound applications; that's what AutoLance is for. It will help debug sites where there's a database connection leak or sites where all public threads are tied up waiting for a database connection (if only to be able to restart it via the mgmt interface). Ah! Ok, so it's meant for admin-only access. That's a fine idea. Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Upload all files at once
Your message were better directed to mailto:[EMAIL PROTECTED], the mailing list for Zope use (rather than Zope development). Sumana Hegde wrote at 2003-10-1 10:59 -0500: I am new for this zope and wondering if anybody knows how to upload all the files from a folder (or whole folder)! The reason I am doing this is I have a PowerPoint presentation to go with the link. When I covert it into webpage format, all the associated files stored in the folder which I believe I need to store them too. Uploading those files one by one is not the solution I should be looking at, right! So, I appreciate any help to resolve this problem. You can use FTP, WebDAV or loadsite.py... Dieter ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )