From 36bc3a453f1e1ed2676f88e94a810b01621238f5 Mon Sep 17 00:00:00 2001 From: Joshua Poehls Date: Fri, 22 May 2015 20:24:48 -0500 Subject: [PATCH] Tweaked ulimit warning message. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 18478d6a..38c7d6bc 100644 --- a/main.go +++ b/main.go @@ -117,7 +117,7 @@ func checkFdlimit() { // Note that an error here need not be reported lim, err := strconv.Atoi(string(bytes.TrimSpace(out))) if err == nil && lim < min { - fmt.Printf("Warning: File descriptor limit %d is too low for production sites. Recommend at least ulimit -n %d\n", lim, min) + fmt.Printf("Warning: File descriptor limit %d is too low for production sites.\nAt least %d is recommended. Set with \"ulimit -n %d\".\n", lim, min, min) } } }