-
-
Notifications
You must be signed in to change notification settings - Fork 440
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
[Bug] tun2socks is getting killed with oom at the same time #415
Comments
Have you tried increasing the memory limit to see if it gets better? I'm not sure if it's due to usage or a real memory leak. 🤔 |
When there was no memory limit for the service the whole system could freeze and I had to reboot the server. With this limit it can recover by itself. I grep the memory usage from systemctl every 5 minutes, here is that simple log, it doesn't look like there is a leak. I also have a service restart at every 33-rd minute in crontab.
|
Verify steps
Version
linux/amd64, go1.22.5, 488e5b2
What OS are you seeing the problem on?
Linux
Description
Tun2socks process is getting killed every day at about the same time with oom. I've tried scheduling the service restart every hour and decreasing buffers sizes, but the accident still occurs.
CLI or Config
My systemd unit file
Logs
How to Reproduce
I suppose launching the attached config is enough.
The text was updated successfully, but these errors were encountered: