php.net |  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
 [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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-25 22:32 UTC] waldschrott@php.net
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] waldschrott@php.net
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] joey@php.net
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] joey@php.net
Setting "feedback"
 [2001-06-10 21:23 UTC] jmoore@php.net
No feedback. Closing.

- James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 06:01:28 2024 UTC