Try this... put a quick .net test together using the BeIT client for the 1.2.5 server and see if it has the same problems.
On Thu, Sep 4, 2008 at 4:29 PM, Steve Clay <[EMAIL PROTECTED]> wrote: > > 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/ > -- "If you see a whole thing - it seems that it's always beautiful. Planets, lives... But up close a world's all dirt and rocks. And day to day, life's a hard job, you get tired, you lose the pattern." Ursula K. Le Guin