BackingStoreException Occurs After 5 Minutes of 30,000/1 Minute http Request on jmeter

Asked 2 years ago, Updated 2 years ago, 137 views

During load verification using jmeter

A script for jmeter that issues 10,000 http requests per minute on jmeter. I've been doing it 3 times * 10 times (minutes) as shown below.

for in 10
do
 jmeter-t 10000 request.jmx>>jmeter.log&
 jmeter-t 10000 request.jmx>>jmeter.log&
 jmeter-t 10000 request.jmx>>jmeter.log&
 sleep60
done    

The following warning occurs frequently per 3 minutes.

java.util.prefs.FileSystemPreferences syncWorldWarning: 
  Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.

I don't know the cause, I'm in need, and I can't put the load on as I expected.

Could you tell me the cause and countermeasures?

exception

2022-09-30 21:42

1 Answers

The reason was that the user_home was running as the root user of the user who does not exist.
When I checked the actual number of requests, I was able to load it with the number of requests I intended.

This warning could have been avoided by running it on users with user_home.


2022-09-30 21:42

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.