forget it, seems it works, read it wrong yesteday

we are all good, thks to have caught it!


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>

2018-04-17 23:15 GMT+02:00 Romain Manni-Bucau <[email protected]>:

> Hi Mark
>
> Is it intended?
>
> Logic was graceful shutdown (0), retry if not enough for some duration,
> and if really not enough (bug in the app) kill 9 it.
>
> It is coming from tomcat and we should keep it IMHO since it it sane. We
> can add a 9 signal after the loop even without rorce but pby not before.
> ---------- Message transféré ----------
> De : <[email protected]>
> Date : 17 avr. 2018 22:56
> Objet : svn commit: r1829398 - /openwebbeans/meecrowave/
> trunk/meecrowave-maven-plugin/src/main/resources/bin/meecrowave.sh
> À : <[email protected]>
> Cc :
>
> Author: struberg
> Date: Tue Apr 17 20:56:36 2018
> New Revision: 1829398
>
> URL: http://svn.apache.org/viewvc?rev=1829398&view=rev
> Log:
> MEECROWAVE-111 fix meecrowave.sh kill message
>
> Modified:
>     openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/ma
> in/resources/bin/meecrowave.sh
>
> Modified: openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/ma
> in/resources/bin/meecrowave.sh
> URL: http://svn.apache.org/viewvc/openwebbeans/meecrowave/trunk/m
> eecrowave-maven-plugin/src/main/resources/bin/meecrowave.sh?
> rev=1829398&r1=1829397&r2=1829398&view=diff
> ============================================================
> ==================
> --- 
> openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/resources/bin/meecrowave.sh
> (original)
> +++ 
> openwebbeans/meecrowave/trunk/meecrowave-maven-plugin/src/main/resources/bin/meecrowave.sh
> Tue Apr 17 20:56:36 2018
> @@ -461,7 +461,7 @@ elif [ "$1" = "stop" ] ; then
>        if [ -f "$MEECROWAVE_PID" ]; then
>          PID=`cat "$MEECROWAVE_PID"`
>          echo "Killing Meecrowave with the PID: $PID"
> -        kill -0 $PID
> +        kill -9 $PID
>          while [ $KILL_SLEEP_INTERVAL -ge 0 ]; do
>              kill -0 `cat "$MEECROWAVE_PID"` >/dev/null 2>&1
>              if [ $? -gt 0 ]; then
>
>
>

Reply via email to