php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #767 Persistent connections are never retried if server rebooted
Submitted: 1998-09-22 05:51 UTC Modified: 1998-11-03 21:06 UTC
From: steveh at brendata dot co dot uk Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 3.0.3 OS: Linux 2.1.120
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 + 19 = ?
Subscribe to this entry?

 
 [1998-09-22 05:51 UTC] steveh at brendata dot co dot uk
If persistent connections are used and the sql/server is rebooted then apache must be restarted in order to reset the links.

Can the server code recognise the error and close and reopen the links?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-11-03 21:06 UTC] tommay
This should be fixed in sybase-ct.c 1.46.  However, if you're really
unlucky and you reboot your server at a bad time, it may take hours
before PHP figures out the server has been rebooted.  This can be
avoided by using timeouts and is on my list of things to do.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 14:01:28 2024 UTC