Hi guys,

Potentially a strange one for you... I'm running a test on an EC2 instance with 
64G available memory and jmeter's heap sized appropriately (currently Xmx40g) 
configured for 6K concurrent users and 200TPS. When the test reaches 4k users I 
get the following error message output:

WARNING: Could not lock User prefs.  Unix error code 24.
Nov 05, 2019 7:49:00 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: 
Couldn't get file lock.

And in my jmeter.log a stream of these:

2019-11-05 19:47:44,512 ERROR o.a.j.c.CSVDataSet: java.io.IOException: Stream 
closed
2019-11-05 19:47:44,612 ERROR o.a.j.c.CSVDataSet: java.io.IOException: Stream 
closed
2019-11-05 19:47:44,612 ERROR o.a.j.c.CSVDataSet: java.io.IOException: Stream 
closed
2019-11-05 19:47:44,612 ERROR o.a.j.c.CSVDataSet: java.io.IOException: Stream 
closed

Test errors are out of control from this point onwards (60 - 70%) despite 
application health looking good - I'm assuming because jmeter is unable to send 
CSV parameterised requests?

I did a little digging and it seems to be a Java install specific issue? 
Although I find it strange that I get these errors at 4K threads every time. I 
am running jmeter as root and my Java system preferences file is writable for 
all:

lrwxrwxrwx  1 root root   35 Nov  5 18:15 .systemPrefs -> 
/usr/java/latest/.java/.systemPrefs

java -version
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

echo $JAVA_HOME
/usr/java/jre1.8.0_231-amd64

Any help or info from someone who has experienced this before greatly 
appreciated.

Kind Regards,
Kieran


Kieran Lynch

Portaltech Reply
Nova South
160 Victoria Street, Westminster
London SW1E 5LB - UK
phone: +44 (0)20 7730 6000
k.ly...@reply.com<mailto:k.ly...@reply.com>
www.reply.com

[Portaltech Reply]
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Reply via email to