Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Orphan PyAPI servers #32

Open
krihal opened this issue Aug 19, 2024 · 1 comment
Open

Orphan PyAPI servers #32

krihal opened this issue Aug 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@krihal
Copy link
Collaborator

krihal commented Aug 19, 2024

In some cases there are orphan servers.

@krihal krihal added the bug Something isn't working label Aug 19, 2024
@krihal krihal self-assigned this Aug 19, 2024
@olofhagsand
Copy link
Member

To reproduce:

  1. start controller
> sudo clixon_backend -F
> top
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND            
 180512 root      20   0   32268  26888   2420 S   0,0   0,0   0:00.00 clixon_backend                       
 180513 clicon    20   0   37188  31272  10344 S   0,0   0,0   0:00.12 clixon_server.p
  1. Kill controller with -9 (there are also other ways to trigger it)
> sudo kill 180512
> top
   PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND            
180513 clicon    20   0   37188  31272  10344 R 100,0   0,0   0:05.68 clixon_server.p   
                                                 ^------------Note

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants