[PATCH] Fix -k startup option.

dormando dormando at rydia.net
Mon Feb 11 04:42:14 UTC 2008


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: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