tvinod wrote:
im trying to run memcached on my windows 7 machine within a rails
project and it errors out..
<936 connection closed.
<940 new client connection
<940 set mem-development:c222efbcfc08b4850198cd1eea610f76 0 0 217
940 STORED
Failed to write, and not due to blocking: Resource temporarily
unavailable
<940 connection closed.
Which release are you running on Windows, and did you build it yourself
or did you get binaries? What was the source?
I looked through the code briefly; the only places where that may pop up
is where memcached tries to write to the socket and gets an error back
from the OS. The error handling in the current code appears to print
more information out, so I suspect you have an older build.
the same rails project works perfectly fine on vista and linux. i saw
somewhere it could be due to firewall issue. but i checked to make
sure memcached is allowed in windows firewall.
Yes, that is listed in older memcached issues, but I know of a couple of
folks who have tried recent code on Windows 7 without seeing this
issue. There could well be some firewall (from Windows or some other
utility) causing an issue. If you can confirm it's something recent,
maybe there is a way to get more info. One way would be with a
debugger, but it may also just make sense to get you a binary with some
more diagnostics.
Regards,
- Matt