-
Bug
-
Resolution: Done
-
Critical
-
JWS 3.1.0 SP4 GA
-
None
-
Release Notes
-
-
-
-
-
-
Not Yet Documented
-
- create selfsigned OCSP certifcate
- configure tomcat to use native apr connector and enable Mutual authentication
- run load test
- run ./tomcat_watcher.sh <tomcat8_pid>
Customer noticed the native memory increase when using Mutual authentication and OCSP on tomcat8, they are using this script:
$ cat /root/certs/tomcat_watcher.sh #!/bin/bash pid=$1 counter=1 until [ $counter -gt 240 ] do currentdate=$(date +"%m-%d-%Y %H:%M:%S") privatemem=$(echo 0 $(awk '/Private/ {print "+", $2}' /proc/$pid/smaps) | bc) echo $currentdate,$privatemem ((counter++)) sleep 30 done
and running it as ./tomcat_watcher.sh <tomcat8_pid>. The result is that the memory increases during the load test, if they test with no Mutual authentication and OCSP, there is no such issue. I have tested in my environment with the following versions:
- jws3.1 rpm install,
- tomcat-native-1.2.8-10.redhat_10.ep7.el7
- rhel 7.4
I have used tomcat-native-1.2.8 as it is listed in the supported configuration for JWS 3.1, I can replicate the issue when the server is not used.
- is cloned by
-
JWS-1281 [ASF BZ 62892] tomcat-native memory leak when using Mutual authentication + OCSP
- Closed
- links to