Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Getting kill signal for uWSGI worker #1239

Open
tyanai opened this issue Apr 18, 2024 · 0 comments
Open

Getting kill signal for uWSGI worker #1239

tyanai opened this issue Apr 18, 2024 · 0 comments

Comments

@tyanai
Copy link

tyanai commented Apr 18, 2024

Getting kill signal for uWSGI worker

To Reproduce

Steps to reproduce the behavior:

Starting using docker-compose:

yanai@ubuntu-server:/share/compreface/custom-builds/SubCenter-ArcFace-r100-gpu$ sudo docker-compose up
Creating network "subcenter-arcface-r100-gpu_default" with the default driver
Creating volume "subcenter-arcface-r100-gpu_postgres-data" with default driver
Creating compreface-postgres-db ... done
Creating compreface-core ... done
Creating compreface-api ... done
Creating compreface-admin ... done
Creating compreface-ui ... done
Attaching to compreface-postgres-db, compreface-core, compreface-api, compreface-admin, compreface-ui
compreface-admin | Listening for transport dt_socket at address: 5005
compreface-core | [uWSGI] getting INI configuration from uwsgi.ini
compreface-core | *** Starting uWSGI 2.0.19 (64bit) on [Thu Apr 18 11:00:41 2024] ***
compreface-core | compiled with version: 9.4.0 on 07 October 2022 10:41:31
compreface-core | os: Linux-5.15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:50:32 UTC 2024
compreface-core | nodename: 837a25309683
compreface-core | machine: x86_64
compreface-core | clock source: unix
compreface-core | detected number of CPU cores: 4
compreface-core | current working directory: /app/ml
compreface-core | detected binary path: /usr/local/bin/uwsgi
compreface-core | !!! no internal routing support, rebuild with pcre support !!!
compreface-core | setgid() to 33
compreface-core | setuid() to 33
compreface-core | your memory page size is 4096 bytes
compreface-core | detected max file descriptor number: 1048576
compreface-core | lock engine: pthread robust mutexes
compreface-core | thunder lock: disabled (you can enable it with --thunder-lock)
compreface-core | uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
compreface-core | Python version: 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]
compreface-core | Python main interpreter initialized at 0x55cf4533d660
compreface-core | python threads support enabled
compreface-core | your server socket listen backlog is limited to 100 connections
compreface-core | your mercy for graceful operations on workers is 60 seconds
compreface-core | mapped 145808 bytes (142 KB) for 1 cores
compreface-core | *** Operational MODE: single process ***

After a minute or so:
compreface-core | SIGINT/SIGQUIT received...killing workers...
compreface-core | [11:05:02] ../src/engine/engine.cc:54: MXNet start using engine: ThreadedEnginePerDevice
compreface-core | corrupted double-linked list
compreface-ui exited with code 0
compreface-core | worker 1 buried after 1 seconds
compreface-core | goodbye to uWSGI.
compreface-core exited with code 0

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [Ubuntu 22.04.4 LTS]
  • Browser [chrome,]
  • Version [1.2.0 with .env set back to 1.1.0 to avoid memory leak] (setting to 1.2.0 also ended up with the same kill)

Logs

Run those commands and attach result to the ticket:

docker ps
[docker_ps.txt](https://github.com/exadel-inc/CompreFace/files/15024115/docker_ps.txt)

dockerLogs.txt
docker_ps.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant