[Trac-tickets] [The Trac Project] #1661: Database locks after an error involving database with mod_python

The Trac Project noreply at edgewall.com
Sun Jun 12 07:39:42 CDT 2005


#1661: Database locks after an error involving database with mod_python
---------------------------------+------------------------------------------
       Id:  1661                 |      Status:  new                     
Component:  mod_python frontend  |    Modified:  Sun Jun 12 07:39:31 2005
 Severity:  critical             |   Milestone:                          
 Priority:  high                 |     Version:  devel                   
    Owner:  cmlenz               |    Reporter:  sam                     
---------------------------------+------------------------------------------
 After a Trac Oops error involving a database operation (such as page
 edition, generally occuring with concurrent page edition), the database is
 not closed by mod_python. According to cmlenz, it is the expected behavior
 because of the connection pool.

 But what's not expected is that the DB is then locked for a couple of
 minutes or until Apache is restarted.

 ''Additionnal information''
 Trac version: {{{trunk/ r1784}}}
 Sqlite: {{{2.8.16-1}}}, from Debian Sid package
 Python-sqlite: {{{1.0.1-2}}}, from Debian Sid package

 {{{
 [Sun Jun 12 14:26:06 2005] [notice] Apache/2.0.54 (Debian GNU/Linux) DAV/2
 SVN/1.1.4 mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-15 mod_ssl/2.0.54
 OpenSSL/0.9.7g mod_perl/1.999.23 Perl/v5.8.7 configured -- resuming normal
 operations
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1661>
The Trac Project <>


More information about the Trac-Tickets mailing list