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

Bug #577

Open
Ken-Sarowiwa opened this issue Jul 31, 2021 · 14 comments
Open

Bug #577

Ken-Sarowiwa opened this issue Jul 31, 2021 · 14 comments

Comments

@Ken-Sarowiwa
Copy link

Describe the bug
Error, synchronization between servers

Hey i downloaded the compreface project on my laptop, i am running on an ubuntu 20.04 focal, when i create a service or the demo service i get that error. error synchronization between servers

Screenshot from 2021-07-31 20-43-24

@pospielov
Copy link
Collaborator

Hi, could you run docker ps command and show which containers are run?
Also, could you share the logs: docker logs compreface-core

@Ken-Sarowiwa
Copy link
Author

when i run docker ps and the following
dockerps
containers are displayed

@Ken-Sarowiwa
Copy link
Author

when i run docker logs compreface-core i get the following outpu

@Ken-Sarowiwa
Copy link
Author

screenshot

@pospielov
Copy link
Collaborator

According to docker ps - you don't have any started containers. Have you started CompreFace before you run this command?
Also, can you show the end of the logs of docker logs compreface-core? Or even copy all of them to https://pastebin.com/?

@Ken-Sarowiwa
Copy link
Author

When i run docker ps after starting the containers this is what i get.
new

@Ken-Sarowiwa
Copy link
Author

as you can see the compre core server is not running

@pospielov
Copy link
Collaborator

Thanks, so we know that one container hasn't started well - compreface-core
I need full logs to understand why.
One of the possible reasons - you use arm-based CPU or x86 CPU without avx support.

@Ken-Sarowiwa
Copy link
Author

These are the output logs, when i run docker logs compreface-core

[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Tue Jul 27 17:11:19 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #7120.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x55aa078d02b0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Fri Jul 30 09:46:43 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #71
20.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x55d6e39232d0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Sat Jul 31 19:45:35 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #7120.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x5613f1b942d0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Sat Jul 31 19:48:07 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #71
20.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x55ae431b32d0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Sat Jul 31 20:12:40 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #7120.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x565363da42d0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Sun Aug 1 14:01:49 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #71
20.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x556bc2eb42d0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Sun Aug 1 14:04:10 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #7120.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x560dfa97f2d0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Sun Aug 1 14:05:00 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #71
20.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x5599652292d0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Mon Aug 2 09:48:49 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #7120.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x5618a7abb2d0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Mon Aug 2 14:23:53 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #71
20.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x55ba18ca02b0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Mon Aug 2 14:27:28 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #7120.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x56033671a2b0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.19 (64bit) on [Mon Aug 2 17:37:25 2021] ***
compiled with version: 8.3.0 on 01 May 2021 13:22:19
os: Linux-5.8.0-63-generic #71
20.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021
nodename: 1a91f85b240b
machine: x86_64
clock source: unix
detected number of CPU cores: 2
current working directory: /app/ml
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
setgid() to 33
setuid() to 33
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3
Python version: 3.7.10 (default, Mar 12 2021, 20:19:07) [GCC 8.3.0]
Python main interpreter initialized at 0x55db6c6672b0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 218712 bytes (213 KB) for 2 cores
*** Operational MODE: preforking ***

@Ken-Sarowiwa
Copy link
Author

Please check it for me, i have a presentation in a weeks time concerning this technology. i want to market your products over here

@pospielov
Copy link
Collaborator

Don't see any problems in logs...
Could you run cat /proc/cpuinfo and show the results?

@Ken-Sarowiwa
Copy link
Author

sure thing
cpu-infgo

@pospielov
Copy link
Collaborator

I don't see avx flag in the flags section. Please check it again, if I am wrong.
AVX flag is a minimum requirement to run CompreFace for now.
The reason - the default Tensorflow version requires AVX flag. And it's not easy to build CompreFace in a different way.

@Ken-Sarowiwa
Copy link
Author

i see, let me get a laptop that has AVX technology. Thank you bud

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

No branches or pull requests

2 participants