php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #616 Solid persitent connections problem
Submitted: 1998-08-05 03:53 UTC Modified: 1999-11-28 12:24 UTC
From: doussot at gifrance dot com Assigned: ssb (profile)
Status: Closed Package: Solid related
PHP Version: 3.0 Latest CVS OS: Linux libc6
Private report: No CVE-ID: None
 [1998-08-05 03:53 UTC] doussot at gifrance dot com
Hello,

I'm experiencing some problems with PHP persistent connections to Solid.
Solid server is 2.3 (glibc version). After a long period of inactivity on the server all connections time out:

05.08 04:57:00 User 'YANN' transaction timed out, user id 12.
05.08 04:57:00 User 'YANN' transaction timed out, user id 18.
05.08 04:58:00 User 'YANN' connection timed out, user id 6.
05.08 04:58:00 User 'YANN' connection timed out, user id 9.

My problem is that PHP3 has trouble reconnecting the database. I have to reload a page 5 or 10 times before it succeeds. There is no error message, it simply does not reconnect and the browser receives a 0 length document. (nothing in Apache or Solid error log). Connection to Solid is done through UPipe.

A simple reload on Apache fixes everything.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-28 12:24 UTC] kara at cvs dot php dot net
Persistent connections are not checked whether they are
still alive.
Workaround: Set the server timeout to unlimited
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC