How do I kill Wagtail server

0 votes

I've completed the installation process for Wagtail on Linode but I am having problems in deploying it. I started the server with ./manage.py runserver but accidentally exited without stopping the server.

The ./manage.py help command is not showing how to stop the server. What's the best way to stop it so that I can restart it on 0.0.0.0:8000? Should I just reboot the Linode server?

Can anyone help me with this ?

Jun 25, 2018 in DevOps Tools by Atul
• 10,240 points
851 views

1 answer to this question.

0 votes

Here is the explanation regarding the above query.

If you'll kill the process, it will stop the wagtail server.

First search for your process id (PID), filtering by "manage.py runserver"

ps aux | grep "manage.py runserver"

You will see something like this:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
[...]
user        38  0.0  0.0      0     0 ?        S     2433   0:00 python manage.py runserver 0:8000

Then you can kill your process using kill -9 $PID, in this example $PID is 38:

# Terminate running process    
kill -9 38

Now you should be able to start your app normaly with using:

./manage.py runserver

Restarting your Linode server will also solve this, but its like killing a fly with a hammer.

I hope that above explanation will be helpful to you.

answered Jun 25, 2018 by anonymous

Related Questions In DevOps Tools

0 votes
1 answer

For Gradle & Spring Boot, how do I choose dependency with implementation?

Below is the answer to your question: Both ...READ MORE

answered Jun 17, 2018 in DevOps Tools by shubham
• 7,340 points
773 views
0 votes
1 answer

How do I deploy to multiple servers using the same context root?

  If you're deploying to multiple servers ...READ MORE

answered Jul 2, 2018 in DevOps Tools by Kalgi
• 52,350 points
784 views
0 votes
1 answer

How do I run “ant update” in Hybris with only “Update Running System”?

Here is what you can try. You can ...READ MORE

answered Jul 10, 2018 in DevOps Tools by Atul
• 10,240 points
7,161 views
+1 vote
1 answer

I’m facing problems while setting up Maven. How do I solve this?

First of all check if you don't ...READ MORE

answered Jul 25, 2018 in DevOps Tools by Sophie may
• 10,620 points
1,197 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+2 votes
1 answer
+1 vote
3 answers

How do I check and export sonarqube analysis reports in embedded db?

Browse to sonarqube web instance to access ...READ MORE

answered Jul 2, 2018 in DevOps Tools by DareDev
• 6,890 points
28,326 views
0 votes
1 answer

How do I set maximum queue connection for nginx port in Windows?

Since increasing queue size did not fix your problem ...READ MORE

answered Aug 22, 2018 in DevOps Tools by Damon Salvatore
• 5,980 points
1,203 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP