Searched refs:servers (Results 1 - 17 of 17) sorted by relevance

/httpd/modules/proxy/balancers/
H A Dmod_lbmethod_heartbeat.c61 apr_hash_t *servers; member in struct:ctx_servers
92 static apr_status_t readfile_heartbeats(const char *path, apr_hash_t *servers, argument
168 server = apr_hash_get(servers, ip, APR_HASH_KEY_STRING);
176 apr_hash_set(servers, server->ip, APR_HASH_KEY_STRING, server);
218 apr_hash_t *servers = (apr_hash_t *) ctx->servers; local
219 hb_server_t *server = apr_hash_get(servers, slotserver->ip, APR_HASH_KEY_STRING);
225 apr_hash_set(servers, server->ip, APR_HASH_KEY_STRING, server);
245 static apr_status_t read_heartbeats(const char *path, apr_hash_t *servers, argument
252 ctx.servers
270 apr_hash_t *servers; local
[all...]
/httpd/modules/proxy/
H A Dmod_serf.h77 * unable to contact any of the servers, a 502 will be returned to the
87 apr_array_header_t **servers);
H A Dmod_serf.c425 apr_array_header_t *servers = NULL; local
451 "SerfCluster: %s is missing list servers provider.", cluster->provider);
458 &servers);
462 "SerfCluster: %s list servers returned failure", cluster->provider);
466 if (servers == NULL || apr_is_empty_array(servers)) {
468 "SerfCluster: %s failed to provide a list of servers", cluster->provider);
472 /* TOOD: restructure try all servers in the array !! */
473 pick = ap_random_pick(0, servers->nelts-1);
474 choice = APR_ARRAY_IDX(servers, pic
839 read_heartbeats(const char *path, apr_array_header_t *servers, apr_pool_t *pool) argument
954 apr_array_header_t *servers; local
1052 apr_array_header_t *servers; local
[all...]
/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2_child.c157 memset(ap_scoreboard_image->servers[child_slot], 0, sizeof(worker_score) * HARD_THREAD_LIMIT);
172 // ap_scoreboard_image->servers[child_slot][c].tid = _beginthread(worker_main, NULL, 128*1024, (void *)c);
260 if (ap_scoreboard_image->servers[child_slot][c].status != SERVER_DEAD) {
269 if (ap_scoreboard_image->servers[child_slot][c].status != SERVER_DEAD) {
280 if (ap_scoreboard_image->servers[child_slot][c].status != SERVER_DEAD) {
281 DosKillThread(ap_scoreboard_image->servers[child_slot][c].tid);
298 if (ap_scoreboard_image->servers[child_slot][thread_slot].status == SERVER_DEAD) {
299 ap_scoreboard_image->servers[child_slot][thread_slot].status = SERVER_STARTING;
300 ap_scoreboard_image->servers[child_slot][thread_slot].tid =
325 if (ap_scoreboard_image->servers[child_slo
[all...]
/httpd/modules/cache/
H A Dmod_socache_memcache.c58 const char *servers; member in struct:ap_socache_instance_t
76 ctx->servers = apr_pstrdup(p, arg);
95 /* Find all the servers in the first run to get a total count */
96 cache_config = apr_pstrdup(p, ctx->servers);
112 cache_config = apr_pstrdup(p, ctx->servers);
/httpd/server/
H A Dscoreboard.c162 ap_scoreboard_image->servers =
165 ap_scoreboard_image->servers[i] = (worker_score *)more_storage;
310 memset(ap_scoreboard_image->servers[i], 0,
369 ws = &ap_scoreboard_image->servers[sb->child_num][sb->thread_num];
462 ws = &ap_scoreboard_image->servers[child_num][thread_num];
562 ws = &ap_scoreboard_image->servers[sbh->child_num][sbh->thread_num];
578 return &ap_scoreboard_image->servers[x][y];
H A Dmpm_unix.c24 * specific to multi-process servers, but NOT to Unix. Which is why it
747 if (ap_scoreboard_image->servers[i][0].status != SERVER_READY ||
748 ap_scoreboard_image->servers[i][0].pid == 0) {
H A Dutil.c3015 ws = &ap_scoreboard_image->servers[i][j];
/httpd/include/
H A Dscoreboard.h155 worker_score **servers; member in struct:__anon41
/httpd/modules/cluster/
H A Dmod_heartbeat.c66 ws = &ap_scoreboard_image->servers[i][j];
H A Dmod_heartmonitor.c66 apr_hash_t *servers; member in struct:hm_ctx_t
412 for (hi = apr_hash_first(p, ctx->servers);
472 for (hi = apr_hash_first(p, ctx->servers);
503 s = apr_hash_get(ctx->servers, ip, APR_HASH_KEY_STRING);
512 apr_hash_set(ctx->servers, s->ip, APR_HASH_KEY_STRING, s);
801 ctx->servers = apr_hash_make(ctx->p);
895 "Max number of servers when using slotmem (instead file) to store heartbeat data."),
/httpd/server/mpm/netware/
H A Dmpm_netware.c91 /* Limit on the total --- clients will be locked out if more servers than
95 * We keep a hard maximum number of servers, for two reasons --- first off,
397 if (shutdown_pending || restart_pending || (ap_scoreboard_image->servers[0][my_worker_num].status == WORKER_IDLE_KILL)) {
579 ap_scoreboard_image->servers[0][slot].tid = tid;
591 if (ap_scoreboard_image->servers[0][i].status != WORKER_DEAD) {
604 * next maintenance cycle if there aren't enough idle servers. It is
636 ws = &ap_scoreboard_image->servers[0][i];
741 status = (ap_scoreboard_image->servers[0][i]).status;
/httpd/server/mpm/prefork/
H A Dprefork.c64 /* Limit on the total --- clients will be locked out if more servers than
68 * We keep a hard maximum number of servers, for two reasons --- first off,
117 * next maintenance cycle if there aren't enough idle servers. It is
852 if (ap_scoreboard_image->servers[i][0].status != SERVER_DEAD) {
886 ws = &ap_scoreboard_image->servers[i][0];
1134 * few of the servers we just started are in the IDLE state
1181 if (ap_scoreboard_image->servers[index][0].status != SERVER_DEAD) {
1260 if (ap_scoreboard_image->servers[index][0].status != SERVER_DEAD) {
1261 ap_scoreboard_image->servers[index][0].status = SERVER_GRACEFUL;
1428 " %d servers, decreasin
[all...]
/httpd/server/mpm/winnt/
H A Dchild.c1053 int status = ap_scoreboard_image->servers[0][i].status;
1055 if (ap_scoreboard_image->servers[0][i].generation != my_generation) {
1079 ap_scoreboard_image->servers[0][i].pid = my_pid;
1080 ap_scoreboard_image->servers[0][i].generation = my_generation;
/httpd/server/mpm/motorz/
H A Dmotorz.c1132 if (ap_scoreboard_image->servers[i][0].status != SERVER_DEAD) {
1157 ws = &ap_scoreboard_image->servers[i][0];
1343 * few of the servers we just started are in the IDLE state
1390 if (ap_scoreboard_image->servers[index][0].status != SERVER_DEAD) {
1469 if (ap_scoreboard_image->servers[index][0].status != SERVER_DEAD) {
1470 ap_scoreboard_image->servers[index][0].status = SERVER_GRACEFUL;
1646 " %d servers, decreasing to %d.",
1690 " %d servers, decreasing MaxRequestWorkers to %d.",
/httpd/server/mpm/worker/
H A Dworker.c76 /* Limit on the total --- clients will be locked out if more servers than
80 * We keep a hard maximum number of servers, for two reasons --- first off,
162 * next maintenance cycle if there aren't enough idle servers. It is
930 ap_scoreboard_image->servers[process_slot][thread_slot].pid = ap_my_pid;
931 ap_scoreboard_image->servers[process_slot][thread_slot].tid = apr_os_thread_current();
932 ap_scoreboard_image->servers[process_slot][thread_slot].generation = retained->my_generation;
1083 int status = ap_scoreboard_image->servers[child_num_arg][i].status;
1527 ws = &ap_scoreboard_image->servers[i][j];
1795 * few of the servers we just started are in the IDLE state
2185 " %d servers, decreasin
[all...]
/httpd/server/mpm/event/
H A Devent.c110 /* Limit on the total --- clients will be locked out if more servers than
114 * We keep a hard maximum number of servers, for two reasons --- first off,
370 * next maintenance cycle if there aren't enough idle servers. It is
2155 ap_scoreboard_image->servers[process_slot][thread_slot].pid = ap_my_pid;
2156 ap_scoreboard_image->servers[process_slot][thread_slot].tid = apr_os_thread_current();
2157 ap_scoreboard_image->servers[process_slot][thread_slot].generation = retained->my_generation;
2370 ap_scoreboard_image->servers[child_num_arg][i].status;
2802 ws = &ap_scoreboard_image->servers[i][j];
3058 * few of the servers we just started are in the IDLE state
3518 " %d servers, decreasin
[all...]

Completed in 6278 milliseconds