Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Orion
Description
Created question in FIWARE Q/A platform on 17-10-2017 at 09:10
Please, ANSWER this question AT https://stackoverflow.com/questions/46784933/fiware-orion-in-docker-hangs
Question:
Fiware Orion in docker hangs
Description:
After some hours Orion stop responding
I am using the latest docker image in my Docker file (there are other services in the docker file):
mongo:
image: mongo:3.2
hostname: mongo
container_name: mongo
ports:
- "27017:27017"
command: --nojournal
orion:
image: fiware/orion
hostname: orion
container_name: orion
ports: - "1026:1026"
mem_limit: 1g
links: - mongo
command: -dbhost mongo -logLevel INFO
My docker and docker-compose versions are:
Docker version 17.09.0-ce, build afdb6d4
docker-compose version 1.16.1, build 6d1ac21
Orion process is always here but not reponsing to HTTP requests:
[root@orion contextBroker]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.2 732488 16660 ? Ssl Oct16 0:01 /usr/bin/contextBroker -fg -multiservice -dbhost mongo -logLevel INFO
root 59 0.0 0.0 11496 2652 pts/0 Ss 06:49 0:00 /bin/bash
root 192 0.0 0.0 13380 1832 pts/0 R+ 07:15 0:00 ps aux
I check this link for diagnosis
No problem on the disk availability
file descriptors or socket exhaustion problem : no issue:
Diagnose memory exhaustion problem:
No errors have been displayed on the container logs.
And when I got inside the container Orion can respond to the command line "contextBroker --version"
And if I want to restart the container I need to restart the docker service.
Any idea how to solve this?
Thanks and best regards
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Assignee | Jose Manuel Cantera [ jmcantera ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
HD-Enabler | Orion [ 10875 ] | |
HD-Chapter | Data [ 10838 ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
3m 22s | 1 | Backlog Manager | 12/Jan/18 7:53 PM | |||||
|
8m 55s | 1 | Backlog Manager | 12/Jan/18 8:02 PM | |||||
|
3d 18h 54m | 1 | Jose Manuel Cantera | 16/Jan/18 2:57 PM |
2018-01-12 19:50|CREATED monitor | # answers= 1, accepted answer= False