diff --git a/docker/adbhoney/Dockerfile b/docker/adbhoney/Dockerfile index 75190b1d..d6808eb4 100644 --- a/docker/adbhoney/Dockerfile +++ b/docker/adbhoney/Dockerfile @@ -30,7 +30,7 @@ RUN apk --no-cache -U add \ # Set workdir and start adbhoney STOPSIGNAL SIGINT # Adbhoney sometimes hangs at 100% CPU usage, if detected process will be killed and container restarts per docker-compose settings -HEALTHCHECK CMD if [ $(ps -C mpv -p 1 -o %cpu | tail -n 1 | cut -f 1 -d ".") -gt 90 ]; then kill -2 1; else exit 0; fi +HEALTHCHECK CMD if [ $(ps -C mpv -p 1 -o %cpu | tail -n 1 | cut -f 1 -d ".") -gt 75 ]; then kill -2 1; else exit 0; fi USER adbhoney:adbhoney WORKDIR /opt/adbhoney/ CMD /usr/bin/python3 run.py diff --git a/docker/conpot/Dockerfile b/docker/conpot/Dockerfile index a9c67779..feb4fd33 100644 --- a/docker/conpot/Dockerfile +++ b/docker/conpot/Dockerfile @@ -92,6 +92,6 @@ RUN apk --no-cache -U add \ # Start conpot STOPSIGNAL SIGINT # Conpot sometimes hangs at 100% CPU usage, if detected process will be killed and container restarts per docker-compose settings -HEALTHCHECK CMD if [ $(ps -C mpv -p 1 -o %cpu | tail -n 1 | cut -f 1 -d ".") -gt 90 ]; then kill -2 1; else exit 0; fi +HEALTHCHECK CMD if [ $(ps -C mpv -p 1 -o %cpu | tail -n 1 | cut -f 1 -d ".") -gt 75 ]; then kill -2 1; else exit 0; fi USER conpot:conpot CMD exec /usr/bin/conpot --mibcache $CONPOT_TMP --temp_dir $CONPOT_TMP --template $CONPOT_TEMPLATE --logfile $CONPOT_LOG --config $CONPOT_CONFIG diff --git a/docker/dionaea/Dockerfile b/docker/dionaea/Dockerfile index f5edbc7f..8bc5b0df 100644 --- a/docker/dionaea/Dockerfile +++ b/docker/dionaea/Dockerfile @@ -112,6 +112,6 @@ RUN ARCH=$(arch) && \ # Start dionaea STOPSIGNAL SIGINT # Dionaea sometimes hangs at 100% CPU usage, if detected process will be killed and container restarts per docker-compose settings -HEALTHCHECK CMD if [ $(ps -C mpv -p 1 -o %cpu | tail -n 1 | cut -f 1 -d ".") -gt 90 ]; then kill -2 1; else exit 0; fi +HEALTHCHECK CMD if [ $(ps -C mpv -p 1 -o %cpu | tail -n 1 | cut -f 1 -d ".") -gt 75 ]; then kill -2 1; else exit 0; fi USER dionaea:dionaea CMD ["/opt/dionaea/bin/dionaea", "-u", "dionaea", "-g", "dionaea", "-c", "/opt/dionaea/etc/dionaea/dionaea.cfg"]