Lines Matching refs:max_conns
406 if (srv->srvconf.max_conns > srv->max_fds/2) { in set_max_conns()
410 srv->srvconf.max_conns, srv->max_fds); in set_max_conns()
411 srv->max_conns = srv->max_fds/2; in set_max_conns()
412 } else if (srv->srvconf.max_conns) { in set_max_conns()
414 srv->max_conns = srv->srvconf.max_conns; in set_max_conns()
417 srv->max_conns = srv->max_fds/3; in set_max_conns()
420 srv->max_conns = srv->srvconf.max_conns; in set_max_conns()
601 ((*srv_states)[i])->max_conns = first_entry->max_conns; in init_server_states()
639 srv->max_fds = srv->max_conns * 3; in start_server()
853 (srv->conns->used <= srv->max_conns * 9 / 10) && in start_server()
866 (srv->conns->used >= srv->max_conns) || /* out of connections */ in start_server()
909 } else if (srv->conns->used >= srv->max_conns) { in start_server()
1603 mcfg.max_concurrency = mcfg.max_num_buffers = srv_states[0]->max_conns; in main()
2089 (srv->conns->used <= srv->max_conns * 9 / 10) && in main()
2102 (srv->conns->used >= srv->max_conns) || /* out of connections */ in main()
2141 } else if (srv->conns->used >= srv->max_conns) { in main()