Answered question

localhost load generation agent fails to load

  • MAC OS
  • No Firewall or Antivirus.

When I click "Start Checking" for validating a virtual user, Neoload fails to launch the load generating agent...
I get the below error in the logs...

2015/03/04 13:46:19 ERROR - neoload.Gui: Unable to start Load Generator localhost Failed to start Load Generator on localhost. The Load Generator process has been created but has not registered after waiting delay (key "lg.start.delay" in : an error occured while communicating with 'localhost'
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

Update - Previously on the console it gave an error saying a particular libjava.dylib file was not found. I have now copied the entire jre folder under the /Neoload/jre folder in my MAC.

The previous error has gone away and I get a new error saying

The stack size specified is too small, Specify at least 160k

NOTE - This specific errors are not showing up in the log files, but only on the command line [which is behind the Neoload GUI]

Further more I have changed and added a setting -Xss1m to my loadgeneratingagent.vmoptions and ran Neoload agagin.

However, I still get the same issue that the stack size is too small.

Sandeep N.
Sandeep N.

Sandeep N.

3 / 100

The stack size that you have configured is too high and plus i'm not sure that you modified the right file.

You need to modify the <install_dir>\conf\ file and change the stack size of that parameter: lg.launcher.vm.parameters

For example:

lg.launcher.vm.parameters=-server -Djsse.enableSNIExtension=false -XX:MaxRAMFraction=4 -Xss256k -Xbootclasspath/p:lib/npn-boot-1.1.7.v20140316.jar

That settings should be enough.

Restart your NeoLoad and try again.

Let me know.


Did you find this useful ?

No (0)

Yes (2)


100% of users found this answer useful