OpenVZ VPS Crashes during Speed test

Why would an OpenVZ VPS crash by doing a speed test when using Shadowsocks?

Tagged:

Comments

  • What does crash mean?
    Please post error message (in textual format, not pictures).

    Hammer the cores and blast the ports with no mercy.

  • Crash means the end.

    Therefore, OP means the end is nigh.

    Thanked by (1)lindy54

    ♻ Amitz day is October 21.
    ♻ Join Nigh sect by adopting my avatar. Let us spread the joys of the end.

  • edited March 28

    @yoursunny said:
    What does crash mean?
    Please post error message (in textual format, not pictures).

    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:

    Why would an OpenVZ VPS crash by doing a speed test when using Shadowsocks?

  • How much memory does your OpenVZ container have?

    Thanked by (1)Not_Oles

    Cheap dedis are my drug, and I'm too far gone to turn back.

  • @CamoYoshi said:
    How much memory does your OpenVZ container have?

    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.

  • edited March 28

    @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?

  • 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.

  • edited March 28

    @lindy54 said:

    @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).

    Thanked by (1)Not_Oles

    Cheap dedis are my drug, and I'm too far gone to turn back.

  • @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?

    Thanked by (3)Not_Oles skorous lindy54

    Certainement qui est en droit de vous rendre absurde, est en droit de vous rendre injuste - Voltaire

  • 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.

  • vyasvyas OGContent Writer
    edited March 28

    OpenVZ

    Which version? Which OS?

    VPS reviews | | MicroLXC | English is my nth language.

  • edited March 29

    v2ray and wireguard-go work fine in webhorizon NAT-256 vps.

    https://www.speedtest.net/result/c/2850b824-da4b-421e-b9b8-46c60539c3f1

    Thanked by (1)CamoYoshi
  • @FrankZ said:

    @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.

    Thanked by (1)FrankZ
  • @vyas said:

    OpenVZ

    Which version? Which OS?

    OpenVZ 7, happens on both CentOS 7 and Ubuntu 18.04.

  • @feie said:
    v2ray and wireguard-go work fine in webhorizon NAT-256 vps.

    https://www.speedtest.net/result/c/2850b824-da4b-421e-b9b8-46c60539c3f1

    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.

  • @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.

    wireguard-go, of course.

  • mikhomikho AdministratorHosting ProviderOG

    @lindy54 said: I think there will be some issues if I name the provider.

    Have you opened a ticket with the provider regarding this?

    Get 4 or more NAT servers (mix/match between packages) and get a 30 % recurring discount. https://clients.mrvm.net

  • @mikho said:

    @lindy54 said: I think there will be some issues if I name the provider.

    Have you opened a ticket with the provider regarding this?

    No, because I couldn't determine what exactly causes it.

  • mikhomikho AdministratorHosting ProviderOG

    @lindy54 said:

    @mikho said:

    @lindy54 said: I think there will be some issues if I name the provider.

    Have you opened a ticket with the provider regarding this?

    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.

    Thanked by (1)lindy54

    Get 4 or more NAT servers (mix/match between packages) and get a 30 % recurring discount. https://clients.mrvm.net

Sign In or Register to comment.