Josef Finsel wrote:
I don't think I used that one. I know that we have used the 1.2.1 version successfully as well as the 1.2.5 version that was just
Both the 1.2.1 [1] I tried this morning and the 1.2.5 [2] I just tried had identical behavior. Maybe the PHP client (2.2.4-dev R1.99) or Apache is exhausting resources.
I've boiled my PHP page down to a memcache connect and stats read (see below). I'm running 1000 requests, 100 concurrently.
First run: # connections max at: 84, no fails until request 968 Later runs: # connections low, ~50% fails increasing with each run. <?php $mc = new Memcache; if (! @$mc->connect('localhost', 11211)) { file_put_contents( dirname(__FILE__) . '/../memcached_stats.txt' ,"Fail\n" ,FILE_APPEND | LOCK_EX ); die(); } $stats = $mc->getStats(); file_put_contents( dirname(__FILE__) . '/../memcached_stats.txt' ,$stats['curr_connections'] . "\n" ,FILE_APPEND | LOCK_EX ); [1] http://jehiah.cz/projects/memcached-win32/ [2] http://code.jellycan.com/memcached/ -- Steve Clay http://mrclay.org/