My Linux based server for Node.js/Angular keeps crashing The Next CEO of Stack OverflowSwap usage too high?How to know why server keeps restarting?ssh to different server based on user?Accessing Linux server via VPN or Certificate based ssh?Permanent swapping with lots of free memoryPuTTY (SSH) (tracert) Network error: Software caused connection abortLinux Mint 18 - Cinnamon keeps crashingSystem keeps crashingFirefox keeps crashing upon launchRunning http-server forever on ubuntu server

Complex fractions

How do we know the LHC results are robust?

How did people program for Consoles with multiple CPUs?

multiple labels for a single equation

How did the Bene Gesserit know how to make a Kwisatz Haderach?

Is "for causing autism in X" grammatical?

sp_blitzCache results Memory grants

Should I tutor a student who I know has cheated on their homework?

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Rotate a column

Non-deterministic sum of floats

Indicator light circuit

What can we do to stop prior company from asking us questions?

Why do airplanes bank sharply to the right after air-to-air refueling?

How fast would a person need to move to trick the eye?

If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?

What is the result of assigning to std::vector<T>::begin()?

Can we say or write : "No, it'sn't"?

Can you replace a racial trait cantrip when leveling up?

Preparing Indesign booklet with .psd graphics for print

Is it ever safe to open a suspicious html file (e.g. email attachment)?

Why do remote companies require working in the US?

Are there any limitations on attacking while grappling?

What is ( CFMCC ) on ILS approach chart?



My Linux based server for Node.js/Angular keeps crashing



The Next CEO of Stack OverflowSwap usage too high?How to know why server keeps restarting?ssh to different server based on user?Accessing Linux server via VPN or Certificate based ssh?Permanent swapping with lots of free memoryPuTTY (SSH) (tracert) Network error: Software caused connection abortLinux Mint 18 - Cinnamon keeps crashingSystem keeps crashingFirefox keeps crashing upon launchRunning http-server forever on ubuntu server










0















For months my server has been going down every few weeks. I check logs in cPanel, I see that memory usage and CPU usage all normal till server goes down. There is no spike in resource usage prior to server going down. I have been trying to run server both with screen and without. On screen version is that every few weeks I just find dead screen.
I start server with forever, like this:



forever start -o backend_out4.log -e backend_err4.log -a index.js


After I see server has crashed, I open that log, see that last visit was to some url that doesn't exist. I restart the server, go to that url, nothing happens. Similar is to logs in cPanel. I open the logs, check when server first time responded with 503 code, check url that was logged before. Restart the server, visit that url, nothing happens.



when I run dmesg, few last lines are these:



[17595162.766140] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
[17595162.766143] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
[17595162.766145] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
[17595162.775419] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
[17595162.775422] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
[17595162.775424] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
[17595162.785352] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
[17595162.785356] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
[17595162.785358] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
[17602219.243052] try_charge: task lsphp is about to be killed due to oom
[17602222.420140] try_charge: task lsphp is about to be killed due to oom
[17604779.812248] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
[17604779.816494] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
[17604779.820613] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
[17621398.958802] TCP: request_sock_TCP: Possible SYN flooding on port 25. Sending cookies. Check SNMP counters.


If I google last line, I get results talking about DDoS attack. When I look from cPanel logs URL that have been requested, I see things like: /sql/myadmin/index.php?lang=en, /sql/webadmin/index.php?lang=en- These looks more like someone using some software to crawl some endpoints, hoping to find vulnerability. And if it was DDoS attack, shouldn't it spike in resource usage?



I am hosting at a2hosting.com, using nodejs-hosting package. Maybe the problem is in something that isn't installed by default in my server, but should be.



At this point, I am no longer even hoping direct answer, I am just looking for hint or tip, that might lead to solutions.










share|improve this question


























    0















    For months my server has been going down every few weeks. I check logs in cPanel, I see that memory usage and CPU usage all normal till server goes down. There is no spike in resource usage prior to server going down. I have been trying to run server both with screen and without. On screen version is that every few weeks I just find dead screen.
    I start server with forever, like this:



    forever start -o backend_out4.log -e backend_err4.log -a index.js


    After I see server has crashed, I open that log, see that last visit was to some url that doesn't exist. I restart the server, go to that url, nothing happens. Similar is to logs in cPanel. I open the logs, check when server first time responded with 503 code, check url that was logged before. Restart the server, visit that url, nothing happens.



    when I run dmesg, few last lines are these:



    [17595162.766140] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
    [17595162.766143] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
    [17595162.766145] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
    [17595162.775419] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
    [17595162.775422] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
    [17595162.775424] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
    [17595162.785352] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
    [17595162.785356] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
    [17595162.785358] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
    [17602219.243052] try_charge: task lsphp is about to be killed due to oom
    [17602222.420140] try_charge: task lsphp is about to be killed due to oom
    [17604779.812248] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
    [17604779.816494] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
    [17604779.820613] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
    [17621398.958802] TCP: request_sock_TCP: Possible SYN flooding on port 25. Sending cookies. Check SNMP counters.


    If I google last line, I get results talking about DDoS attack. When I look from cPanel logs URL that have been requested, I see things like: /sql/myadmin/index.php?lang=en, /sql/webadmin/index.php?lang=en- These looks more like someone using some software to crawl some endpoints, hoping to find vulnerability. And if it was DDoS attack, shouldn't it spike in resource usage?



    I am hosting at a2hosting.com, using nodejs-hosting package. Maybe the problem is in something that isn't installed by default in my server, but should be.



    At this point, I am no longer even hoping direct answer, I am just looking for hint or tip, that might lead to solutions.










    share|improve this question
























      0












      0








      0








      For months my server has been going down every few weeks. I check logs in cPanel, I see that memory usage and CPU usage all normal till server goes down. There is no spike in resource usage prior to server going down. I have been trying to run server both with screen and without. On screen version is that every few weeks I just find dead screen.
      I start server with forever, like this:



      forever start -o backend_out4.log -e backend_err4.log -a index.js


      After I see server has crashed, I open that log, see that last visit was to some url that doesn't exist. I restart the server, go to that url, nothing happens. Similar is to logs in cPanel. I open the logs, check when server first time responded with 503 code, check url that was logged before. Restart the server, visit that url, nothing happens.



      when I run dmesg, few last lines are these:



      [17595162.766140] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
      [17595162.766143] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
      [17595162.766145] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
      [17595162.775419] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
      [17595162.775422] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
      [17595162.775424] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
      [17595162.785352] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
      [17595162.785356] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
      [17595162.785358] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
      [17602219.243052] try_charge: task lsphp is about to be killed due to oom
      [17602222.420140] try_charge: task lsphp is about to be killed due to oom
      [17604779.812248] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
      [17604779.816494] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
      [17604779.820613] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
      [17621398.958802] TCP: request_sock_TCP: Possible SYN flooding on port 25. Sending cookies. Check SNMP counters.


      If I google last line, I get results talking about DDoS attack. When I look from cPanel logs URL that have been requested, I see things like: /sql/myadmin/index.php?lang=en, /sql/webadmin/index.php?lang=en- These looks more like someone using some software to crawl some endpoints, hoping to find vulnerability. And if it was DDoS attack, shouldn't it spike in resource usage?



      I am hosting at a2hosting.com, using nodejs-hosting package. Maybe the problem is in something that isn't installed by default in my server, but should be.



      At this point, I am no longer even hoping direct answer, I am just looking for hint or tip, that might lead to solutions.










      share|improve this question














      For months my server has been going down every few weeks. I check logs in cPanel, I see that memory usage and CPU usage all normal till server goes down. There is no spike in resource usage prior to server going down. I have been trying to run server both with screen and without. On screen version is that every few weeks I just find dead screen.
      I start server with forever, like this:



      forever start -o backend_out4.log -e backend_err4.log -a index.js


      After I see server has crashed, I open that log, see that last visit was to some url that doesn't exist. I restart the server, go to that url, nothing happens. Similar is to logs in cPanel. I open the logs, check when server first time responded with 503 code, check url that was logged before. Restart the server, visit that url, nothing happens.



      when I run dmesg, few last lines are these:



      [17595162.766140] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
      [17595162.766143] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
      [17595162.766145] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
      [17595162.775419] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
      [17595162.775422] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
      [17595162.775424] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
      [17595162.785352] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
      [17595162.785356] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
      [17595162.785358] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
      [17602219.243052] try_charge: task lsphp is about to be killed due to oom
      [17602222.420140] try_charge: task lsphp is about to be killed due to oom
      [17604779.812248] LVE: [1555] cgrp_param_open: cgrp_param_lookup memory.swappiness failed with -2
      [17604779.816494] LVE: [1555] cgrp_param_open_write_string: can't open memory.swappiness, rc=-2
      [17604779.820613] LVE: [1555] os_resource_extra_init: failed to disable swapping, physmem can swap out
      [17621398.958802] TCP: request_sock_TCP: Possible SYN flooding on port 25. Sending cookies. Check SNMP counters.


      If I google last line, I get results talking about DDoS attack. When I look from cPanel logs URL that have been requested, I see things like: /sql/myadmin/index.php?lang=en, /sql/webadmin/index.php?lang=en- These looks more like someone using some software to crawl some endpoints, hoping to find vulnerability. And if it was DDoS attack, shouldn't it spike in resource usage?



      I am hosting at a2hosting.com, using nodejs-hosting package. Maybe the problem is in something that isn't installed by default in my server, but should be.



      At this point, I am no longer even hoping direct answer, I am just looking for hint or tip, that might lead to solutions.







      linux ssh






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 12 at 10:55









      user1203497user1203497

      63




      63




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f505847%2fmy-linux-based-server-for-node-js-angular-keeps-crashing%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f505847%2fmy-linux-based-server-for-node-js-angular-keeps-crashing%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

          Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

          Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.