Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Start dispatcher failed!!! #70

Open
hamidfzm opened this issue Jul 18, 2018 · 5 comments
Open

Start dispatcher failed!!! #70

hamidfzm opened this issue Jul 18, 2018 · 5 comments

Comments

@hamidfzm
Copy link

╰─± goworld start examples/chatroom_demo
> arguments: start examples/chatroom_demo
> go search paths: /usr/local/go:/Users/hamidfzm/Go
> goworld directory found: /Users/hamidfzm/Go/src/github.com/xiaonanln/goworld
> start dispatchers ...
info	Using config file: /Users/hamidfzm/Go/src/github.com/xiaonanln/goworld/goworld.ini	{"ts": "2018-07-19T01:12:39.033+0430"}
info	>>> config <<< debug = true	{"ts": "2018-07-19T01:12:39.034+0430"}
info	>>> config <<< dispatcher count = 1	{"ts": "2018-07-19T01:12:39.034+0430"}
info	>>> config <<< game count = 1	{"ts": "2018-07-19T01:12:39.034+0430"}
info	>>> config <<< gate count = 1	{"ts": "2018-07-19T01:12:39.034+0430"}
info	>>> config <<< storage type = redis	{"ts": "2018-07-19T01:12:39.034+0430"}
info	>>> config <<< KVDB type = redis	{"ts": "2018-07-19T01:12:39.034+0430"}
> dispatcher ids: [1]
! start dispatcher failed, see dispatcher.log for error: fork/exec /Users/hamidfzm/Go/src/github.com/xiaonanln/goworld/components/dispatcher/dispatcher: resource temporarily unavailable

I'm trying to start demo chat server but I get error from dispatcher start and the dispatcher.log is empty. What is the problem here?

@xiaonanln
Copy link
Owner

This could be due to some resource limit. I have never seen error like this.

@hamidfzm
Copy link
Author

hamidfzm commented Jul 19, 2018

@xiaonanln What do you mean by resource limit? btw I'm running this code on MacBookPro with lots of RAM and storage space

@xiaonanln
Copy link
Owner

things like max process num, open files, etc

@JasonHXiang
Copy link

dispatcher启动失败,和楼主老哥的问题描述类似,使用mongodb。 @xiaonanln

@mornone
Copy link

mornone commented Sep 6, 2019

I have the same problem when executing the command, 'goworld start examples/unity_demo/'.
then solved by executing the following command,"goworld build examples/unity_demo"
someone can try it

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants