Lines Matching refs:strbuff
106 char strbuff[256]; in rlimit() local
132 strcpy(strbuff, "INFINITY"); in rlimit()
135 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); in rlimit()
136 fprintf(stderr, "initial soft limit: %s\n", strbuff); in rlimit()
140 strcpy(strbuff, "INFINITY"); in rlimit()
143 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit()
144 fprintf(stderr, "initial hard limit: %s\n", strbuff); in rlimit()
198 strcpy(strbuff, "INFINITY"); in rlimit()
201 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); in rlimit()
202 fprintf(stderr, "current soft limit: %s\n", strbuff); in rlimit()
206 strcpy(strbuff, "INFINITY"); in rlimit()
209 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit()
210 fprintf(stderr, "current hard limit: %s\n", strbuff); in rlimit()
238 msnprintf(strbuff, sizeof(strbuff), "fds needed %s > system limit %s", in rlimit()
240 store_errmsg(strbuff, 0); in rlimit()
260 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); in rlimit()
261 fprintf(stderr, "allocating memchunk %s byte array\n", strbuff); in rlimit()
289 msnprintf(strbuff, sizeof(strbuff), "unable to allocate an array for %s " in rlimit()
291 store_errmsg(strbuff, 0); in rlimit()
299 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); in rlimit()
300 fprintf(stderr, "allocating array for %s file descriptors\n", strbuff); in rlimit()
319 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); in rlimit()
320 fprintf(stderr, "trying to open %s file descriptors\n", strbuff); in rlimit()
326 msnprintf(strbuff, sizeof(strbuff), "opening of %s failed", DEV_NULL); in rlimit()
327 store_errmsg(strbuff, errno); in rlimit()
348 msnprintf(strbuff, sizeof(strbuff), "dup() attempt %s failed", strbuff1); in rlimit()
349 fprintf(stderr, "%s\n", strbuff); in rlimit()
351 msnprintf(strbuff1, sizeof(strbuff), fmt, num_open.rlim_cur); in rlimit()
352 msnprintf(strbuff, sizeof(strbuff), "fds system limit seems close to %s", in rlimit()
354 fprintf(stderr, "%s\n", strbuff); in rlimit()
360 msnprintf(strbuff, sizeof(strbuff), "fds needed %s > system limit %s", in rlimit()
362 store_errmsg(strbuff, 0); in rlimit()
378 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); in rlimit()
379 fprintf(stderr, "%s file descriptors open\n", strbuff); in rlimit()
398 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE %d", in rlimit()
400 store_errmsg(strbuff, 0); in rlimit()
413 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE %d", in rlimit()
415 store_errmsg(strbuff, 0); in rlimit()
436 msnprintf(strbuff, sizeof(strbuff), in rlimit()
440 msnprintf(strbuff, sizeof(strbuff), in rlimit()
442 store_errmsg(strbuff, 0); in rlimit()