coco-annotator
coco-annotator copied to clipboard
Problem running the server in a GCP VM Instance
As the title stated, I'm running the coco-annotator in a dedicated e2-micro instance on GCP. It worked wonders at the start, but recently it has been halting a lot. I took a look at docker-compose logs, and it had these lines repeating indefinetely:
annotator_webclient | File "/usr/local/lib/python3.6/site-packages/amqp/transport.py", line 141, in _connect
annotator_webclient | host, port, family, socket.SOCK_STREAM, SOL_TCP)
annotator_webclient | File "/usr/local/lib/python3.6/site-packages/eventlet/support/greendns.py", line 517, in getaddrinfo
annotator_webclient | qname, addrs = _getaddrinfo_lookup(host, family, flags)
annotator_webclient | File "/usr/local/lib/python3.6/site-packages/eventlet/support/greendns.py", line 500, in _getaddrinfo_lookup
annotator_webclient | answer = resolve(host, family, False)
annotator_webclient | File "/usr/local/lib/python3.6/site-packages/eventlet/support/greendns.py", line 434, in resolve
annotator_webclient | raise EAI_NODATA_ERROR
Does anyone know the origin of this problem?
Thanks in advance.
So we just saw this issue in a local server (so this is not limited to GCP instances). Our container logs were about 2TiB in size with this same exception, so any help with setting up log rotation would be also very helpful.