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
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
add a comment |
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
add a comment |
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
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
linux ssh
asked Mar 12 at 10:55
user1203497user1203497
63
63
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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