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
2018-01-12 19:50|CREATED monitor | # answers= 1, accepted answer= False