[PATCH] Fix -k startup option.

Brian Beuning BBeuning at corecard.com
Wed Dec 19 16:20:37 UTC 2007


Not all memcached users are going to be technical enough
to know that mlockall() is used to implement the -k option.
Maybe the error messages should mention the -k option.

Brian Beuning


-----Original Message-----
From: Tomash Brechko [mailto:tomash.brechko at gmail.com]
Sent: Friday, December 14, 2007 12:43 PM
To: memcached at lists.danga.com
Subject: [PATCH] Fix -k startup option.

(stripped out most of the patch)

+            fprintf(stderr, "warning: mlockall() failed: %s\n",
+                    strerror(errno));

+        fprintf(stderr, "warning: mlockall() not supported on this
platform.  proceeding without.\n");

-        fprintf(stderr, "warning: mlockall() not supported on this
platform.  proceeding without.\n");


 


More information about the memcached mailing list