# Got ActorSystem error when run Esrally

**URL:** <https://discuss.elastic.co/t/got-actorsystem-error-when-run-esrally/76768>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [February 28, 2017, 11:11am UTC](https://discuss.elastic.co/t/got-actorsystem-error-when-run-esrally/76768 "2017-02-28T11:11:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cold](https://avatars.discourse-cdn.com/v4/letter/c/8baadc/32.png) [@cold](https://discuss.elastic.co/u/cold)\
**Post date:** [February 28, 2017, 11:11am UTC](https://discuss.elastic.co/t/got-actorsystem-error-when-run-esrally/76768/1 "2017-02-28T11:11:59Z")

</div>

2017-02-28 10:54:52,28 rally.main INFO OS [posix.uname\_result(sysname='Darwin', nodename='xxxxdeMacBook-Pro.local', release='15.5.0', version='Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE\_X86\_64', machine='x86\_64')]  
2017-02-28 10:54:52,28 rally.main INFO Python [namespace(\_multiarch='darwin', cache\_tag='cpython-36', hexversion=50725104, name='cpython', version=sys.version\_info(major=3, minor=6, micro=0, releaselevel='final', serial=0))]  
2017-02-28 10:54:52,28 rally.main INFO Rally version [0.5.0]  
2017-02-28 10:54:52,28 rally.main INFO Command line arguments: Namespace(advanced\_config=False, assume\_defaults=False, car='defaults', challenge=None, client\_options='timeout:60000,request\_timeout:60000', cluster\_health='green', configuration\_name=None, data\_paths=None, distribution\_repository='release', distribution\_version='', effective\_start\_date=datetime.datetime(2017, 2, 28, 10, 54, 52, 24806), enable\_driver\_profiling=False, laps=1, logging='file', offline=False, override\_src\_dir=None, pipeline='benchmark-only', preserve\_install='False', quiet=False, report\_file='', report\_format='markdown', revision='current', subcommand=None, target\_hosts='192.168.31.81:9200,192.168.31.82:9200', telemetry='', test\_mode=False, track='geonames', track\_repository='default', user\_tag='')  
2017-02-28 10:54:52,28 [rally.net](http://rally.net) INFO Rally connects directly to the Internet (no proxy support).  
2017-02-28 10:54:53,245 rally.main INFO Detected a working Internet connection.  
2017-02-28 10:54:53,261 rally.process INFO Killing lingering process with PID [712] and command line [['/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python', '/usr/local/bin/esrally', '--distribution-version=5.0.0']].  
2017-02-28 10:54:53,262 rally.process INFO Killing lingering process with PID [713] and command line [['/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python', '/usr/local/bin/esrally', '--distribution-version=5.0.0']].  
2017-02-28 10:54:53,262 rally.process INFO Skipping myself (PID [717]).  
2017-02-28 10:54:53,263 rally.main INFO Actor system already running locally? [True]  
2017-02-28 10:54:53,293 root INFO ++++ Actor System gen (3, 6) started, admin @ ActorAddr-(T|:1900)  
2017-02-28 10:54:58,288 rally.actor ERROR Could not initialize internal actor system. Terminating.  
Traceback (most recent call last):  
File "/usr/local/lib/python3.6/site-packages/esrally/actor.py", line 151, in bootstrap\_actor\_system  
return thespian.actors.ActorSystem(system\_base)  
File "/usr/local/lib/python3.6/site-packages/thespian/actors.py", line 621, in **init**  
systemBase, capabilities, logDefs)  
File "/usr/local/lib/python3.6/site-packages/thespian/actors.py", line 659, in \_startupActorSys  
systemBase = sbc(self, logDefs=logDefs)  
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocTCPBase.py", line 27, in **init**  
super(ActorSystemBase, self). **init** (system, logDefs)  
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocCommon.py", line 84, in **init**  
super(multiprocessCommon, self). **init** (system, logDefs)  
File "/usr/local/lib/python3.6/site-packages/thespian/system/systemBase.py", line 333, in **init**  
logDefs)  
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocCommon.py", line 111, in \_startAdmin  
raise InvalidActorAddress(adminAddr, 'not a valid ActorSystem admin')  
thespian.actors.InvalidActorAddress: ActorAddr-(T|:1900) is not a valid ActorSystem admin  
2017-02-28 10:54:58,292 root ERROR A fatal error occurred while running subcommand [race].  
Traceback (most recent call last):  
File "/usr/local/lib/python3.6/site-packages/esrally/rally.py", line 409, in dispatch\_sub\_command  
race(cfg)  
File "/usr/local/lib/python3.6/site-packages/esrally/rally.py", line 357, in race  
with\_actor\_system(lambda c: racecontrol.run(c), cfg)  
File "/usr/local/lib/python3.6/site-packages/esrally/rally.py", line 364, in with\_actor\_system  
actors = actor.bootstrap\_actor\_system(try\_join=already\_running, prefer\_local\_only=not already\_running)  
File "/usr/local/lib/python3.6/site-packages/esrally/actor.py", line 151, in bootstrap\_actor\_system  
return thespian.actors.ActorSystem(system\_base)  
File "/usr/local/lib/python3.6/site-packages/thespian/actors.py", line 621, in **init**  
systemBase, capabilities, logDefs)  
File "/usr/local/lib/python3.6/site-packages/thespian/actors.py", line 659, in \_startupActorSys  
systemBase = sbc(self, logDefs=logDefs)  
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocTCPBase.py", line 27, in **init**  
super(ActorSystemBase, self). **init** (system, logDefs)  
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocCommon.py", line 84, in **init**  
super(multiprocessCommon, self). **init** (system, logDefs)  
File "/usr/local/lib/python3.6/site-packages/thespian/system/systemBase.py", line 333, in **init**  
logDefs)  
File "/usr/local/lib/python3.6/site-packages/thespian/system/multiprocCommon.py", line 111, in \_startAdmin  
raise InvalidActorAddress(adminAddr, 'not a valid ActorSystem admin')  
thespian.actors.InvalidActorAddress: ActorAddr-(T|:1900) is not a valid ActorSystem admin

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [February 28, 2017, 11:39am UTC](https://discuss.elastic.co/t/got-actorsystem-error-when-run-esrally/76768/2 "2017-02-28T11:39:45Z")

</div>

Hi @cold,

it seems you have a running Rally daemon, maybe from previous experiments? Can you please run `esrallyd stop` and retry? If that doesn't work then please reboot the machine just to be sure.

Daniel

---

<div class="post-metadata">

**Author:** ![cold](https://avatars.discourse-cdn.com/v4/letter/c/8baadc/32.png) [@cold](https://discuss.elastic.co/u/cold)\
**Post date:** [March 1, 2017, 2:08am UTC](https://discuss.elastic.co/t/got-actorsystem-error-when-run-esrally/76768/3 "2017-03-01T02:08:41Z")

</div>

this program did not occur, after reboot my Mac. Thank you.

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [March 1, 2017, 6:01am UTC](https://discuss.elastic.co/t/got-actorsystem-error-when-run-esrally/76768/4 "2017-03-01T06:01:34Z")

</div>

Hi @cold,

you're welcome. Just FYI: The most likely cause why this has happened is that a previous benchmark was stuck (due to one reason or the other, hard to tell...). Rally has a built-in mitigation for this in that it terminates old Rally processes. This works fine usually but it seems this is still not a 100% solution.

I'm glad that the immediate problem is now solved though. 🙂

Daniel

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 29, 2017, 6:02am UTC](https://discuss.elastic.co/t/got-actorsystem-error-when-run-esrally/76768/5 "2017-03-29T06:02:07Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
