Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Docker image suspend in startup. #1048

Open
caffeine-cn opened this issue May 23, 2022 · 2 comments
Open

Docker image suspend in startup. #1048

caffeine-cn opened this issue May 23, 2022 · 2 comments

Comments

@caffeine-cn
Copy link

Describe the bug
follow the install instruction https://www.bfe-networks.net/zh_cn/installation/install_using_docker/
docker run suspend in sample code
docker run -p 8080:8080 -p 8443:8443 -p 8421:8421 bfenetworks/bfe with information
maxprocs: Leaving GOMAXPROCS=56: CPU quota undefined

To Reproduce
install with docker with sample code docker run -p 8080:8080 -p 8443:8443 -p 8421:8421 bfenetworks/bfe

Expected behavior
docker run successful.

@zhugelianglongming
Copy link
Member

It seems like Golang program in your docker environment runs with too much logical processors.

You can try to set GOMAXPROCS in docker env to be likes cores for container(cpu quota).
run -p 8080:8080 -p 8443:8443 -p 8421:8421 -e GOMAXPROCS="${expected_value}" bfenetworks/bfe

More:
关于GOMAXPROCS的设置

@liangyuanpeng
Copy link

liangyuanpeng commented Feb 13, 2023

--

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

No branches or pull requests

3 participants