Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having an issue with memcached. Not sure if it's memcached, php, or tcp sockets but everytime I try a benchmark with 50 or more concurrency to a page with memcached, some of those request failed using apache ab. I get the (99) Cannot assign requested address error.

When I do a concurrency test of 5000 to a regular phpinfo() page. Everything is fine. No failed requests.

It seems like memcached cannot support high concurrency or am I missing something? I'm running memcached with the -c 5000 flag.


Server: (2) Quad Core Xeon 2.5Ghz, 64GB ram, 4TB Raid 10, 64bit OpenSUSE 11.1

share|improve this question

Figured it out just in case anyone have the same problems:

http://stackoverflow.com/questions/1278167/memcached-concurrency-w-lighttpd-php/1280648#1280648

share|improve this answer

Sounds like your out of sockets. What does netstat show? See http://www.ruby-forum.com/topic/140995.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.