When I set the number of clients to 10, rally runs correctly, and when I set the client to 30:
"schedule": [
{
"operation": {
"name":"N clients randomly query 10,000 data",
"operation-type": "search",
"param-source": "randomly-query"
},
"warmup-iterations": 20,
"iterations": 500,
"target-throughput": 200,
"clients":30
}
]
rally has the following error:
Running N clients randomly query 10,000 data [ 17% done][WARNING] Could not
terminate all internal processes within timeout. Please check and force-terminate all Rally processes.
[ERROR] Cannot race. Load generator [%d] has exited prematurely.
Is this error caused by the number of clients?If so, what is the number of clients typically set to?
Here is the log:
2018-08-07 07:08:15,746 ActorAddr-(T|:32901)/PID:2666 esrally.actor INFO LoadGenerator[12] is exiting due to ActorExitRequest.
2018-08-07 07:08:15,797 ActorAddr-(T|:32901)/PID:2666 esrally.driver.driver INFO User cancelled execution.
2018-08-07 07:08:16,649 ActorAddr-(T|:38719)/PID:2652 esrally.actor INFO Load generator [12] has exited.
2018-08-07 07:08:16,664 -not-actor-/PID:2641 esrally.rally WARNING Shutdown timed out. Actor system is still running.
2018-08-07 07:08:16,668 -not-actor-/PID:2641 esrally.rally ERROR Cannot run subcommand [race].
Traceback (most recent call last):
File "/home/dr/.local/lib/python3.6/site-packages/esrally/rally.py", line 454, in dispatch_sub_command
race(cfg)
File "/home/dr/.local/lib/python3.6/site-packages/esrally/rally.py", line 383, in race
with_actor_system(lambda c: racecontrol.run(c), cfg)
File "/home/dr/.local/lib/python3.6/site-packages/esrally/rally.py", line 404, in with_actor_system
runnable(cfg)
File "/home/dr/.local/lib/python3.6/site-packages/esrally/rally.py", line 383, in
with_actor_system(lambda c: racecontrol.run(c), cfg)
File "/home/dr/.local/lib/python3.6/site-packages/esrally/racecontrol.py", line 383, in run
raise e
File "/home/dr/.local/lib/python3.6/site-packages/esrally/racecontrol.py", line 380, in run
pipeline(cfg)
File "/home/dr/.local/lib/python3.6/site-packages/esrally/racecontrol.py", line 61, in call
self.target(cfg)
File "/home/dr/.local/lib/python3.6/site-packages/esrally/racecontrol.py", line 327, in benchmark_only
return race(cfg, external=True)
File "/home/dr/.local/lib/python3.6/site-packages/esrally/racecontrol.py", line 279, in race
raise exceptions.RallyError(result.message, result.cause)
esrally.exceptions.RallyError: ('Load generator [%d] has exited prematurely.', None)