Understood, and agreed.  From digging deeper into this it does look like it 
was some sort of WK<->Mysql problem --probably MySQL barfed because of too 
many connections or something.  The problem is that MySQL recovered fine but 
WK did not.  Restarting WK is definitely the "nuclear" option, but I am out 
of ideas... my other one is wrapping DB cursor access with another class, 
catching the error and then either refreshing the connection and/or 
restarting WK --if that's possible, i.e. restarting WK from within itself...

Just brainstorming guys...

C.



>From: "Love, Jay" <[EMAIL PROTECTED]>
>To: 'Ian Bicking' <[EMAIL PROTECTED]>, Costas Malamas  
><[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: RE: [Webware-discuss] Webkit hangs after MySQL error (more info)
>Date: Sun, 10 Feb 2002 09:30:11 -0500
>
>
> > > > So, long story short it seems that WK just gave up.  Now,
> > I got an
> > > idea/request: since I am using mod_webkit (linux), how hard
> > would it be to
> > > rig mod_webkit up to restart the WK appserver if it has
> > failed to connect
> > > after X attempts?
> >
> > People have talked about it, but no one's done it.  I assume
> > this means
> > it's hard.  It would make sense to try it out with
> > WebKit.cgi, which is
> > easier to play around with, and then it might be ported to mod_webkit.
> >
>
>
>We have talked about this at various times, but noone has done it because, 
>I
>think, WebKit doesn't crash unless there's something really wrong.  And if
>there's something really wrong, you probably need to dig in and figure it
>out.
>
>The most common cause for a webkit crash, actually a python crash, is a
>problem with an external C module, usually a DB module.
>
>It would not be hard to have mod_webkit restart the AppServer.  It just
>hasn't been a priority to do it.
>
>Jay
>
>
>----------------------------------------------------------------------------
>
>This e-mail and any attachments may be confidential or legally privileged.
>If you received this message in error or are not the intended recipient, 
>you
>should destroy the e-mail message and any attachments or copies, and you 
>are
>prohibited from retaining, distributing, disclosing or using any 
>information
>contained herein.  Please inform us of the erroneous delivery by return
>e-mail.
>
>Thank you for your cooperation.
>
>----------------------------------------------------------------------------
>
>


_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to