Open kenmasumitsu opened 1 year ago
After "Subscribing to Context Changes", suddenly fiware-cygnus exited.
docker compose logs cygnus fiware-cygnus | time=2022-10-13T02:15:09.591Z | lvl=DEBUG | corr=dbb765ea-4a9c-11ed-b4c9-0242ac120104; cbnotif=1 | trans=c0919c37-c261-47a7-b650-627c69775566 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=insertContextDataAggregatedForResolution | msg=com.telefonica.iot.cygnus.backends.mongo.MongoBackendImpl[330] : Prepopulated data, database=sth_openiot, collection=sth_/_Lamp:001_Lamp.aggr, queries=[{"_id": {"attrName": "category", "origin": {"$date": 1665627300000}, "resolution": "second", "range": "minute"}, "points.offset": 7}, {"_id": {"attrName": "category", "origin": {"$date": 1665626400000}, "resolution": "minute", "range": "hour"}, "points.offset": 15}, {"_id": {"attrName": "category", "origin": {"$date": 1665619200000}, "resolution": "hour", "range": "day"}, "points.offset": 2}, {"_id": {"attrName": "category", "origin": {"$date": 1664582400000}, "resolution": "day", "range": "month"}, "points.offset": 13}, {"_id": {"attrName": "category", "origin": {"$date": 1640995200000}, "resolution": "month", "range": "year"}, "points.offset": 10}], insert=[{"$setOnInsert": {"attrType": "Text", "points": [{"offset": 0, "samples": 0, "occur": {}}, {"offset": 1, "samples": 0, "occur": {}}, {"offset": 2, "samples": 0, "occur": {}}, {"offset": 3, "samples": 0, "occur": {}}, {"offset": 4, "samples": 0, "occur": {}}, {"offset": 5, "samples": 0, "occur": {}}, {"offset": 6, "samples": 0, "occur": {}}, {"offset": 7, "samples": 0, "occur": {}}, {"offset": 8, "samples": 0, "occur": {}}, {"offset": 9, "samples": 0, "occur": {}}, {"offset": 10, "samples": 0, "occur": {}}, {"offset": 11, "samples": 0, "occur": {}}, {"offset": 12, "samples": 0, "occur": {}}, {"offset": 13, "samples": 0, "occur": {}}, {"offset": 14, "samples": 0, "occur": {}}, {"offset": 15, "samples": 0, "occur": {}}, {"offset": 16, "samples": 0, "occur": {}}, {"offset": 17, "samples": 0, "occur": {}}, {"offset": 18, "samples": 0, "occur": {}}, {"offset": 19, "samples": 0, "occur": {}}, {"offset": 20, "samples": 0, "occur": {}}, {"offset": 21, "samples": 0, "occur": {}}, {"offset": 22, "samples": 0, "occur": {}}, {"offset": 23, "samples": 0, "occur": {}}, {"offset": 24, "samples": 0, "occur": {}}, {"offset": 25, "samples": 0, "occur": {}}, {"offset": 26, "samples": 0, "occur": {}}, {"offset": 27, "samples": 0, "occur": {}}, {"offset": 28, "samples": 0, "occur": {}}, {"offset": 29, "samples": 0, "occur": {}}, {"offset": 30, "samples": 0, "occur": {}}, {"offset": 31, "samples": 0, "occur": {}}, {"offset": 32, "samples": 0, "occur": {}}, {"offset": 33, "samples": 0, "occur": {}}, {"offset": 34, "samples": 0, "occur": {}}, {"offset": 35, "samples": 0, "occur": {}}, {"offset": 36, "samples": 0, "occur": {}}, {"offset": 37, "samples": 0, "occur": {}}, {"offset": 38, "samples": 0, "occur": {}}, {"offset": 39, "samples": 0, "occur": {}}, {"offset": 40, "samples": 0, "occur": {}}, {"offset": 41, "samples": 0, "occur": {}}, {"offset": 42, "samples": 0, "occur": {}}, {"offset": 43, "samples": 0, "occur": {}}, {"offset": 44, "samples": 0, "occur": {}}, {"offset": 45, "samples": 0, "occur": {}}, {"offset": 46, "samples": 0, "occur": {}}, {"offset": 47, "samples": 0, "occur": {}}, {"offset": 48, "samples": 0, "occur": {}}, {"offset": 49, "samples": 0, "occur": {}}, {"offset": 50, "samples": 0, "occur": {}}, {"offset": 51, "samples": 0, "occur": {}}, {"offset": 52, "samples": 0, "occur": {}}, {"offset": 53, "samples": 0, "occur": {}}, {"offset": 54, "samples": 0, "occur": {}}, {"offset": 55, "samples": 0, "occur": {}}, {"offset": 56, "samples": 0, "occur": {}}, {"offset": 57, "samples": 0, "occur": {}}, {"offset": 58, "samples": 0, "occur": {}}, {"offset": 59, "samples": 0, "occur": {}}]}}, {"$setOnInsert": {"attrType": "Text", "points": [{"offset": 0, "samples": 0, "occur": {}}, {"offset": 1, "samples": 0, "occur": {}}, {"offset": 2, "samples": 0, "occur": {}}, {"offset": 3, "samples": 0, "occur": {}}, {"offset": 4, "samples": 0, "occur": {}}, {"offset": 5, "samples": 0, "occur": {}}, {"offset": 6, "samples": 0, "occur": {}}, {"offset": 7, "samples": 0, "occur": {}}, {"offset": 8, "samples": 0, "occur": {}}, {"offset": 9, "samples": 0, "occur": {}}, {"offset": 10, "samples": 0, "occur": {}}, {"offset": 11, "samples": 0, "occur": {}}, {"offset": 12, "samples": 0, "occur": {}}, {"offset": 13, "samples": 0, "occur": {}}, {"offset": 14, "samples": 0, "occur": {}}, {"offset": 15, "samples": 0, "occur": {}}, {"offset": 16, "samples": 0, "occur": {}}, {"offset": 17, "samples": 0, "occur": {}}, {"offset": 18, "samples": 0, "occur": {}}, {"offset": 19, "samples": 0, "occur": {}}, {"offset": 20, "samples": 0, "occur": {}}, {"offset": 21, "samples": 0, "occur": {}}, {"offset": 22, "samples": 0, "occur": {}}, {"offset": 23, "samples": 0, "occur": {}}, {"offset": 24, "samples": 0, "occur": {}}, {"offset": 25, "samples": 0, "occur": {}}, {"offset": 26, "samples": 0, "occur": {}}, {"offset": 27, "samples": 0, "occur": {}}, {"offset": 28, "samples": 0, "occur": {}}, {"offset": 29, "samples": 0, "occur": {}}, {"offset": 30, "samples": 0, "occur": {}}, {"offset": 31, "samples": 0, "occur": {}}, {"offset": 32, "samples": 0, "occur": {}}, {"offset": 33, "samples": 0, "occur": {}}, {"offset": 34, "samples": 0, "occur": {}}, {"offset": 35, "samples": 0, "occur": {}}, {"offset": 36, "samples": 0, "occur": {}}, {"offset": 37, "samples": 0, "occur": {}}, {"offset": 38, "samples": 0, "occur": {}}, {"offset": 39, "samples": 0, "occur": {}}, {"offset": 40, "samples": 0, "occur": {}}, {"offset": 41, "samples": 0, "occur": {}}, {"offset": 42, "samples": 0, "occur": {}}, {"offset": 43, "samples": 0, "occur": {}}, {"offset": 44, "samples": 0, "occur": {}}, {"offset": 45, "samples": 0, "occur": {}}, {"offset": 46, "samples": 0, "occur": {}}, {"offset": 47, "samples": 0, "occur": {}}, {"offset": 48, "samples": 0, "occur": {}}, {"offset": 49, "samples": 0, "occur": {}}, {"offset": 50, "samples": 0, "occur": {}}, {"offset": 51, "samples": 0, "occur": {}}, {"offset": 52, "samples": 0, "occur": {}}, {"offset": 53, "samples": 0, "occur": {}}, {"offset": 54, "samples": 0, "occur": {}}, {"offset": 55, "samples": 0, "occur": {}}, {"offset": 56, "samples": 0, "occur": {}}, {"offset": 57, "samples": 0, "occur": {}}, {"offset": 58, "samples": 0, "occur": {}}, {"offset": 59, "samples": 0, "occur": {}}]}}, {"$setOnInsert": {"attrType": "Text", "points": [{"offset": 0, "samples": 0, "occur": {}}, {"offset": 1, "samples": 0, "occur": {}}, {"offset": 2, "samples": 0, "occur": {}}, {"offset": 3, "samples": 0, "occur": {}}, {"offset": 4, "samples": 0, "occur": {}}, {"offset": 5, "samples": 0, "occur": {}}, {"offset": 6, "samples": 0, "occur": {}}, {"offset": 7, "samples": 0, "occur": {}}, {"offset": 8, "samples": 0, "occur": {}}, {"offset": 9, "samples": 0, "occur": {}}, {"offset": 10, "samples": 0, "occur": {}}, {"offset": 11, "samples": 0, "occur": {}}, {"offset": 12, "samples": 0, "occur": {}}, {"offset": 13, "samples": 0, "occur": {}}, {"offset": 14, "samples": 0, "occur": {}}, {"offset": 15, "samples": 0, "occur": {}}, {"offset": 16, "samples": 0, "occur": {}}, {"offset": 17, "samples": 0, "occur": {}}, {"offset": 18, "samples": 0, "occur": {}}, {"offset": 19, "samples": 0, "occur": {}}, {"offset": 20, "samples": 0, "occur": {}}, {"offset": 21, "samples": 0, "occur": {}}, {"offset": 22, "samples": 0, "occur": {}}, {"offset": 23, "samples": 0, "occur": {}}]}}, {"$setOnInsert": {"attrType": "Text", "points": [{"offset": 1, "samples": 0, "occur": {}}, {"offset": 2, "samples": 0, "occur": {}}, {"offset": 3, "samples": 0, "occur": {}}, {"offset": 4, "samples": 0, "occur": {}}, {"offset": 5, "samples": 0, "occur": {}}, {"offset": 6, "samples": 0, "occur": {}}, {"offset": 7, "samples": 0, "occur": {}}, {"offset": 8, "samples": 0, "occur": {}}, {"offset": 9, "samples": 0, "occur": {}}, {"offset": 10, "samples": 0, "occur": {}}, {"offset": 11, "samples": 0, "occur": {}}, {"offset": 12, "samples": 0, "occur": {}}, {"offset": 13, "samples": 0, "occur": {}}, {"offset": 14, "samples": 0, "occur": {}}, {"offset": 15, "samples": 0, "occur": {}}, {"offset": 16, "samples": 0, "occur": {}}, {"offset": 17, "samples": 0, "occur": {}}, {"offset": 18, "samples": 0, "occur": {}}, {"offset": 19, "samples": 0, "occur": {}}, {"offset": 20, "samples": 0, "occur": {}}, {"offset": 21, "samples": 0, "occur": {}}, {"offset": 22, "samples": 0, "occur": {}}, {"offset": 23, "samples": 0, "occur": {}}, {"offset": 24, "samples": 0, "occur": {}}, {"offset": 25, "samples": 0, "occur": {}}, {"offset": 26, "samples": 0, "occur": {}}, {"offset": 27, "samples": 0, "occur": {}}, {"offset": 28, "samples": 0, "occur": {}}, {"offset": 29, "samples": 0, "occur": {}}, {"offset": 30, "samples": 0, "occur": {}}, {"offset": 31, "samples": 0, "occur": {}}]}}, {"$setOnInsert": {"attrType": "Text", "points": [{"offset": 1, "samples": 0, "occur": {}}, {"offset": 2, "samples": 0, "occur": {}}, {"offset": 3, "samples": 0, "occur": {}}, {"offset": 4, "samples": 0, "occur": {}}, {"offset": 5, "samples": 0, "occur": {}}, {"offset": 6, "samples": 0, "occur": {}}, {"offset": 7, "samples": 0, "occur": {}}, {"offset": 8, "samples": 0, "occur": {}}, {"offset": 9, "samples": 0, "occur": {}}, {"offset": 10, "samples": 0, "occur": {}}, {"offset": 11, "samples": 0, "occur": {}}, {"offset": 12, "samples": 0, "occur": {}}]}}] fiware-cygnus | time=2022-10-13T02:15:09.598Z | lvl=INFO | corr=dbb765ea-4a9c-11ed-b4c9-0242ac120104; cbnotif=1 | trans=c0919c37-c261-47a7-b650-627c69775566 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=processNewBatches | msg=com.telefonica.iot.cygnus.sinks.NGSISink[614] : Finishing internal transaction (dbb765ea-4a9c-11ed-b4c9-0242ac120104; cbnotif=1, ) Sink: sth-sink Destination: openiot_/_Lamp:001_Lamp fiware-cygnus | /cygnus-entrypoint.sh: line 1080: 53 Killed ${FLUME_HOME}/bin/cygnus-flume-ng agent --conf ${CYGNUS_CONF_PATH} -f ${CYGNUS_CONF_FILE} -n ${CYGNUS_AGENT_NAME} -p ${CYGNUS_API_PORT} -Dflume.root.logger=${CYGNUS_LOG_LEVEL},${CYGNUS_LOG_APPENDER} -Duser.timezone=UTC -Dfile.encoding=UTF-8 fiware-cygnus exited with code 0
Environments:
How to reproduce
It seems resolved by allocating more memory for Docker, (2GB to 12GB). So that, the reason might be lack of memory for docker.
Do you have any suggestion for the memory size?
After "Subscribing to Context Changes", suddenly fiware-cygnus exited.
Environments:
How to reproduce