[JBoss JIRA] (MODCLUSTER-391) mod_cluster and mod_proxy integration
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-391?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-391:
--------------------------------------
Fix Version/s: 1.3.1.Final
(was: 1.3.1.Alpha1)
> mod_cluster and mod_proxy integration
> -------------------------------------
>
> Key: MODCLUSTER-391
> URL: https://issues.jboss.org/browse/MODCLUSTER-391
> Project: mod_cluster
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.2.6.Final
> Environment: All platforms we build mod_cluster for.
> Reporter: Michal Babacek
> Assignee: Jean-Frederic Clere
> Labels: native_libraries
> Fix For: 1.2.10.Final, 1.3.1.Final
>
> Attachments: error_log, mod_cluster.conf, mod_proxy.conf, standalone-ha.xml
>
>
> This Jira encapsulates all concerns regarding mod_cluster - mod_proxy integration. For instance, while basic {{ProxyPass}} settings work just fine, e.g. serving some files on {{/static}} from the Apache HTTP itself:
> {code}
> ProxyPassMatch ^/static/ !
> ProxyPass / balancer://qacluster stickysession=JSESSIONID|jsessionid nofailover=on
> ProxyPassReverse / balancer://qacluster
> ProxyPreserveHost on
> {code}
> there are more complex setups, involving {{BalancerMember}} configurations, that do not work as expected. In the following example, one wanted to have {{/clusterbench}} application managed by mod_cluster, dynamically, while at the same time, in a different VirtualHost, having {{/tses}} application handled by manually created mod_proxy balancer settings.
> Attached [^mod_cluster.conf], [^mod_proxy.conf], [^standalone-ha.xml](modcluster subsystem element only) and [^error_log].
> The aforementioned setup resulted in:
> |HTTP 200|(From worker)|http://10.16.88.19:8847/clusterbench/requestinfo/|OK|(/)|
> |HTTP 404|(From httpd)|http://10.16.88.19:8847/tses/session.jsp|Expected fail|(/)|
> |HTTP 503|(From httpd)|http://10.16.88.19:2182/tses/session.jsp|Unexpected fail|(x)|
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months
[JBoss JIRA] (MODCLUSTER-416) mod_cluster Connected count shows improper inflation
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-416?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-416:
--------------------------------------
Fix Version/s: 1.3.1.Final
(was: 1.3.1.Alpha1)
> mod_cluster Connected count shows improper inflation
> ----------------------------------------------------
>
> Key: MODCLUSTER-416
> URL: https://issues.jboss.org/browse/MODCLUSTER-416
> Project: mod_cluster
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Native (httpd modules)
> Affects Versions: 1.2.9.Final
> Reporter: Aaron Ogburn
> Assignee: Jean-Frederic Clere
> Fix For: 1.2.10.Final, 1.3.1.Final
>
>
> The mod_cluster connected count (a proxy_worker's busy attribute) shows improper inflation. With load stopped, non-zero values have still been seen through the mod_cluster-manager page and INFO MCMP responses.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months
[JBoss JIRA] (MODCLUSTER-414) Fix compilation warnings in the native part
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-414?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-414:
--------------------------------------
Fix Version/s: 1.3.1.Final
(was: 1.3.1.Alpha1)
> Fix compilation warnings in the native part
> -------------------------------------------
>
> Key: MODCLUSTER-414
> URL: https://issues.jboss.org/browse/MODCLUSTER-414
> Project: mod_cluster
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Native (httpd modules)
> Affects Versions: 1.3.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 1.3.1.Final
>
>
> There are currently 14 warnings:
> {noformat}
> [rhusar@x220 native]$ for x in advertise mod_cluster_slotmem mod_manager mod_proxy_cluster; do cd $x; ./buildconf; ./configure --with-apxs=/usr/bin/apxs; make clean; make; cd ..; done
> Creating configure ...
> checking for Apache httpd installation... APXS is /usr/bin/apxs
> apxs_support is true
> configure: creating ./config.status
> config.status: creating Makefile
> make[1]: Entering directory `/home/rhusar/git/mod_cluster/native/advertise'
> rm -f *.o *.lo *.slo *.obj *.a *.la
> rm -rf .libs
> make[1]: Leaving directory `/home/rhusar/git/mod_cluster/native/advertise'
> rm -f *.o *.lo *.slo *.so
> rm -rf .libs
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c mod_advertise.c && touch mod_advertise.slo
> mod_advertise.c: In function 'cmd_advertise_g':
> mod_advertise.c:178:34: warning: comparison with string literal results in unspecified behavior [-Waddress]
> mconf->ma_advertise_adrs != MA_DEFAULT_GROUP)
> ^
> mod_advertise.c: In function 'post_config_hook':
> mod_advertise.c:657:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
> ptr = apr_psprintf(pproc, "%s:%lu", ma_server_rec->server_hostname, port);
> ^
> mod_advertise.c: In function 'advertise_info':
> mod_advertise.c:734:24: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
> );
> ^
> mod_advertise.c: At top level:
> mod_advertise.c:89:26: warning: 'ma_listen_socket' defined but not used [-Wunused-variable]
> static apr_socket_t *ma_listen_socket = NULL;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro,-z,now -o mod_advertise.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_advertise.lo
> /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool --silent' mod_advertise.la `pwd`
> /usr/lib64/apr-1/build/libtool --silent --mode=install install mod_advertise.la /home/rhusar/modc/native/advertise/
> libtool: install: warning: remember to run `libtool --finish /usr/lib64/httpd/modules'
> Creating configure ...
> checking for Apache httpd installation... APXS is /usr/bin/apxs
> apxs_support is true
> configure: creating ./config.status
> config.status: creating Makefile
> make[1]: Entering directory `/home/rhusar/git/mod_cluster/native/mod_cluster_slotmem'
> rm -f *.o *.lo *.slo *.obj *.a *.la
> rm -rf .libs
> make[1]: Leaving directory `/home/rhusar/git/mod_cluster/native/mod_cluster_slotmem'
> rm -f *.o *.lo *.slo *.so
> rm -rf .libs
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c sharedmem_util.c && touch sharedmem_util.slo
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c mod_sharedmem.c && touch mod_sharedmem.slo
> /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro,-z,now -o mod_cluster_slotmem.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_sharedmem.lo sharedmem_util.lo
> /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool --silent' mod_cluster_slotmem.la `pwd`
> /usr/lib64/apr-1/build/libtool --silent --mode=install install mod_cluster_slotmem.la /home/rhusar/modc/native/mod_cluster_slotmem/
> libtool: install: warning: remember to run `libtool --finish /usr/lib64/httpd/modules'
> Creating configure ...
> checking for Apache httpd installation... APXS is /usr/bin/apxs
> apxs_support is true
> configure: creating ./config.status
> config.status: creating Makefile
> make[1]: Entering directory `/home/rhusar/git/mod_cluster/native/mod_manager'
> rm -f *.o *.lo *.slo *.obj *.a *.la
> rm -rf .libs
> make[1]: Leaving directory `/home/rhusar/git/mod_cluster/native/mod_manager'
> rm -f *.o *.lo *.slo *.so
> rm -rf .libs
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c mod_manager.c && touch mod_manager.slo
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c node.c && touch node.slo
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c context.c && touch context.slo
> context.c: In function 'remove_context':
> context.c:182:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c host.c && touch host.slo
> host.c: In function 'remove_host':
> host.c:179:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c balancer.c && touch balancer.slo
> balancer.c: In function 'remove_balancer':
> balancer.c:179:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c sessionid.c && touch sessionid.slo
> sessionid.c: In function 'remove_sessionid':
> sessionid.c:179:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c domain.c && touch domain.slo
> domain.c: In function 'remove_domain':
> domain.c:179:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c jgroupsid.c && touch jgroupsid.slo
> jgroupsid.c: In function 'remove_jgroupsid':
> jgroupsid.c:175:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro,-z,now -o mod_manager.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_manager.lo node.lo context.lo host.lo balancer.lo sessionid.lo domain.lo jgroupsid.lo
> /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool --silent' mod_manager.la `pwd`
> /usr/lib64/apr-1/build/libtool --silent --mode=install install mod_manager.la /home/rhusar/modc/native/mod_manager/
> libtool: install: warning: remember to run `libtool --finish /usr/lib64/httpd/modules'
> Creating configure ...
> checking for Apache httpd installation... APXS is /usr/bin/apxs
> apxs_support is true
> configure: creating ./config.status
> config.status: creating Makefile
> make[1]: Entering directory `/home/rhusar/git/mod_cluster/native/mod_proxy_cluster'
> rm -f *.o *.lo *.slo *.obj *.a *.la
> rm -rf .libs
> make[1]: Leaving directory `/home/rhusar/git/mod_cluster/native/mod_proxy_cluster'
> rm -f *.o *.lo *.slo *.so
> rm -rf .libs
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c mod_proxy_cluster.c && touch mod_proxy_cluster.slo
> mod_proxy_cluster.c: In function 'add_balancer_node':
> mod_proxy_cluster.c:677:12: warning: unused variable 'sizew' [-Wunused-variable]
> int sizew = conf->workers->elt_size;
> ^
> mod_proxy_cluster.c: In function 'remove_workers_node':
> mod_proxy_cluster.c:958:13: warning: unused variable 'sizeb' [-Wunused-variable]
> int sizeb = conf->balancers->elt_size;
> ^
> mod_proxy_cluster.c:957:15: warning: unused variable 'ptr' [-Wunused-variable]
> char *ptr = conf->balancers->elts;
> ^
> mod_proxy_cluster.c:956:15: warning: unused variable 'name' [-Wunused-variable]
> char *name = apr_pstrcat(pool, "balancer://", node->mess.balancer, NULL);
> ^
> mod_proxy_cluster.c: In function 'proxy_cluster_try_pingpong':
> mod_proxy_cluster.c:1419:9: warning: format '%d' expects argument of type 'int', but argument 8 has type 'struct conn_rec *' [-Wformat=]
> ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
> ^
> mod_proxy_cluster.c: In function 'proxy_cluster_post_config':
> mod_proxy_cluster.c:2669:17: warning: unused variable 'userdata_key' [-Wunused-variable]
> const char *userdata_key = "mod_cluster_init";
> ^
> mod_proxy_cluster.c: In function 'find_node_context_host.isra.19':
> mod_proxy_cluster.c:1709:21: warning: 'balancer' may be used uninitialized in this function [-Wmaybe-uninitialized]
> proxy_balancer *balancer;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro,-z,now -o mod_proxy_cluster.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_proxy_cluster.lo
> /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool --silent' mod_proxy_cluster.la `pwd`
> /usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_cluster.la /home/rhusar/modc/native/mod_proxy_cluster/
> libtool: install: warning: remember to run `libtool --finish /usr/lib64/httpd/modules'
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months
[JBoss JIRA] (MODCLUSTER-414) Fix compilation warnings in the native part
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-414?page=com.atlassian.jira.pl... ]
Radoslav Husar commented on MODCLUSTER-414:
-------------------------------------------
Partially marged for 1.3.1.Alpha1.
> Fix compilation warnings in the native part
> -------------------------------------------
>
> Key: MODCLUSTER-414
> URL: https://issues.jboss.org/browse/MODCLUSTER-414
> Project: mod_cluster
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Native (httpd modules)
> Affects Versions: 1.3.0.Final
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Fix For: 1.3.1.Final
>
>
> There are currently 14 warnings:
> {noformat}
> [rhusar@x220 native]$ for x in advertise mod_cluster_slotmem mod_manager mod_proxy_cluster; do cd $x; ./buildconf; ./configure --with-apxs=/usr/bin/apxs; make clean; make; cd ..; done
> Creating configure ...
> checking for Apache httpd installation... APXS is /usr/bin/apxs
> apxs_support is true
> configure: creating ./config.status
> config.status: creating Makefile
> make[1]: Entering directory `/home/rhusar/git/mod_cluster/native/advertise'
> rm -f *.o *.lo *.slo *.obj *.a *.la
> rm -rf .libs
> make[1]: Leaving directory `/home/rhusar/git/mod_cluster/native/advertise'
> rm -f *.o *.lo *.slo *.so
> rm -rf .libs
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c mod_advertise.c && touch mod_advertise.slo
> mod_advertise.c: In function 'cmd_advertise_g':
> mod_advertise.c:178:34: warning: comparison with string literal results in unspecified behavior [-Waddress]
> mconf->ma_advertise_adrs != MA_DEFAULT_GROUP)
> ^
> mod_advertise.c: In function 'post_config_hook':
> mod_advertise.c:657:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
> ptr = apr_psprintf(pproc, "%s:%lu", ma_server_rec->server_hostname, port);
> ^
> mod_advertise.c: In function 'advertise_info':
> mod_advertise.c:734:24: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
> );
> ^
> mod_advertise.c: At top level:
> mod_advertise.c:89:26: warning: 'ma_listen_socket' defined but not used [-Wunused-variable]
> static apr_socket_t *ma_listen_socket = NULL;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro,-z,now -o mod_advertise.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_advertise.lo
> /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool --silent' mod_advertise.la `pwd`
> /usr/lib64/apr-1/build/libtool --silent --mode=install install mod_advertise.la /home/rhusar/modc/native/advertise/
> libtool: install: warning: remember to run `libtool --finish /usr/lib64/httpd/modules'
> Creating configure ...
> checking for Apache httpd installation... APXS is /usr/bin/apxs
> apxs_support is true
> configure: creating ./config.status
> config.status: creating Makefile
> make[1]: Entering directory `/home/rhusar/git/mod_cluster/native/mod_cluster_slotmem'
> rm -f *.o *.lo *.slo *.obj *.a *.la
> rm -rf .libs
> make[1]: Leaving directory `/home/rhusar/git/mod_cluster/native/mod_cluster_slotmem'
> rm -f *.o *.lo *.slo *.so
> rm -rf .libs
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c sharedmem_util.c && touch sharedmem_util.slo
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c mod_sharedmem.c && touch mod_sharedmem.slo
> /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro,-z,now -o mod_cluster_slotmem.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_sharedmem.lo sharedmem_util.lo
> /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool --silent' mod_cluster_slotmem.la `pwd`
> /usr/lib64/apr-1/build/libtool --silent --mode=install install mod_cluster_slotmem.la /home/rhusar/modc/native/mod_cluster_slotmem/
> libtool: install: warning: remember to run `libtool --finish /usr/lib64/httpd/modules'
> Creating configure ...
> checking for Apache httpd installation... APXS is /usr/bin/apxs
> apxs_support is true
> configure: creating ./config.status
> config.status: creating Makefile
> make[1]: Entering directory `/home/rhusar/git/mod_cluster/native/mod_manager'
> rm -f *.o *.lo *.slo *.obj *.a *.la
> rm -rf .libs
> make[1]: Leaving directory `/home/rhusar/git/mod_cluster/native/mod_manager'
> rm -f *.o *.lo *.slo *.so
> rm -rf .libs
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c mod_manager.c && touch mod_manager.slo
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c node.c && touch node.slo
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c context.c && touch context.slo
> context.c: In function 'remove_context':
> context.c:182:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c host.c && touch host.slo
> host.c: In function 'remove_host':
> host.c:179:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c balancer.c && touch balancer.slo
> balancer.c: In function 'remove_balancer':
> balancer.c:179:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c sessionid.c && touch sessionid.slo
> sessionid.c: In function 'remove_sessionid':
> sessionid.c:179:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c domain.c && touch domain.slo
> domain.c: In function 'remove_domain':
> domain.c:179:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c jgroupsid.c && touch jgroupsid.slo
> jgroupsid.c: In function 'remove_jgroupsid':
> jgroupsid.c:175:5: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> return rv;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro,-z,now -o mod_manager.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_manager.lo node.lo context.lo host.lo balancer.lo sessionid.lo domain.lo jgroupsid.lo
> /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool --silent' mod_manager.la `pwd`
> /usr/lib64/apr-1/build/libtool --silent --mode=install install mod_manager.la /home/rhusar/modc/native/mod_manager/
> libtool: install: warning: remember to run `libtool --finish /usr/lib64/httpd/modules'
> Creating configure ...
> checking for Apache httpd installation... APXS is /usr/bin/apxs
> apxs_support is true
> configure: creating ./config.status
> config.status: creating Makefile
> make[1]: Entering directory `/home/rhusar/git/mod_cluster/native/mod_proxy_cluster'
> rm -f *.o *.lo *.slo *.obj *.a *.la
> rm -rf .libs
> make[1]: Leaving directory `/home/rhusar/git/mod_cluster/native/mod_proxy_cluster'
> rm -f *.o *.lo *.slo *.so
> rm -rf .libs
> /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I. -I/usr/include/apr-1 -I../include -prefer-pic -c mod_proxy_cluster.c && touch mod_proxy_cluster.slo
> mod_proxy_cluster.c: In function 'add_balancer_node':
> mod_proxy_cluster.c:677:12: warning: unused variable 'sizew' [-Wunused-variable]
> int sizew = conf->workers->elt_size;
> ^
> mod_proxy_cluster.c: In function 'remove_workers_node':
> mod_proxy_cluster.c:958:13: warning: unused variable 'sizeb' [-Wunused-variable]
> int sizeb = conf->balancers->elt_size;
> ^
> mod_proxy_cluster.c:957:15: warning: unused variable 'ptr' [-Wunused-variable]
> char *ptr = conf->balancers->elts;
> ^
> mod_proxy_cluster.c:956:15: warning: unused variable 'name' [-Wunused-variable]
> char *name = apr_pstrcat(pool, "balancer://", node->mess.balancer, NULL);
> ^
> mod_proxy_cluster.c: In function 'proxy_cluster_try_pingpong':
> mod_proxy_cluster.c:1419:9: warning: format '%d' expects argument of type 'int', but argument 8 has type 'struct conn_rec *' [-Wformat=]
> ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
> ^
> mod_proxy_cluster.c: In function 'proxy_cluster_post_config':
> mod_proxy_cluster.c:2669:17: warning: unused variable 'userdata_key' [-Wunused-variable]
> const char *userdata_key = "mod_cluster_init";
> ^
> mod_proxy_cluster.c: In function 'find_node_context_host.isra.19':
> mod_proxy_cluster.c:1709:21: warning: 'balancer' may be used uninitialized in this function [-Wmaybe-uninitialized]
> proxy_balancer *balancer;
> ^
> /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro,-z,now -o mod_proxy_cluster.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_proxy_cluster.lo
> /usr/lib64/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib64/apr-1/build/libtool --silent' mod_proxy_cluster.la `pwd`
> /usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_cluster.la /home/rhusar/modc/native/mod_proxy_cluster/
> libtool: install: warning: remember to run `libtool --finish /usr/lib64/httpd/modules'
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months
[JBoss JIRA] (MODCLUSTER-209) mod_cluster_manager need better presentation
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-209?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-209:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Merged by [~jfclere].
> mod_cluster_manager need better presentation
> --------------------------------------------
>
> Key: MODCLUSTER-209
> URL: https://issues.jboss.org/browse/MODCLUSTER-209
> Project: mod_cluster
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Affects Versions: 1.1.1.Final
> Reporter: Anders Welen
> Assignee: Jean-Frederic Clere
> Priority: Minor
> Fix For: 1.3.1.Alpha1
>
>
> The mod_cluster_manager "show INFO output" status page has the following problems:
> 1. "Transferred" misspelled
> 2. Context is missing the number of requests
> PS. Why not make it easier to parse? look at mod_jk that support both properties and XML DS.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
9 years, 7 months