@deank said:
Well, there is your answer right there.
But Openvpn worked without such issues, so low ram is a problem with shadowsocks and wireguard for just one client?
Shadowsocks and Wireguard-go need more RAM compared to the OpenVPN daemon. Simple as that. The more recent versions of each upped their RAM requirements. 256MB is not sufficient to run a system + the two clients, unless you really slim down the underlying system processes, use some swap space, and only run either Shadowsocks or Wireguard-go, but not both at the same time.
Likely the reason it's crashing is due to OOM killer killing a needed system process which causes the container to halt. When you don't have a SWAP to fail back onto, the kernel has to resort to OOM killer to not run out of RAM, lest the entire thing comes crashing down (which is likely what's happening here).
@lindy54 said: VM shuts down, and rebooting it is not possible from the provider's control panel for a while (from couple of hours to days).
The fact that the VPS is unable to start again for
(from couple of hours to days)
suggests that there may be an abuse script on the providers side that is causing this.
Care to name the provider?
Yes, I also suspect that the problem may be caused by an abuse script. The funny thing is that the main ipv4 address gets inaccessible for that period too (from different IPs, so it's not an IP blocking mechanism). I think there will be some issues if I name the provider.
So, I removed wireguard completely and shadowsocks works well for speeds above 100 mbps without "crashing".
I doubt that it's a ram issue though, because shadowsocks continues to run ok under much higher ram loads.
@lindy54 said:
So, I removed wireguard completely and shadowsocks works well for speeds above 100 mbps without "crashing".
I doubt that it's a ram issue though, because shadowsocks continues to run ok under much higher ram loads.
Comments
What does crash mean?
Please post error message (in textual format, not pictures).
Webhosting24 aff best VPS; ServerFactory aff best VDS; Cloudie best ASN; Huel aff best brotein.
Crash means the end.
Therefore, OP means the end is nigh.
♻ Amitz day is October 21.
♻ Join Nigh sect by adopting my avatar. Let us spread the joys of the end.
VM shuts down, and rebooting it is not possible from the provider's control panel for a while (from couple of hours to days).
And the problem is not just about shadowsocks, It happens with wireguard as well.> @lindy54 said:
How much memory does your OpenVZ container have?
Cheap dedis are my drug, and I'm too far gone to turn back.
256 MB
Well, there is your answer right there.
♻ Amitz day is October 21.
♻ Join Nigh sect by adopting my avatar. Let us spread the joys of the end.
But Openvpn worked without such issues, so low ram is a problem with shadowsocks and wireguard for just one client?
The simplest solution for the answer would be do the same task but with half a gig of RAM.
If it doesn't scream the end, you know the culprit.
♻ Amitz day is October 21.
♻ Join Nigh sect by adopting my avatar. Let us spread the joys of the end.
Shadowsocks and Wireguard-go need more RAM compared to the OpenVPN daemon. Simple as that. The more recent versions of each upped their RAM requirements. 256MB is not sufficient to run a system + the two clients, unless you really slim down the underlying system processes, use some swap space, and only run either Shadowsocks or Wireguard-go, but not both at the same time.
Likely the reason it's crashing is due to OOM killer killing a needed system process which causes the container to halt. When you don't have a SWAP to fail back onto, the kernel has to resort to OOM killer to not run out of RAM, lest the entire thing comes crashing down (which is likely what's happening here).
Cheap dedis are my drug, and I'm too far gone to turn back.
The fact that the VPS is unable to start again for
suggests that there may be an abuse script on the providers side that is causing this.
Care to name the provider?
LES • About • Donate • Rules • Support
Yeah, name, shame, and then logically file a lawsuit for emotional damages.
♻ Amitz day is October 21.
♻ Join Nigh sect by adopting my avatar. Let us spread the joys of the end.
Which version? Which OS?
VPS reviews and benchmarks |
v2ray and wireguard-go work fine in webhorizon NAT-256 vps.
https://www.speedtest.net/result/c/2850b824-da4b-421e-b9b8-46c60539c3f1
Yes, I also suspect that the problem may be caused by an abuse script. The funny thing is that the main ipv4 address gets inaccessible for that period too (from different IPs, so it's not an IP blocking mechanism). I think there will be some issues if I name the provider.
OpenVZ 7, happens on both CentOS 7 and Ubuntu 18.04.
But I have the same issue with v2ray unfortunately.
So, I removed wireguard completely and shadowsocks works well for speeds above 100 mbps without "crashing".
I doubt that it's a ram issue though, because shadowsocks continues to run ok under much higher ram loads.
wireguard-go, of course.
Have you opened a ticket with the provider regarding this?
https://clients.mrvm.net
No, because I couldn't determine what exactly causes it.
Open a ticket with the provider. They might help find the reason as they have access to things you dont.
https://clients.mrvm.net