summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index cf9dd95..20177e6 100644
--- a/httpd.c
+++ b/httpd.c
@@ -419,9 +419,10 @@ void httpd(void)
419 419
420 srv_log(xs_fmt("httpd start %s:%d %s", address, port, USER_AGENT)); 420 srv_log(xs_fmt("httpd start %s:%d %s", address, port, USER_AGENT));
421 421
422 /* show the number of usable file descriptors */
422 struct rlimit r; 423 struct rlimit r;
423 getrlimit(RLIMIT_NOFILE, &r); 424 getrlimit(RLIMIT_NOFILE, &r);
424 srv_debug(0, xs_fmt("available (rlimit) fds: %d (cur)/%d (max)", 425 srv_debug(1, xs_fmt("available (rlimit) fds: %d (cur) / %d (max)",
425 (int) r.rlim_cur, (int) r.rlim_max)); 426 (int) r.rlim_cur, (int) r.rlim_max));
426 427
427 /* initialize the job control engine */ 428 /* initialize the job control engine */