ID: 17245 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: Oracle related +Bug Type: OCI8 related Operating System: SUN os 5.6(Solaris) PHP Version: 4.1.2 New Comment:
Moving this to OCI8, which is where OCIPLogin() belongs. Previous Comments: ------------------------------------------------------------------------ [2002-09-30 04:18:00] [EMAIL PROTECTED] Please tell me the solution of "Too many connection" the error occured in PHP while connecting to the database. if any body knows about the solution, then please mail me at the following email address: [EMAIL PROTECTED] I appreciate your help. Thanks ------------------------------------------------------------------------ [2002-05-15 07:32:10] [EMAIL PROTECTED] I am using apache1.3.22,php4.1.1 with oracle8 and OS is solaris as well as WINDOWS 2000. I am using the persistence connection(PHP ociplogin()) for update/insert/select to the database. The apache server is opeing a child process and holding connection(one connection per child) on every database transaction. For every request the connection is opening to database and it is not getting closed. As per PHP document(Pl refer the PHP doc on persistence connection) the child created by apache, holds the persistence connection until it die(child). But for every request the apache is crating the child(i am asuming... because it is opening databse connection every time) and it is trying to hold the database connection even the remaining childs are free(not doing any thing). After some time all of my database connections are in use and giving error "MAX number of connections exceeded". Bye SURESH. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17245&edit=1
