Re: [hlds_linux] TF2 sv_shutdown behavior

Discussion in 'HLDS / Valve Linux newsletter' started by Wander, Sep 29, 2016.

  1. Wander

    Wander Guest

    Have you tried setting sv_shutdown_timeout_minutes? Its how many minutes
    it should wait to force a shutdown

    On 29 Sep 2016 4:06 p.m., David Parker <dparker@utica.edu> wrote:

    > Hello,
    >
    > I have a script which checks for updates to TF2 and sends the sv_shutdown
    > command to my TF2 server if an update is available. This worked fine for
    > over a year, but recently TF2 has stopped shutting down like its supposed
    > to. Instead, I see messages like this in the console:
    >
    > sv_shutdown
    > sv_shutdown command received.
    > Server will shut down in -4862700 seconds, or when it becomes empty.
    >
    > But the server is empty when this happens, and has been for a long time.
    > Any ideas?
    >
    > Thanks!
    > Dave
    >
    > --
    > Dave Parker
    > Database & Systems Administrator
    > Utica College
    > Integrated Information Technology Services
    > (315) 792-3229
    > Registered Linux User #408177
    > _______________________________________________
    >
    > please visit:
    > https://i3d.net
    >
    _______________________________________________

    https://i3d.net
     
  2. DavidParker

    DavidParker Guest

    Thanks for the suggestion. I had not set sv_shutdown_timeout_minutes, so
    it was set to the default of 360. I set it to 10 and well see if that
    makes a difference. Still doesnt explain why the server wont shutdown
    even though its empty, though.

    - Dave

    On Thu, Sep 29, 2016 at 10:47 AM, Wander <wander.gr@gmail.com> wrote:

    > Have you tried setting sv_shutdown_timeout_minutes? Its how many minutes
    > it should wait to force a shutdown
    >
    > On 29 Sep 2016 4:06 p.m., David Parker <dparker@utica.edu> wrote:
    >
    > > Hello,
    > >
    > > I have a script which checks for updates to TF2 and sends the sv_shutdown
    > > command to my TF2 server if an update is available. This worked fine for
    > > over a year, but recently TF2 has stopped shutting down like its
    > supposed
    > > to. Instead, I see messages like this in the console:
    > >
    > > sv_shutdown
    > > sv_shutdown command received.
    > > Server will shut down in -4862700 seconds, or when it becomes empty.
    > >
    > > But the server is empty when this happens, and has been for a long time.
    > > Any ideas?
    > >
    > > Thanks!
    > > Dave
    > >
    > > --
    > > Dave Parker
    > > Database & Systems Administrator
    > > Utica College
    > > Integrated Information Technology Services
    > > (315) 792-3229
    > > Registered Linux User #408177
    > > _______________________________________________
    > >
    > > please visit:
    > > https://i3d.net
    > >
    > _______________________________________________
    >
    > please visit:
    > https://i3d.net
    >



    --
    Dave Parker
    Database & Systems Administrator
    Utica College
    Integrated Information Technology Services
    (315) 792-3229
    Registered Linux User #408177
    _______________________________________________

    https://i3d.net
     
  3. DavidParker

    DavidParker Guest

    I just got back to testing this. The sv_shutdown command appears to still
    be broken. If I run it in the console of an empty server, I get this:

    sv_shutdown
    sv_shutdown command received.
    Server will shut down in 600 seconds, or when it becomes empty.

    And then the server doesnt shut down. I didnt wait the 600 seconds,
    because shouldnt it shut down immediately since the server is already
    empty? I swear thats how it used to work.

    - Dave

    On Thu, Sep 29, 2016 at 3:56 PM, David Parker <dparker@utica.edu> wrote:

    > Thanks for the suggestion. I had not set sv_shutdown_timeout_minutes, so
    > it was set to the default of 360. I set it to 10 and well see if that
    > makes a difference. Still doesnt explain why the server wont shutdown
    > even though its empty, though.
    >
    > - Dave
    >
    > On Thu, Sep 29, 2016 at 10:47 AM, Wander <wander.gr@gmail.com> wrote:
    >
    >> Have you tried setting sv_shutdown_timeout_minutes? Its how many minutes
    >> it should wait to force a shutdown
    >>
    >> On 29 Sep 2016 4:06 p.m., David Parker <dparker@utica.edu> wrote:
    >>
    >> > Hello,
    >> >
    >> > I have a script which checks for updates to TF2 and sends the
    >> sv_shutdown
    >> > command to my TF2 server if an update is available. This worked fine
    >> for
    >> > over a year, but recently TF2 has stopped shutting down like its
    >> supposed
    >> > to. Instead, I see messages like this in the console:
    >> >
    >> > sv_shutdown
    >> > sv_shutdown command received.
    >> > Server will shut down in -4862700 seconds, or when it becomes empty.
    >> >
    >> > But the server is empty when this happens, and has been for a long time.
    >> > Any ideas?
    >> >
    >> > Thanks!
    >> > Dave
    >> >
    >> > --
    >> > Dave Parker
    >> > Database & Systems Administrator
    >> > Utica College
    >> > Integrated Information Technology Services
    >> > (315) 792-3229
    >> > Registered Linux User #408177
    >> > _______________________________________________
    >> >
    >> > please visit:
    >> > https://i3d.net
    >> >
    >> _______________________________________________
    >>
    >> please visit:
    >> https://i3d.net
    >>
    >
    >
    >
    > --
    > Dave Parker
    > Database & Systems Administrator
    > Utica College
    > Integrated Information Technology Services
    > (315) 792-3229
    > Registered Linux User #408177
    >



    --
    Dave Parker
    Database & Systems Administrator
    Utica College
    Integrated Information Technology Services
    (315) 792-3229
    Registered Linux User #408177
    _______________________________________________

    https://i3d.net
     
  4. DavidParker

    DavidParker Guest

    Hello,

    Im still seeing this behavior, with sv_shutdown not working even though
    the server is empty when the command is issued. Following the most recent
    update, I checked the console of my TF server and its still doing this:

    sv_shutdown
    sv_shutdown command received.
    Server will shut down in -40800 seconds, or when it becomes empty.
    MasterRequestRestart
    Your server will be restarted on map change.
    Your server will be restarted on map change.
    Your server needs to be restarted in order to receive the latest update.
    Your server needs to be restarted in order to receive the latest update.
    sv_shutdown
    sv_shutdown command received.
    Server will shut down in -41100 seconds, or when it becomes empty.
    MasterRequestRestart
    Your server will be restarted on map change.
    Your server will be restarted on map change.
    Your server needs to be restarted in order to receive the latest update.
    Your server needs to be restarted in order to receive the latest update.

    Is this sv_shutdown behavior a bug? Any chance this can be fixed?

    - Dave

    On Fri, Sep 30, 2016 at 2:17 PM, David Parker <dparker@utica.edu> wrote:

    > I just got back to testing this. The sv_shutdown command appears to still
    > be broken. If I run it in the console of an empty server, I get this:
    >
    > sv_shutdown
    > sv_shutdown command received.
    > Server will shut down in 600 seconds, or when it becomes empty.
    >
    > And then the server doesnt shut down. I didnt wait the 600 seconds,
    > because shouldnt it shut down immediately since the server is already
    > empty? I swear thats how it used to work.
    >
    > - Dave
    >
    > On Thu, Sep 29, 2016 at 3:56 PM, David Parker <dparker@utica.edu> wrote:
    >
    >> Thanks for the suggestion. I had not set sv_shutdown_timeout_minutes, so
    >> it was set to the default of 360. I set it to 10 and well see if that
    >> makes a difference. Still doesnt explain why the server wont shutdown
    >> even though its empty, though.
    >>
    >> - Dave
    >>
    >> On Thu, Sep 29, 2016 at 10:47 AM, Wander <wander.gr@gmail.com> wrote:
    >>
    >>> Have you tried setting sv_shutdown_timeout_minutes? Its how many minutes
    >>> it should wait to force a shutdown
    >>>
    >>> On 29 Sep 2016 4:06 p.m., David Parker <dparker@utica.edu> wrote:
    >>>
    >>> > Hello,
    >>> >
    >>> > I have a script which checks for updates to TF2 and sends the
    >>> sv_shutdown
    >>> > command to my TF2 server if an update is available. This worked fine
    >>> for
    >>> > over a year, but recently TF2 has stopped shutting down like its
    >>> supposed
    >>> > to. Instead, I see messages like this in the console:
    >>> >
    >>> > sv_shutdown
    >>> > sv_shutdown command received.
    >>> > Server will shut down in -4862700 seconds, or when it becomes empty.
    >>> >
    >>> > But the server is empty when this happens, and has been for a long
    >>> time.
    >>> > Any ideas?
    >>> >
    >>> > Thanks!
    >>> > Dave
    >>> >
    >>> > --
    >>> > Dave Parker
    >>> > Database & Systems Administrator
    >>> > Utica College
    >>> > Integrated Information Technology Services
    >>> > (315) 792-3229
    >>> > Registered Linux User #408177
    >>> > _______________________________________________
    >>> >
    >>> > please visit:
    >>> > https://i3d.net
    >>> >
    >>> _______________________________________________
    >>>
    >>> please visit:
    >>> https://i3d.net
    >>>
    >>
    >>
    >>
    >> --
    >> Dave Parker
    >> Database & Systems Administrator
    >> Utica College
    >> Integrated Information Technology Services
    >> (315) 792-3229
    >> Registered Linux User #408177
    >>
    >
    >
    >
    > --
    > Dave Parker
    > Database & Systems Administrator
    > Utica College
    > Integrated Information Technology Services
    > (315) 792-3229
    > Registered Linux User #408177
    >



    --
    Dave Parker
    Database & Systems Administrator
    Utica College
    Integrated Information Technology Services
    (315) 792-3229
    Registered Linux User #408177
    _______________________________________________

    https://i3d.net
     

Share This Page

Loading...