php.net |  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
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:
45 - 31 = ?
Subscribe to this entry?

 
 [2000-06-30 23:54 UTC] cbarrett at inalt dot com
Configuration:
Suse Linux
Apache 1.3.12
php 4.0.0, static module
Sybase Interactive Server 11.0.3.3

All of the above on 1 PC

Error:
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?

Patches

Pull Requests

History

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] waldschrott@php.net
no feedback, closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 09:01:26 2024 UTC