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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: steveh at brendata dot co dot uk
New email:
PHP Version: OS:

 

 [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: Wed Apr 24 23:01:34 2024 UTC