|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5295 Unable to connect to Sybase server (intermittent)
Submitted: 2000-06-30 23:54 UTC Modified: 2000-08-01 23:06 UTC
From: cbarrett at inalt dot com Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.0 OS: Linux
Private report: No CVE-ID: None
 [2000-06-30 23:54 UTC] cbarrett at inalt dot com
Suse Linux
Apache 1.3.12
php 4.0.0, static module
Sybase Interactive Server

All of the above on 1 PC

sybase_pconnect() intermittently fails with an 'unable to connect' message.  If I refresh the page (usually no more than twice), the connection is successful.  I have tried this on several PC's, and it seems to happen more often on faster ones.

This application contains many pages; I cannot predict on which page it may fail.

My guess (for what it's worth) is some kind of timing issue, possibly a message to the Sybase server stepping on the previous message?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-04 21:02 UTC] joey at cvs dot php dot net
This is most likely bcz you have more apache children than you have available connections to
sybase. Check/modify with sp_configure "number of remote connections" 
[keep the quotes!] (requires a "reboot" of Sybase.)
 [2000-08-01 23:06 UTC]
no feedback, closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 01:01:29 2024 UTC