Exiting gracefully from Sybase in a perl CGI

Olufemi Mansa Anthony (femibyte@ritz.mordor.com)
Wed, 24 Jul 1996 12:05:07 -0400 (EDT)


I am currently using ths Perl5 Sybase::DBLib module to query a Sybase 
database from a CGI script. The trouble is that when the CGI is stopped 
(by the user) while it is querying the database the select process does 
not die but hangs around in a "lock sleep" status. When this happens a 
lot, 
it leads to database performance problems. Does anyone know of a module I 
could use to catch the STOP signal and gracefully close the Sybase 
connection?
I'd appreciate any replies by email.


------------------------------------------------------------------------
 Olufemi Anthony                                   "Without struggle...
 femibyte@ritz.mordor.com                           there is no progress..."
 http://www.mordor.com/femibyte                     Frederick Douglas
------------------------------------------------------------------------