For clarity -- are you saying the server is crashing, or the client?

On Mar 12, 6:19 pm, meppum <[email protected]> wrote:
> I was load testing memcached and have been experiencing consistent
> crashing when approaching 11k total connections (not concurrent).
> Below is a sample of some python code I have developed to isolate this
> problem as well as my setup and the error I get. I searched google and
> couldn't seem to find an answer.
>
> ------------------------------------------
>
> Python Code:
>
> import cmemcache
>
> c = cmemcache.Client(["127.0.0.1:11211"])
> c.set('abc', '123')
> c.disconnect_all()
>
> for i in range(20000):
>         c = cmemcache.Client(["127.0.0.1:11211"])
>         c.get('abc')
>         c.disconnect_all()
>
> -----------------------------------------
>
> Error:
>
> [[email protected]] mcm_server_connect_next_avail():2338
> [[email protected]] mcm_server_connect_next_avail():2328
> [[email protected]] mcm_server_writable():3178: timeout:
> Operation now in progress: write select(2) call timed out
> [[email protected]] mcm_server_connect():2295: select(2) failed:
> Operation now in progress: select(2) timed out on establishing
> connection
> connect(): -1
> [[email protected]] mcm_server_connect():2302: Operation
> already in progress
> [[email protected]] mcm_server_connect_next_avail():2333:
> Operation already in progress
> [[email protected]] mcm_server_connect_next_avail():2338
> [[email protected]] mcm_server_connect_next_avail():2328
>
> -----------------------------------------
>
> Setup:
>
> -Ubuntu Intrepid
> -Libmemcached 1.4.0.rc2-1
> -Cmemcache 0.95
> -Memcached 1.2.6
> -Python 2.5
>
> -meppum

Reply via email to