I added some minimal reference to the -k option in the mlockall()
errors. Users should be able to put that together.

Thanks for the fix Tomash!
Committed in r693

-Dormando

Brian Beuning wrote:
> 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