Mysterious 5 second delay on sybase_connect()
| From: | Tom Lloyd | Date: | Thu, 24 May 2012 08:51:27 +0000 |
| Subject: | Mysterious 5 second delay on sybase_connect() | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-48291@lists.php.net to get a copy of this message | ||
Hi there. I'm working on a PHP-driven project on Debian Squeeze that
connects to an instance of Microsoft SQL Server on Windows Server 2008.
I'm using the sybase extensions to PHP.
Since I rebooted the webserver on the weekend, both the sybase_connect()
and sybase_pconnect() commands will sometimes take exactly 5 seconds to
execute. It seems to be random whether they do this or not. I can't
think of anything that could have been changed by the reboot, unless a
package was updated but its associated process never got restarted...
Does anyone know what might cause this behaviour?
Cheers,
Tom Lloyd