php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #850 pconnects fail if database has released session
Submitted: 1998-10-15 17:33 UTC Modified: 1999-10-03 06:34 UTC
From: peter dot lerner at bayreuth dot baynet dot de Assigned: kara (profile)
Status: Closed Package: Adabas-D related
PHP Version: 3.0.4 OS: Linux 2.0.35
Private report: No CVE-ID: None
 [1998-10-15 17:33 UTC] peter dot lerner at bayreuth dot baynet dot de
using php3 (phplib5) / apache 1.3.2 and adabas-d i noticed some annoying behaviour with pconnects.

pconnects are established o.k. and you can use them.
but you can only use them for a while ... until adabas
explicitly releases the session after some timeout.

SQL error: [SOFTWARE AG][ODBCLIB A][ADABAS]Communication link failure;-807 CONNECTION DOWN,  
SESSION RELEASED.

the explanation reads as follows ...

  -807 CONNECTION DOWN,  SESSION RELEASED
Erl?uterungen: 
Alle Datenbankverbindungen wurden mit RELEASE abgeschlossen. 
<explanation: database connection was finished with RELEASE>
Benutzerreaktion: 
Eine neue Verbindung ist mit CONNECT aufzubauen. 
<user reaction: reconnect to database with CONNECT> 

workaround: restart apache, then all connections work o.k.
until the next session timeout from adabas.

could this error condition be checked by php3 and the database
automatically reconnected, if there is any need?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-03 06:34 UTC] kara at cvs dot php dot net
Disable auto logoff on serverside
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 08 02:01:28 2024 UTC