I am trying to run a load test for a application. For this i am using JMeter (v.2.13) on an Ubuntu Vm with 60GB Ram and more than enough CPU power. Goal is to reach 10k Users co
Okay meanwhile i figured it out:
limits.conf
(see below)/etc/security/limits.conf
* hard nofile 900000
* soft nofile 900000
root hard nofile 900000
root soft nofile 900000
/etc/sysctl.conf
kernel.pid_max=999999
kernel.thread-max=999999
vm.max_map_count=999999
fs.file-max=999999
attention: is pid_max and thread-max
you will find those in the /bin/
folder of your jmeter installation.
under linux add the line
JVM_ARGS="-Xmx15g -Xss250k"
somewhere before the actual java call on the last line. This will decrease the stacksize allocated for each thread.
under windows you have to edit the jmeter.bat.
I have no configured it under windows but at least regarding the heap there should be a line starting with set HEAP
. I dont know where to put the -Xss
parameter under windows.