[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] FD_SETSIZE - max connections in Windows - help!
- To: libevent-users@xxxxxxxxxxxxx
- Subject: Re: [Libevent-users] FD_SETSIZE - max connections in Windows - help!
- From: lau stephen <liusifan@xxxxxxxxx>
- Date: Wed, 17 Mar 2010 09:01:43 +0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Tue, 16 Mar 2010 21:02:13 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=lTn0+KYZSibJXEr68G32hlODFPvc2Z1OgX9q4JEAu08=; b=cRBdeJGlWct7Y8HF7t4ZiNnv++chVVYg0spoLrPqbZ4r/R9xIPsAvLBcO47NnAj4iq 0x6EOHTNL3DNvsq4jPAIU6pGVfNBVxNybCJpTE0oGggYvb/DXvjsQZbjIrbX6wbyViDp qqVXrBbc/jbGmzSYZQGy0zowSLYnjqbemQBms=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=nRopvkKkbShDj0ec44bwqnhDHV2A9k6hrTTcVE2e1RKY73W0FpPYHdRBHO4MCQX+nj Vu6NlluxVxzLz/0lcVHeQDXaQj5dBRJYpvK/fNfZV5Gfa5HvfoXp99CDVl/7gZCnz5Xv MXGj/qoPdJYDmMRxQct49XBTi+u57fQpaHR4s=
- In-reply-to: <4B9E5A48.8060703@xxxxxxxx>
- References: <4B9E5A48.8060703@xxxxxxxx>
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
These is a libevent version that contains an iocp implement for windows.
It implement the iocp for event_add/event_del interface, so it can be
used by memcached.
http://spserver.googlecode.com/files/libevent-1.4.7-stable-iocp-1.zip
2010/3/16 Patrick Galbraith <patg@xxxxxxxx>:
> Hi all,
>
> We have hit a brick wall with memcached - namely max connections with
> select.
>
> Namely, select from libvent use by memcached on windows, according to the
> documentation from MSDN you need to
> set FD_SETSIZE to the maximum number of sockets to use. By default
> FD_SETSIZE
> == 64. We set FD_SETSIZE to 2048 in win32select.c at the top prior to
> including winsock2.h, but still no success. It seems to fail at 41
> connections.
>
> Has anyone dealt with this before?
>
> Thank you,
>
> Patrick
> ***********************************************************************
> To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
> unsubscribe libevent-users in the body.
>
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.