which statement freezes? Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> From: [email protected] > To: [email protected] > Subject: DBI Oracle: Perl script freezes when loses connection > Date: Mon, 28 Sep 2009 16:51:39 -0400 > > I have perl programs with persistent connections to oracle via DBI. > > It seems that when the connection dies, the perl script freezes without any > error output. > > I have a manager script that detects no output, kills and restarts it but I'm > wondering if there is a way to trap the error. > > All of my transactions are wrapped in eval statements. > > The reason it's an issue is that the DB is unavailable so often, I need a > better error than inactivity to help the DBA group track down the root cause > (backups?). > > I seem to remember this being discussed before but I am not finding it when I > search. > > Any help would be appreciated. > > Perl 5.8.0 > DBI: 1.603-1 > DBD/Oracle.pm: 1.20 > Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production > > Thanks, > > Matt. > > Matthew Dougherty > [email protected] > _________________________________________________________________ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009
