|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5684 PHP Intermittently reports "Unable to allocate connection record"
Submitted: 2000-07-19 22:33 UTC Modified: 2001-06-10 21:23 UTC
From: miguel222 at mindless dot com Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.1pl2 OS: RH Linux 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: miguel222 at mindless dot com
New email:
PHP Version: OS:


 [2000-07-19 22:33 UTC] miguel222 at mindless dot com
The call to ct_con_alloc() in 'ext/sybase_ct/php_sybase_ct.c' is not returning CS_SUCCEED... 

I'm unfamiliar with CT-LIB; how would I debug the library to get more information on the problem?  Does it maintain verbose error reporting info that I could print out with the PHP error message? ("Unable to allocate connection record");

Conversely is this a know problem which requires a newer CT-LIB?  Where is the authoritative source for it?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-25 22:32 UTC]
I have just received information via PM that other users are experiencing this too, could anyone with some background here check it out, it seems to be a random feature....
 [2000-08-25 22:37 UTC]
Their environment:
Sun Netra Servers in a Clustered environment with Sun Solaris 2.8.
Sybase 12.0 64 bit on Sun Server with 4G RAM.
 [2001-05-14 12:17 UTC]
According to the Sybase documentation:
"The most common reason for a ct_con_alloc failure is a
lack of adequate memory."

Can you verify that this either IS or IS NOT why you are getting this message?

IE, does it go away by itself? Do you have to reboot? Are there any other odd things going on with the machine at the time that this message starts to appear?

Also, this was filed against 4.0.1pl2. There have been some changes since then, one of which fixed a problem where connections were never really closed. Can you try a more recent version of PHP and see if this helps?
 [2001-05-14 12:17 UTC]
Setting "feedback"
 [2001-06-10 21:23 UTC]
No feedback. Closing.

- James
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 22 16:01:29 2024 UTC