php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16657 Persistent connections and high-load problems
Submitted: 2002-04-17 08:12 UTC Modified: 2002-10-25 01:00 UTC
Votes:10
Avg. Score:4.8 ± 0.6
Reproduced:7 of 7 (100.0%)
Same Version:0 (0.0%)
Same OS:3 (42.9%)
From: jlvillar1 at hotmail dot com Assigned:
Status: No Feedback Package: MSSQL related
PHP Version: 4.1.2 OS: Windows 2000
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-04-17 08:12 UTC] jlvillar1 at hotmail dot com
Persistent connections (using mssql_pconnect) don't work properly in Php 4.1.2 (under Windows 2000 professional and Apache 1.3.12 server) connecting to a MSSQL 7.0 database of a second machine.
High-loaded connections break and the php.ini file is omited when setting the maximun number of persistent connections (mssql.max_persistent variable)

regards
Jose Luis

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-01 12:27 UTC] justin at down dot cx
I also am experiencing the very same problem.  Under high loads, the mssql_pconnect function pools up exactly 25 connections then completely denies any further connections.  If the max_persistent variable is higher than 25, mssql_pconnect returns FALSE until Apache is restarted.  If it is set lower than 25, it STILL pools 25 connections but will eventually release them (read: it takes a long time).
 [2002-10-09 22:22 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-10-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2004-10-21 13:06 UTC] etsai at bbknet dot com
Persistent connections (using mssql_pconnect) don't work properly in Php
4.3.8 (under Windows 2003 Server and Apache 1.3.31 server)connecting to a MSSQL 2000 database of a second machine.
High-loaded connections break and the php.ini file is omited when
setting the maximun number of persistent connections
(mssql.max_persistent variable)
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sun Apr 20 10:02:06 2014 UTC