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

Multiple face add #10

Open
lavrenkov-sketch opened this issue Sep 15, 2021 · 1 comment
Open

Multiple face add #10

lavrenkov-sketch opened this issue Sep 15, 2021 · 1 comment

Comments

@lavrenkov-sketch
Copy link

lavrenkov-sketch commented Sep 15, 2021

Try add face in loop for files in my folder(6000 faces)
i got error FATAL: sorry, too many clients already
but api response is ok
compreface-core | {"severity": "DEBUG", "message": "Found: BoundingBoxDTO(x_min=30, y_min=46, x_max=122, y_max=152, probability=0.9968504309654236, _np_landmarks=array([[ 59, 91],\n [ 91, 90],\n [ 75, 112],\n [ 63, 125],\n [ 89, 124]]))", "request": {"method": "POST", "path": "/find_faces", "filename": "6af6425dafe57fd88148a0b7d6f14d5c19771001.jpg", "api_key": "", "remote_addr": "172.25.0.4"}, "logger": "src.services.facescan.plugins.facenet.facenet", "module": "facenet", "traceback": null, "build_version": "dev"} compreface-core | {"severity": "INFO", "message": "200 OK", "request": {"method": "POST", "path": "/find_faces", "filename": "6af6425dafe57fd88148a0b7d6f14d5c19771001.jpg", "api_key": "", "remote_addr": "172.25.0.4"}, "logger": "src.services.flask_.log_response", "module": "log_response", "traceback": null, "build_version": "dev"} compreface-postgres-db | 2021-09-15 05:47:10.758 UTC [145] FATAL: sorry, too many clients already compreface-api | 2021-09-15 05:47:10.758 ERROR 7 --- [nio-8080-exec-7] c.e.f.c.t.s.NotificationSenderService : Connection Error: sorry, too many clients already compreface-ui | 192.168.101.111 - - [15/Sep/2021:05:47:10 +0000] "POST /api/v1/recognition/faces?subject=makarskayato%20%D0%9F%D1%80%D0%B8%D0%B5%D0%BC%D1%89%D0%B8%D0%BA%20%D0%B7%D0%B0%D0%BA%D0%B0%D0%B7%D0%BE%D0%B2 HTTP

@pospielov
Copy link
Contributor

Hi, thanks for posting it, I'll create a bug for this.
Do you wait until CompreFace returns a response before sending a new request?
This is important for understanding the source of the bug.

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

2 participants