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:[EMAIL PROTECTED]
Sent: Friday, December 14, 2007 12:43 PM
To: [email protected]
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");


 

Reply via email to