x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to close Linux Dedicated Server in an elegant way?

I want close my linux dedicated server when game over for do not need the dedicated server any more, and I closed my dedicated server use "kill -9 pid", it is a rough way, is there an elegant way to stop it ? Make sure the dedicated server released all resources which allocated before, contain the network resources?

Product Version: Not Selected
Tags:
more ▼

asked Mar 07 '15 at 01:11 AM in Linux

avatar image

w0ot
11 2 5 8

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

I changed "kill -9 pid" to "kill -2 pid", it seems more reasonable!

more ▼

answered Mar 26 '15 at 03:14 AM

avatar image

w0ot
11 2 5 8

(comments are locked)
10|2000 characters needed characters left

SIGINT is indeed a "default" way to make dedicated server quit, but in general logic like this is game-specific - e.g. you may want your master server to start/stop match servers.

more ▼

answered Jul 16 '15 at 04:35 PM

avatar image

RCL STAFF
2.7k 59 6 88

(comments are locked)
10|2000 characters needed characters left

I'm using Ctrl+C and in the log "Shutting down and abandoning modules" as in the window when quit command

more ▼

answered Jan 08 '19 at 11:43 PM

avatar image

6r0m
424 17 16 26

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question