Open felocru opened 5 years ago
I have more info: Thu Jan 3 10:21:11 2019 - uwsgi_response_writev_headers_and_body_do(): Broken pipe [core/writer.c line 306] during GET /favicon.ico OSError: write error
Apparently after these messages the CPU started to rise.
I do not know if that is related to this:
OSError: unable to complete websocket handshake
File "engineio/middleware.py", line 47, in __call__
return self.engineio_app.handle_request(environ, start_response)
File "socketio/server.py", line 360, in handle_request
return self.eio.handle_request(environ, start_response)
File "engineio/server.py", line 282, in handle_request
environ, start_response)
File "engineio/socket.py", line 103, in handle_get_request
start_response)
File "engineio/socket.py", line 145, in _upgrade_websocket
return ws(environ, start_response)
File "engineio/async_gevent_uwsgi.py", line 35, in __call__
uwsgi.websocket_handshake()
I would appreciate any help you can give me.
See possibly related: https://github.com/unbit/uwsgi/issues/1010#issuecomment-452935459 if you using pymongo
...
Per your log:
/home/virtualenvs/voyserver-3B8mbtHy/lib/python3.5/site-packages/sentry_sdk/_compat.py:78: Warning: We detected the use of uwsgi with disabled threads. This will cause issues with the transport you are trying to use. Please enable threading for uwsgi. (Enable the "enable-threads" flag).
"We detected the use of uwsgi with disabled threads. "
Suggest you enable-threads
in uwsgi and see if that sorts it out. See: https://uwsgi-docs.readthedocs.io/en/latest/WSGIquickstart.html#a-note-on-python-threads
Hi, I have a geolocation monitoring system for several vehicles through uwsgi-gevent to 1000 cores. The number of users to monitor varies depending on the day and time. However, the use of the CPU remains constant.
When I restart the server, CPU usage remains between 1% and 2%, so it remains for a few hours. Then in a matter of seconds it grows until it reaches 83%, and so it remains constant.
This is my information: