ASF Bugzilla – Attachment 35710 Details for
Bug 62044
shared memory segments are not found in global list, but appear to exist in kernel.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Unique balancer id per vhost
balancer_id.patch (text/plain), 1.55 KB, created by
Yann Ylavic
on 2018-01-31 10:01:17 UTC
(
hide
)
Description:
Unique balancer id per vhost
Filename:
MIME Type:
Creator:
Yann Ylavic
Created:
2018-01-31 10:01:17 UTC
Size:
1.55 KB
patch
obsolete
>Index: modules/proxy/mod_proxy_balancer.c >=================================================================== >--- modules/proxy/mod_proxy_balancer.c (revision 1822662) >+++ modules/proxy/mod_proxy_balancer.c (working copy) >@@ -776,6 +776,7 @@ static int balancer_post_config(apr_pool_t *pconf, > while (s) { > int i,j; > char *id; >+ char *balancer_id; > proxy_balancer *balancer; > ap_slotmem_type_t type; > void *sconf = s->module_config; >@@ -875,13 +876,17 @@ static int balancer_post_config(apr_pool_t *pconf, > return !OK; > } > >+ balancer_id = apr_psprintf(ptemp, "%s.%s", >+ conf->id, balancer->s->sname); >+ > /* create slotmem slots for workers */ >- ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(01184) "Doing workers create: %s (%s), %d, %d [%u]", >- balancer->s->name, balancer->s->sname, >+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(01184) >+ "Doing workers create: %s (%s), %d, %d [%u]", >+ balancer->s->name, balancer_id, > (int)ALIGNED_PROXY_WORKER_SHARED_SIZE, > (int)balancer->max_workers, i); > >- rv = storage->create(&new, balancer->s->sname, >+ rv = storage->create(&new, balancer_id, > ALIGNED_PROXY_WORKER_SHARED_SIZE, > balancer->max_workers, type, pconf); > if (rv != APR_SUCCESS) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 62044
:
35698
|
35702
|
35710
|
35723