Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Slow shutdown #23

Open
trajano opened this issue May 23, 2017 · 0 comments
Open

Slow shutdown #23

trajano opened this issue May 23, 2017 · 0 comments

Comments

@trajano
Copy link
Contributor

trajano commented May 23, 2017

The reason for the slow shutdown is it is waiting for the PID file to disappear.

You can simplify ihsstart.sh to be

. /opt/IBM/HTTPServer/bin/envvars
exec /opt/IBM/HTTPServer/bin/httpd -d /opt/IBM/HTTPServer -DFOREGROUND

Then it will shutdown (but still gracefully faster) This is how it was done in the Apache HTTPd docker image with the addition of the envvars.

trajano added a commit to trajano/ci.docker.ibm-http-server that referenced this issue May 24, 2017
No need for traps and shutdown hooks, simply run IHS in foreground and
it will handle the shutdowns properly.

Fixes WASdev#23
trajano added a commit to trajano/ci.docker.ibm-http-server that referenced this issue May 24, 2017
No need for traps and shutdown hooks, simply run IHS in foreground and
it will handle the shutdowns properly.

Fixes WASdev#23
trajano added a commit to trajano/ci.docker.ibm-http-server that referenced this issue May 24, 2017
No need for traps and shutdown hooks, simply run IHS in foreground and
it will handle the shutdowns properly.

Fixes WASdev#23

Signed-off-by: Archimedes Trajano <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant