[Libevent-users] Windows 64-bit limit on connections for memcached solved

2010-03-24 Thread Patrick Galbraith
e1e703d2f5d35118e80be6a0e780682284ce8bc3 Author: Patrick Galbraith Date: Tue Mar 23 16:04:59 2010 -0400 Make evutil_signal_active() match declaration. commit 3eb044d0a9cdaa9bc6a8fc202f1725bd7eda5e0b Author: Trond Norbye Date: Tue Mar 23 13:27:10 2010 -0400 Never test for select() on windows On 64-bit windows

Re: [Libevent-users] FD_SETSIZE - max connections in Windows - help!

2010-03-18 Thread Patrick Galbraith
1 failed, 0 up-to-date, 0 skipped == lau stephen wrote: 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-stabl

Re: [Libevent-users] FD_SETSIZE - max connections in Windows - help!

2010-03-18 Thread Patrick Galbraith
t 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 : Hi all, We have hit a brick wall with memc

Re: [Libevent-users] FD_SETSIZE - max connections in Windows - help!

2010-03-16 Thread Patrick Galbraith
question is this: is there a way to override this default? regards, Patrick On 03/15/2010 05:56 PM, Patrick Galbraith wrote: Nick, Thank you so much for your reply! At least now we're not looking in the wrong place. Have you or others you know of ever come across any limitations in ge

Re: [Libevent-users] FD_SETSIZE - max connections in Windows - help!

2010-03-15 Thread Patrick Galbraith
Nick, Thank you so much for your reply! At least now we're not looking in the wrong place. Have you or others you know of ever come across any limitations in general on windows? Regards, Patrick Nick Mathewson wrote: On Mon, Mar 15, 2010 at 12:03 PM, Patrick Galbraith wrote: H

[Libevent-users] FD_SETSIZE - max connections in Windows - help!

2010-03-15 Thread Patrick Galbraith
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_S

Re: [Libevent-users] patch to released 2.0.4 for Windows

2010-03-11 Thread Patrick Galbraith
31 PM, Patrick Galbraith wrote: Hi there! I have a patch for 2.0.4 in order to compile on Windows (tested on Windows 2008 64-bit), if not already addressed. Small issue. See attached. The select.c backend is not for Windows; it will not work there, even if you make it compile. (It assumes

[Libevent-users] patch to released 2.0.4 for Windows

2010-03-11 Thread Patrick Galbraith
Hi there! I have a patch for 2.0.4 in order to compile on Windows (tested on Windows 2008 64-bit), if not already addressed. Small issue. See attached. *** libevent-2.0.4-alpha/select.c Fri Feb 26 22:16:15 2010 --- libevent-2.0.4-alpha.patched/select.c Thu Mar 11 12:58:53 2010 ***

[Libevent-users] Patch for mingw64 (64-bit windows)

2009-12-18 Thread Patrick Galbraith
Hi all, Here's a patch that I used to get libevent 2.0.3 to compile on mingw-w64 (windows 64-bit). See attached. regards, Patrick aka CaptTofu Only in libevent-2.0.3-alpha.win64: .deps Only in libevent-2.0.3-alpha.win64: Makefile Only in libevent-2.0.3-alpha.win64: config.h Only in libevent-2

Re: [Libevent-users] question about poll()

2009-12-02 Thread Patrick Galbraith
anyway, which makes it pretty simple to implement. -Patrick 2009/12/1 Nick Mathewson <ni...@freehaven.net> On Wed, Nov 25, 2009 at 02:44:37PM -0500, Patrick Galbraith wrote: > Hi there all! > > I'm working on trying to port libmemcached to Windows. It is not an ea

[Libevent-users] question about poll()

2009-11-25 Thread Patrick Galbraith
Hi there all! I'm working on trying to port libmemcached to Windows. It is not an easy task! I've just found that libmemcached uses poll() and this is a bit of a road-block! What do you guys do to get cross-platform support? How do you transparently use poll() or other mechanisms to provide th

[Libevent-users] Win64 compile issues

2009-11-09 Thread Patrick Galbraith
Hi all, I'm wondering if there's anyone out there who has had luck with mingw compiling libevent on Windows 64-bit? I have had no problem on win32, but I have this error on a windows 64-bit (windows 2008) in the compile right now: evdns.c: At top level: evdns.c:2340:5: error: conflicting typ