Rasa X multiprocessor issue

Anyone familiar with this?

Looks like a multiprocessor issue. i am trying to run Rasa X in k8s container

textPayload: "Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/rasa/cli/x.py", line 325, in run_locally
  local.main(args, project_path, args.data, token=rasa_x_token)
File "/usr/local/lib/python3.6/site-packages/rasax/community/local.py", line 187, in main
  initialise.create_community_user(session, app)
File "/usr/local/lib/python3.6/site-packages/rasax/community/initialise.py", line 187, in create_community_user
  run_operation_in_single_sanic_worker(app, _startup_info)
File "/usr/local/lib/python3.6/site-packages/rasax/community/utils.py", line 634, in run_operation_in_single_sanic_worker
  lock = multiprocessing.Value(c_bool, False)
File "/usr/local/lib/python3.6/multiprocessing/context.py", line 135, in Value
File "/usr/local/lib/python3.6/multiprocessing/sharedctypes.py", line 78, in Value
  lock = ctx.RLock()
File "/usr/local/lib/python3.6/multiprocessing/context.py", line 72, in RLock
  return RLock(ctx=self.get_context())
File "/usr/local/lib/python3.6/multiprocessing/synchronize.py", line 187, in __init__
  SemLock.__init__(self, RECURSIVE_MUTEX, 1, 1, ctx=ctx)
File "/usr/local/lib/python3.6/multiprocessing/synchronize.py", line 59, in __init__
OSError: [Errno 38] Function not implemented" 

Hi @souvikg10!

  • Which Rasa X version?
  • Custom container or the one from dockerhub?
  • Do you know which OS your K8s nodes are running?

Hi Tobias,

  • rasa x version 0.20.2
  • rasa version is 1.2.8
  • Custom container using python3.7
  • I am using Cloud run GKE so i am not exactly sure which OS is underneath though

Hi @souvikg10

Did you ever get to the bottom of this? I am having the same issue on Rasa CE: