[
https://issues.redhat.com/browse/MODCLUSTER-522?page=com.atlassian.jira.p...
]
chandra sekhar edited comment on MODCLUSTER-522 at 5/5/20 3:30 AM:
-------------------------------------------------------------------
dear karm, i am getting the compilation error while trying to build the rpm for the
redhat-7 from the fedora system as below:
[wildfly@as-vip build]$ uname -a
Linux as-vip 4.10.16-200.fc25.x86_64 #1 SMP Mon May 15 15:19:52 UTC 2017 x86_64 x86_64
x86_64 GNU/Linux
[wildfly@as-vip build]$
Please help us to get the latest build for rhel 7. thanks.
Error is as in "screenshot-1" image
/home/wildfly/modclusterbuild/mod_proxy_cluster-master/native/mod_proxy_cluster/mod_proxy_cluster.c:
In function âcmd_proxy_cluster_deterministic_failoverâ:
/home/wildfly/modclusterbuild/mod_proxy_cluster-master/native/mod_proxy_cluster/mod_proxy_cluster.c:3523:72:
warning: unused parameter âparmsâ [-Wunused-parameter]
static const char *cmd_proxy_cluster_deterministic_failover(cmd_parms *parms, void
*mconfig, int on)
^~~~~
/home/wildfly/modclusterbuild/mod_proxy_cluster-master/native/mod_proxy_cluster/mod_proxy_cluster.c:3523:85:
warning: unused parameter âmconfigâ [-Wunused-parameter]
static const char *cmd_proxy_cluster_deterministic_failover(cmd_parms *parms, void
*mconfig, int on)
^~~~~~~
mod_proxy_cluster/CMakeFiles/mod_proxy_cluster.dir/build.make:62: recipe for target
'mod_proxy_cluster/CMakeFiles/mod_proxy_cluster.dir/mod_proxy_cluster.c.o' failed
make[2]: *** [mod_proxy_cluster/CMakeFiles/mod_proxy_cluster.dir/mod_proxy_cluster.c.o]
Error 1
CMakeFiles/Makefile2:85: recipe for target
'mod_proxy_cluster/CMakeFiles/mod_proxy_cluster.dir/all' failed
make[1]: *** [mod_proxy_cluster/CMakeFiles/mod_proxy_cluster.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
[wildfly@as-vip build]$
was (Author: sekhach):
dear karm, i am getting the compilation error while trying to build the rpm for the
redhat-7 from the fedora system as below:
[wildfly@as-vip build]$ uname -a
Linux as-vip 4.10.16-200.fc25.x86_64 #1 SMP Mon May 15 15:19:52 UTC 2017 x86_64 x86_64
x86_64 GNU/Linux
[wildfly@as-vip build]$
Please help us to get the latest build for rhel 7. thanks.
Memory leak in processing MCMP, wrong apr pool used for allocation
------------------------------------------------------------------
Key: MODCLUSTER-522
URL:
https://issues.redhat.com/browse/MODCLUSTER-522
Project: mod_cluster
Issue Type: Bug
Components: Native (httpd modules)
Affects Versions: 1.3.1.Final, 2.0.0.Alpha1
Environment: Solaris 10 x86_64, RHEL 6, Fedora 24, httpd 2.4.6, httpd 2.4.20
Reporter: Michal Karm
Assignee: Jean-Frederic Clere
Priority: Critical
Fix For: 1.3.5.Final
Attachments: mod_cluster-mem.jpg, mod_cluster-mem1.jpg, screenshot-1.png
There seems to be a wrong apr pool used for processing certain MCMP commands. We should
use short life span pools for immediate processing and server-lifetime pools only for
really persistent configuration. In the current state, with 20+ tomcat workers (1 alias
and 1 context each) and virtually no client requests, we could see slow, but steady growth
of heap allocated memory.
TODO: Investigate the offending logic, make sure we ain't using long-lived pools for
immediate processing.
Originally discovered by: [~j_sykora] and [~jmsantuci]
Illustrative memory overview - with constant number of Tomcats:
--
This message was sent by Atlassian Jira
(v7.13.8#713008)