Django Application Killed unexpectedly in AWS EC2 Instance
up vote
0
down vote
favorite
I have a Django Project running over AWS EC2 Instance. I am using default Django server to run the application. To make the server running in background I have used screen
command as:
To open screen:
screen
This takes me to screen terminal and there I fire runserver command as-
python3 manage.py runserver 0.0.0.0:8000
This is working. But sometimes due to OOM Killer the process stops and my application thereby stops.
How could I avoid the process kill situation?
python amazon-web-services amazon-ec2 ubuntu-16.04 django
New contributor
add a comment |
up vote
0
down vote
favorite
I have a Django Project running over AWS EC2 Instance. I am using default Django server to run the application. To make the server running in background I have used screen
command as:
To open screen:
screen
This takes me to screen terminal and there I fire runserver command as-
python3 manage.py runserver 0.0.0.0:8000
This is working. But sometimes due to OOM Killer the process stops and my application thereby stops.
How could I avoid the process kill situation?
python amazon-web-services amazon-ec2 ubuntu-16.04 django
New contributor
Get an AWS instance with enough memory that the OOM killer doesn't need to work.
– Mokubai♦
2 days ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a Django Project running over AWS EC2 Instance. I am using default Django server to run the application. To make the server running in background I have used screen
command as:
To open screen:
screen
This takes me to screen terminal and there I fire runserver command as-
python3 manage.py runserver 0.0.0.0:8000
This is working. But sometimes due to OOM Killer the process stops and my application thereby stops.
How could I avoid the process kill situation?
python amazon-web-services amazon-ec2 ubuntu-16.04 django
New contributor
I have a Django Project running over AWS EC2 Instance. I am using default Django server to run the application. To make the server running in background I have used screen
command as:
To open screen:
screen
This takes me to screen terminal and there I fire runserver command as-
python3 manage.py runserver 0.0.0.0:8000
This is working. But sometimes due to OOM Killer the process stops and my application thereby stops.
How could I avoid the process kill situation?
python amazon-web-services amazon-ec2 ubuntu-16.04 django
python amazon-web-services amazon-ec2 ubuntu-16.04 django
New contributor
New contributor
New contributor
asked 2 days ago
Reema Parakh
12
12
New contributor
New contributor
Get an AWS instance with enough memory that the OOM killer doesn't need to work.
– Mokubai♦
2 days ago
add a comment |
Get an AWS instance with enough memory that the OOM killer doesn't need to work.
– Mokubai♦
2 days ago
Get an AWS instance with enough memory that the OOM killer doesn't need to work.
– Mokubai♦
2 days ago
Get an AWS instance with enough memory that the OOM killer doesn't need to work.
– Mokubai♦
2 days ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Reema Parakh is a new contributor. Be nice, and check out our Code of Conduct.
Reema Parakh is a new contributor. Be nice, and check out our Code of Conduct.
Reema Parakh is a new contributor. Be nice, and check out our Code of Conduct.
Reema Parakh is a new contributor. Be nice, and check out our Code of Conduct.
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%2fsuperuser.com%2fquestions%2f1376204%2fdjango-application-killed-unexpectedly-in-aws-ec2-instance%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
Get an AWS instance with enough memory that the OOM killer doesn't need to work.
– Mokubai♦
2 days ago