Re: [Zope-dev] Fault tolerance and thread-loss
Hello I had thread blocking in my installation du to using the sendmail tag with invalid recipient(empty). I solved this and now my 3 'production' zope installations works well since months. Gilles Lavaux -Original Message- From: Jay, Dylan <[EMAIL PROTECTED]> To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]> Date: Tuesday, December 19, 2000 12:51 AM Subject: [Zope-dev] Fault tolerance and thread-loss >I'm finding that my installation is blocking all requests after awhile. By >best guess would be that threads are being used and somehow becoming >permanently blocked. When all 4 are gone then the server is useless and has >to be restarted. > >Seems to me this is a real problem for fault tolerance. Perhaps a monitor >should be run on a separate thread that starts aborting transactions when >they have been running too long and there are few remaining threads. > >Does this exist already? > > >Dylan Jay mailto:[EMAIL PROTECTED] >Avaya Communication Tel: +61 2 9886-8961 >Level 5, 15 Talavera Road FAX: +61 2 9352 9224 >Nth Ryde NSW 2113 Mobile:0409 606 171 >AUSTRALIA > >___ >Zope-Dev maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope-dev >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Fault tolerance and thread-loss
At 12/18/00 09:58 PM, Tres Seaver wrote: >I'm not really replying to either question, but guessing at the >underlying cause of the problem: this smells *exactly* like the >behavior induced by the "multiple PUT/POST" race condition bug, >corrected by Evan Simpson's patched ZServer/HTTPServer.py: > > http://www.zope.org/Members/4am/postfixbug Or, even more, http://www.zope.org/Members/4am/postbugfix -- Dennis Nichols [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Fault tolerance and thread-loss
"Chris McDonough" <[EMAIL PROTECTED]> wrote: > > No. You shouldn't be leaking threads. Can you trace the thread > leakage down to a single Product? > > - Original Message - > From: "Jay, Dylan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, December 18, 2000 7:00 PM > Subject: [Zope-dev] Fault tolerance and thread-loss > > > > I'm finding that my installation is blocking all requests after > > awhile. By best guess would be that threads are being used and > > somehow becoming permanently blocked. When all 4 are gone then > > the server is useless and has to be restarted. > > > > Seems to me this is a real problem for fault tolerance. Perhaps > > a monitor should be run on a separate thread that starts aborting > > transactions when they have been running too long and there are > > few remaining threads. > > > > Does this exist already? I'm not really replying to either question, but guessing at the underlying cause of the problem: this smells *exactly* like the behavior induced by the "multiple PUT/POST" race condition bug, corrected by Evan Simpson's patched ZServer/HTTPServer.py: http://www.zope.org/Members/4am/postfixbug Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations "Zope Dealers" http://www.zope.org ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Fault tolerance and thread-loss
On 12/18/00 7:45 PM, "Chris McDonough" <[EMAIL PROTECTED]> wrote: > No. You shouldn't be leaking threads. Can you trace the thread leakage > down to a single Product? A likely place (or at least one I've seen) is people writing External Methods that grab a database connection, but never release it. This causes you to leak the connections until you're out, and then booom The site hangs. Chris -- | Christopher Petrilli Digital Creations | [EMAIL PROTECTED]Where Zope comes from ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Fault tolerance and thread-loss
No. You shouldn't be leaking threads. Can you trace the thread leakage down to a single Product? - Original Message - From: "Jay, Dylan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 18, 2000 7:00 PM Subject: [Zope-dev] Fault tolerance and thread-loss > I'm finding that my installation is blocking all requests after awhile. By > best guess would be that threads are being used and somehow becoming > permanently blocked. When all 4 are gone then the server is useless and has > to be restarted. > > Seems to me this is a real problem for fault tolerance. Perhaps a monitor > should be run on a separate thread that starts aborting transactions when > they have been running too long and there are few remaining threads. > > Does this exist already? > > > Dylan Jay mailto:[EMAIL PROTECTED] > Avaya Communication Tel: +61 2 9886-8961 > Level 5, 15 Talavera Road FAX: +61 2 9352 9224 > Nth Ryde NSW 2113 Mobile:0409 606 171 > AUSTRALIA > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )