<div dir="ltr">A patch in PR would be really nice, and the clock is ticking for Erl-20.<br><br>/Dan<br><br><div class="gmail_quote"><div dir="ltr">On Tue, May 9, 2017 at 7:17 AM Oliver Bollmann <<a href="mailto:oliver.bollmann@t-online.de">oliver.bollmann@t-online.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hi Frank,</p>
    <p>the problem on Windows is a bug in erlsrv,</p>
    <p>set the internal service name to display name will fix it!</p>
    <p>erlsrv add my_super_app  -i my_super_app ....<br>
    </p>
    <p>No delay or something else needed!!<br>
    </p>
    <p>Regards,</p>
    <p>Oliver</p>
    <br>
    <div class="m_-3277462820584666598moz-cite-prefix">Am 09.05.17 um 06:03 schrieb Frank
      Muller:<br>
    </div></div><div bgcolor="#FFFFFF" text="#000000">
    <blockquote type="cite">
      <div>Now, stopping the service takes around 30sec to finish with
        this message (in System Events Viewer):</div>
      <div><br>
      </div>
      <div>tapp: StopAction did not terminate Erlang. Trying forced
        kill.</div>
      <div><br>
      </div>
      <div>I've defined my stop-action as: "init:stop()."</div>
      <div><br>
      </div>
      <div>Any idea?</div>
      <div><br>
      </div>
      <div>/Frank</div>
      <div><br>
      </div>
      <div><<a href="mailto:frank.muller.erl@gmail.com" target="_blank">frank.muller.erl@gmail.com</a>>
        wrote :<br>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>Hi James,</div>
            <div><br>
            </div>
            <div>You really saved my day. After copying your exact
              settings, it's working perfectly now. </div>
            <div><br>
            </div>
            <div>Thanks again.</div>
            <div><br>
            </div>
            <div>/Frank</div>
            <div><br>
            </div>
            <div><<a href="mailto:comptekki@gmail.com" target="_blank">comptekki@gmail.com</a>>
              wrote :</div>
            <div><br>
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div>
                    <div>erl 8.2 is running normally for me.  I've never
                      had restart issues like you mentioned for any erl
                      realease back to at least otp 17.x.<br>
                      <br>
                    </div>
                    -wes<br>
                  </div>
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">On Mon, May 8, 2017 at 1:35
                      PM, Frank Muller <span><<a href="mailto:frank.muller.erl@gmail.com" target="_blank">frank.muller.erl@gmail.com</a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                        <div>Same problem even after setting
                          Delayed-Start.</div>
                        <div>James, can you please test with erl-8.2 ?</div>
                        <div><br>
                        </div>
                        <div>/Frank</div>
                        <div><br>
                        </div>
                        <div><<a href="mailto:comptekki@gmail.com" target="_blank">comptekki@gmail.com</a>>
                          wrote :
                          <div>
                            <div class="m_-3277462820584666598m_-5348932358347426196m_-2625738918315200264h5"><br>
                              <div class="gmail_quote">
                                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                  <div>The only params you can set via
                                    erlsrv, are on this page <a href="http://erlang.org/doc/man/erlsrv.html" target="_blank">http://erlang.org/doc/man/erlsrv.html</a>
                                    .  I don't think you can manipulate
                                    the automatic delay or delay time
                                     with erlsrv.  Maybe something they
                                    could add later.  I've test this
                                    with otp 19.3 (8.3) and opt 20 rc1
                                    (9.0) and they both work.
                                    <div><br>
                                    </div>
                                    <div>-wes<br>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                    </div>
                                  </div>
                                  <div class="gmail_extra"><br>
                                    <div class="gmail_quote">On Mon, May
                                      8, 2017 at 10:13 AM, Frank Muller
                                      <span><<a href="mailto:frank.muller.erl@gmail.com" target="_blank">frank.muller.erl@gmail.com</a>></span>
                                      wrote:<br>
                                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                        <div>Hi James,</div>
                                        <div><br>
                                        </div>
                                        <div>Thank you. I'll try in few
                                          minutes and I'll let you know.</div>
                                        <div><br>
                                        </div>
                                        <div>Question: is there a way to
                                          set these parameters via
                                          erlsrv.exe?</div>
                                        <div><br>
                                        </div>
                                        <div>/Frank</div>
                                        <div><br>
                                        </div>
                                        <div><<a href="mailto:comptekki@gmail.com" target="_blank">comptekki@gmail.com</a>>
                                          wrote :
                                          <div>
                                            <div class="m_-3277462820584666598m_-5348932358347426196m_-2625738918315200264m_4825470123729648080m_-6139616530256263709h5"><br>
                                              <div class="gmail_quote">
                                                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                  <div>I just finished
                                                    installing the 15063
                                                    update and the app I
                                                    had installed via
                                                    erlsrv is still
                                                    running fine.  With
                                                    windows 10, in the
                                                    first place, to get
                                                    an erl app running
                                                    as a service, i've
                                                    had to set the
                                                    service as Automatic
                                                    (delayed start), but
                                                    to speed that up I
                                                    added the registry
                                                    entry AutoStartDelay
                                                    with decimal 1 value
                                                    (1 second).  You can
                                                    see the script I use
                                                    here:  <a href="https://github.com/comptekki/esysman" target="_blank">https://github.com/comptekki/esysman</a>
                                                    .  It's
                                                    the win-erlsrv-installer.cmd
                                                    script.
                                                    <div><br>
                                                    </div>
                                                    <div>-wes</div>
                                                  </div>
                                                  <div class="gmail_extra"><br>
                                                    <div class="gmail_quote">On
                                                      Mon, May 8, 2017
                                                      at 8:44 AM, Wes
                                                      James <span><<a href="mailto:comptekki@gmail.com" target="_blank">comptekki@gmail.com</a>></span>
                                                      wrote:<br>
                                                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                        <div>I'm
                                                          installing it
                                                          now to see how
                                                          it works with
                                                          my erl
                                                          service.  If
                                                          you need your
                                                          application
                                                          working, you
                                                          can select the
                                                          option to go
                                                          back to
                                                          previous build
                                                          of windows
                                                          10.  And wait
                                                          until the new
                                                          windows build
                                                          gets out of
                                                          alpha....
                                                          hmmm...  w10
                                                          hasn't gotten
                                                          out of alpha
                                                          in the first
                                                          place,
                                                          so......
                                                          <div><br>
                                                          </div>
                                                          <div>-wes</div>
                                                        </div>
                                                        <div class="gmail_extra"><br>
                                                          <div class="gmail_quote">
                                                          <div>
                                                          <div class="m_-3277462820584666598m_-5348932358347426196m_-2625738918315200264m_4825470123729648080m_-6139616530256263709m_4684125128411693704m_1038972305388827085h5">On
                                                          Sun, May 7,
                                                          2017 at 11:11
                                                          PM, Frank
                                                          Muller <span><<a href="mailto:frank.muller.erl@gmail.com" target="_blank">frank.muller.erl@gmail.com</a>></span>
                                                          wrote:<br>
                                                          </div>
                                                          </div>
                                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          <div>
                                                          <div class="m_-3277462820584666598m_-5348932358347426196m_-2625738918315200264m_4825470123729648080m_-6139616530256263709m_4684125128411693704m_1038972305388827085h5">
                                                          <div>
                                                          <p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(69,69,69);font-family:'.SFUIText';font-size:17pt">Hi,</span></p>
                                                          <p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(69,69,69);font-family:'.SFUIText';font-size:17pt"><br>
                                                          </span></p>
                                                          <p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(69,69,69);font-family:'.SFUIText';font-size:17pt">I've
                                                          an Erlang
                                                          application
                                                          called </span><span style="color:rgb(69,69,69);font-family:'.SFUIText-Bold';font-weight:bold;font-size:17pt">tapp </span><span style="color:rgb(69,69,69);font-family:'.SFUIText';font-size:17pt">which
                                                          was running
                                                          perfectly as a
                                                          service under
                                                          Windows 10
                                                          "build 14393"
                                                          (and earlier
                                                          versions).</span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt"><br>
                                                          </span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt">Since Microsoft is
                                                          forcing
                                                          updates now,
                                                          the app
                                                          stopped
                                                          working when I
                                                          got the update
                                                          build "15063".<br>
                                                          </span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt">Here is the syslog error
                                                          message I'm
                                                          getting now:</span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt"> </span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt"><EventData></span></p>
                                                          <p><span style="font-family:'.SFUIText-Bold';font-weight:bold;font-size:17pt"> </span><span style="font-family:'.SFUIText';font-size:17pt"> <Data></span><span style="font-family:'.SFUIText-Bold';font-weight:bold;font-size:17pt">tapp</span><span style="font-family:'.SFUIText';font-size:17pt"></Data></span></p>
                                                          <p><span style="font-family:'.SFUIText-Bold';font-weight:bold;font-size:17pt"> </span><span style="font-family:'.SFUIText';font-size:17pt"> <Data></span><span style="font-family:'.SFUIText-Bold';font-weight:bold;font-size:17pt">Possible
                                                          cyclic
                                                          restarting of
                                                          erlang
                                                          machine.</span><span style="font-family:'.SFUIText';font-size:17pt"></Data></span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt"> </span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt"> </span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt">In the Windows's task
                                                          manager, I can
                                                          see that both </span><span style="font-family:'.SFUIText-Bold';font-weight:bold;font-size:17pt">erl.exe</span><span style="font-family:'.SFUIText';font-size:17pt"> and </span><span style="font-family:'.SFUIText-Bold';font-weight:bold;font-size:17pt">conhost.exe</span><span style="font-family:'.SFUIText';font-size:17pt"> get restarted every
                                                          second.</span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt"></span><br>
                                                          </p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt">Does anyone notice this
                                                          problem? Any
                                                          idea for a
                                                          fix?</span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt"><br>
                                                          </span></p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt">N.B: I'm using erts-8.2</span></p>
                                                          <span class="m_-3277462820584666598m_-5348932358347426196m_-2625738918315200264m_4825470123729648080m_-6139616530256263709m_4684125128411693704m_1038972305388827085m_3289492693905225007HOEnZb"><font color="#888888">
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt"></span></p>
                                                          </font></span></div>
                                                          <span class="m_-3277462820584666598m_-5348932358347426196m_-2625738918315200264m_4825470123729648080m_-6139616530256263709m_4684125128411693704m_1038972305388827085m_3289492693905225007HOEnZb"><font color="#888888">
                                                          <div>
                                                          <p><br>
                                                          </p>
                                                          <p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
                                                          </p>
                                                          <p><span style="font-family:'.SFUIText';font-size:17pt">/Frank</span></p>
                                                          <p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><br>
                                                          </p>
                                                          </div>
                                                          </font></span><br>
                                                          </div>
                                                          </div>
_______________________________________________<br>
erlang-questions mailing list<br>
                                                          <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
                                                          <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
                                                          <br>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                        </div>
                                                      </blockquote>
                                                    </div>
                                                    <br>
                                                  </div>
_______________________________________________<br>
                                                  erlang-questions
                                                  mailing list<br>
                                                  <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
                                                  <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
                                                </blockquote>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                </blockquote>
                              </div>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </blockquote>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="m_-3277462820584666598mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
erlang-questions mailing list
<a class="m_-3277462820584666598moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>
<a class="m_-3277462820584666598moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
    </blockquote>
    <br>
    </div><div bgcolor="#FFFFFF" text="#000000"><pre class="m_-3277462820584666598moz-signature" cols="72">-- 
Grüße
Oliver Bollmann</pre>
  </div>

_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div></div>