Setup
- Version of Fedora
4.5.0 Release
- Fedora configuration details
/etc/default/tomcat7
JAVA_OPTS="-Djava.awt.headless=true -XX:+DisableExplicitGC -Xms512m -Xmx14g -XX:NewSize=256m -XX:MaxNewSize=2g -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=2g -Dfile.encoding=UTF-8 -Xloggc:/var/log/tomcat7/java-gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Dfcrepo.home=/mnt/test"
- System details (OS, memory, processors, hardware specs or virtualization, JVM, etc)
Ubuntu 14.04.4 LTS
Compute Canada 60GB RAM, 16 CPUs (virtual) $ uname -a Linux fcrepo 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux $ java -version java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode) $ ./version.sh Using CATALINA_BASE: /usr/share/tomcat7 Using CATALINA_HOME: /usr/share/tomcat7 Using CATALINA_TMPDIR: /usr/share/tomcat7/temp Using JRE_HOME: /usr Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar Server version: Apache Tomcat/7.0.52 (Ubuntu) Server built: Jun 19 2015 08:54:46 Server number: 7.0.52.0 OS Name: Linux OS Version: 3.13.0-36-generic Architecture: amd64 JVM Version: 1.8.0_77-b03 JVM Vendor: Oracle Corporation
- Initial state of the repository
- empty
- Number of client processes/threads (ideally clients are on a separate machine)
- 1
- Fedora database
- leveldb
Test
Command:
$ date > /home/ubuntu/summary.log; ./jmeter -Dfedora_4_server=localhost -Dfedora_4_context=fcrepo/rest -n -t /home/ubuntu/fcrepo4-jmeter/fedora.jmx >> /home/ubuntu/summary.log; /home/ubuntu/summary.log
Results
- Length of run
- Sun Apr 03 21:19:52 UTC 2016 to Mon Apr 04 08:51:06 UTC 2016
- Summary
- summary = 9153862 in 249405s = 26.5/s Avg: 34 Min: 6 Max: 57281 Err: 2 (0.00%)
- Logs
9 Comments
Andrew Woods
Nick Ruest, out of curiosity, I would be interested to know the behavior of continuing the load test after restarting your tomcat server following the test failure.
When I did this, my F4 started up with response times similar to a fresh install, and was able to load a few more million resources...
Nick Ruest
I still have the machine up, so more that happy to give it a shot.
Nick Ruest
...and, that didn't last long.
Andrew Woods
too many open files
... what is your "max file handles" value set to?...http://ubuntuforums.org/showthread.php?t=1961208
Nick Ruest
Andrew Woods
How about:
...which shows what we really want, the hard limit on open file handles.
Nick Ruest
4096
Andrew Woods
It may be worth bumping that number. I use
65536
.http://ubuntuforums.org/showthread.php?t=1961208
Nick Ruest
Weird. Now I can't even get fcrepo to come back up. It's just hanging here in catalina.out
INFO: Deploying configuration descriptor /etc/tomcat7/Catalina/localhost/manager.xml
EDIT:
It took an hour or so, and it came back up.