Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002877 [Quercus] feature always 08-28-08 11:38 09-05-08 15:29
Reporter emil View Status public  
Assigned To nam
Priority high Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.2.1 Product Version 3.2.1
  Product Build
Summary 0002877: Add option to disable database connection pooling
Description Connection pooling causes problems for certain applications which do their own pooling/caching.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0003380)
nam
09-03-08 23:47

php/2023

Use <connection-pool> servlet setting. If the db spy log is enabled, you'll see connections being "destroyed" in log.

<web-app xmlns="http://caucho.com/ns/resin"> [^]
  <servlet-mapping url-pattern="*.php"
                   servlet-class="com.caucho.quercus.servlet.QuercusServlet">
    <init>
      <connection-pool>false</connection-pool>
    </init>
  </servlet-mapping>
</web-app>
 
(0003397)
nam
09-05-08 15:29

<connection-pool>false</connection-pool> disables the servlet connection pool. There is another connection pool and that one is per request. It is a feature of PHP and that is not disabled by this setting.

http://us.php.net/manual/en/function.mysql-connect.php [^]
If $new_link = true and if and only if <connection-pool> is disabled, then an absolutely new connection is made. Otherwise, an old connection may be reused.
 

- Issue History
Date Modified Username Field Change
08-28-08 11:38 emil New Issue
09-03-08 23:44 nam Status new => assigned
09-03-08 23:44 nam Assigned To  => nam
09-03-08 23:47 nam Status assigned => closed
09-03-08 23:47 nam Note Added: 0003380
09-03-08 23:47 nam Resolution open => fixed
09-03-08 23:47 nam Fixed in Version  => 3.2.1
09-05-08 15:24 nam Status closed => assigned
09-05-08 15:29 nam Status assigned => closed
09-05-08 15:29 nam Note Added: 0003397
09-05-08 15:38 koreth Issue Monitored: koreth


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker