Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
1.6.5.3
-
Security Level: Public
-
None
-
Mac OS X 10.6.5
Description
Full details, including a basic fix, in thread:
http://forums.membase.org/thread/memcached-dying-mac-os-x-due-rlimit-fix
Essentially, in memcached.c in both moxi and memcached, the setrlimit fails on recent versions of Mac OS X when trying to set the max number of connections. It seems that you can't assume that rlim_cur can be set to rlim_max, and you can't change rlim_max. This seems a bit broken to me (and I'm an Apple fanboy!).
There's a brief note at the bottom of the setrlimit man page.