exadel-inc / CompreFace

Leading free and open-source face recognition system
https://exadel.com/accelerator-showcase/compreface/
Apache License 2.0
5.71k stars 775 forks source link

Getting kill signal for uWSGI worker #1239

Open tyanai opened 7 months ago

tyanai commented 7 months ago

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):

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