-
Notifications
You must be signed in to change notification settings - Fork 116
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
linux error:signal: killed #149
Comments
Hi, @pabcxyz, Can I use strace or dmesg for debugging. |
@r3inbowari https://github.com/showwin/speedtest-go/issues/95 ,In this issue, you mentioned a .zip file that worked for me. Where can I find the corresponding code? |
They use almost the same code. use [email protected] |
|
speedtest-go_linux_amd64.zip I compiled this, you can try it. |
@r3inbowari This .zip file doesn't work; it has the same issue as the one I mentioned. |
@r3inbowari server A is configured with 4 vCPUs and 8 GiB of RAM, server B is configured with 4 vCPUs and 16 GiB of RAM. When I run the program on server A, it throws this error, but it works fine on server B. I believe this program has specific memory requirements. I hope for a quick fix.now,What should I do now to be able to use this package? Could you please advise? |
Can you provide server A system information |
@r3inbowari Sure, but what specific system information do you need? |
kernel and os release |
CentOS Linux release 7.6.1810 (Core) |
A and B are same? |
Yes, apart from the system configuration。 |
Any clues about dmesg?
|
where is the kill signal you mentioned? |
oom? |
dmesg | egrep -i -B100 'killed process' |
Sorry, I didn't quite understand what you meant. Currently, this is all I can provide. |
This issue seems to occur after #142. |
"In macOS, this is no issue. However, when running on Linux, the following error occurs: signal: killed."
Code:
`package main
import (
"fmt"
"github.com/showwin/speedtest-go/speedtest"
)
func main() {
var speedtestClient = speedtest.New()
}`
The text was updated successfully, but these errors were encountered: