Lines Matching refs:threads_per_child

171 static int threads_per_child = 0;   /* Worker threads per child */
475 for (i = 0; i < threads_per_child; i++) {
566 *result = threads_per_child;
1279 for (i = 0; i < threads_per_child; ++i) {
1952 + threads_per_child))
2120 + threads_per_child)))
2300 rv = ap_queue_init(worker_queue, threads_per_child, pchild);
2312 max_recycled_pools = threads_per_child * 3 / 4 ;
2315 threads_per_child, max_recycled_pools);
2336 threads_per_child*2, /* XXX don't we need more, to handle
2348 threads_per_child*2, /* XXX don't we need more, to handle
2362 worker_sockets = apr_pcalloc(pchild, threads_per_child
2367 /* threads_per_child does not include the listener thread */
2368 for (i = 0; i < threads_per_child; i++) {
2405 if (start_thread_may_exit || threads_created == threads_per_child) {
2417 threads_per_child);
2473 for (i = 0; i < threads_per_child; i++) {
2565 threads = ap_calloc(threads_per_child, sizeof(apr_thread_t *));
2786 * that threads_per_child is always > 0 */
2801 for (j = 0; j < threads_per_child; j++) {
2855 else if (child_threads_active == threads_per_child) {
2900 if (active_thread_count >= ap_daemons_limit * threads_per_child) {
2995 for (i = 0; i < threads_per_child; i++)
3099 if (min_spare_threads < threads_per_child * num_buckets)
3100 min_spare_threads = threads_per_child * num_buckets;
3101 if (max_spare_threads < min_spare_threads + threads_per_child * num_buckets)
3102 max_spare_threads = min_spare_threads + threads_per_child * num_buckets;
3431 threads_per_child = DEFAULT_THREADS_PER_CHILD;
3432 max_workers = ap_daemons_limit * threads_per_child;
3600 if (threads_per_child > thread_limit) {
3604 "of", threads_per_child);
3615 threads_per_child, thread_limit);
3617 threads_per_child = thread_limit;
3619 else if (threads_per_child < 1) {
3623 "increasing to 1.", threads_per_child);
3627 threads_per_child);
3629 threads_per_child = 1;
3632 if (max_workers < threads_per_child) {
3640 threads_per_child, threads_per_child);
3647 max_workers, threads_per_child);
3649 max_workers = threads_per_child;
3652 ap_daemons_limit = max_workers / threads_per_child;
3654 if (max_workers % threads_per_child) {
3655 int tmp_max_workers = ap_daemons_limit * threads_per_child;
3663 "multiple %d,", threads_per_child,
3672 "multiple %d", max_workers, threads_per_child,
3685 server_limit, server_limit * threads_per_child);
3694 server_limit * threads_per_child);
3730 /* max_spare_threads < min_spare_threads + threads_per_child
3830 threads_per_child = atoi(arg);