opensistemas-hub / osbrain

osBrain - A general-purpose multi-agent system module written in Python
https://osbrain.readthedocs.io/en/stable/
Apache License 2.0
175 stars 43 forks source link

Name server freezes after creating more than 45 agents #364

Open Karolina-Bogacka opened 2 years ago

Karolina-Bogacka commented 2 years ago

I was just wondering why exactly that is and what should I do if I want to use more in my simulation

Peque commented 2 years ago

@Karolina-Bogacka It shouldn't be the case. :blush:

Could you share a Minimal, Reproducible Example?

ryanstwrt commented 2 years ago

Also, you may want to see how many threads are currently allowed in Pyro4. I know that I needed to set: Pyro4.config.THREADPOOL_SIZE=<some_number> to allow for a large number of agents.

Peque commented 2 years ago

@ryanstwrt Good point. By default it is set to 16 by osBrain, which may be insufficient for some applications.