Searched refs:cur_fds (Results 1 – 7 of 7) sorted by relevance
473 srv->cur_fds = open("/dev/null", O_RDONLY); in initialize_fd_framework()474 close(srv->cur_fds); in initialize_fd_framework()852 if ((srv->cur_fds + srv->want_fds < srv->max_fds * 8 / 10) && /* we have enough unused fds */ in start_server()865 if ((srv->cur_fds + srv->want_fds > srv->max_fds * 9 / 10) || /* out of fds */ in start_server()928 int free_fds = srv->max_fds - srv->cur_fds - 16; in start_server()2088 if ((srv->cur_fds + srv->want_fds < srv->max_fds * 8 / 10) && /* we have enough unused fds */ in main()2101 if ((srv->cur_fds + srv->want_fds > srv->max_fds * 9 / 10) || /* out of fds */ in main()2160 int free_fds = srv->max_fds - srv->cur_fds - 16; in main()
590 int cur_fds; /* currently used fds */ member
280 srv->cur_fds = srv_socket->fd;496 srv->cur_fds = srv->first_entry->srv_sockets.ptr[srv->first_entry->srv_sockets.used - 1]->fd;
349 srv->cur_fds--; in proxy_connection_close()789 srv->cur_fds++; in proxy_write_request()
1208 srv->cur_fds--; in scgi_connection_cleanup()1259 srv->cur_fds--; in scgi_reconnect()2199 "socket failed:", strerror(errno), srv->cur_fds, srv->max_fds); in scgi_write_request()2204 srv->cur_fds++; in scgi_write_request()
146 srv->cur_fds--;1348 srv->cur_fds++;
1481 srv->cur_fds--; in fcgi_connection_close()1530 srv->cur_fds--; in fcgi_reconnect()2943 "socket failed:", strerror(errno), srv->cur_fds, srv->max_fds); in fcgi_write_request()2948 srv->cur_fds++; in fcgi_write_request()