Skip to content

Conversation

@ngxson
Copy link
Collaborator

@ngxson ngxson commented Feb 10, 2025

Supersede #11731

Tested in 2 cases:

  1. When the server is idle (not processing any requests), ctrl+C calls clean_up() then exit gracefully
  2. When is server is busy processing a request, ctrl+C stops the server_queue, calls clean_up() then exit gracefully

NOTE: This is NOT intended to fix ggml-org/llama.vim#35 as the issue may not come from llama-server, potentially machine-specific config - need more info on the issue.

@ngxson ngxson merged commit 0893e01 into master Feb 10, 2025
46 checks passed
tinglou pushed a commit to tinglou/llama.cpp that referenced this pull request Feb 13, 2025
orca-zhang pushed a commit to orca-zhang/llama.cpp that referenced this pull request Feb 26, 2025
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Feb 26, 2025
@ngxson ngxson deleted the xsn/server_correct_sig_handler branch March 1, 2025 10:05
ubergarm pushed a commit to ubergarm/llama.cpp that referenced this pull request Mar 1, 2025
mglambda pushed a commit to mglambda/llama.cpp that referenced this pull request Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

once started, the server can't be shut down using ctrl-c or ctrl-d

2 participants