If you are talking about the "defunct" forks, then the work around for this is
to send a standard SIGTERM to the defunct process. Normally this would do
nothing, but in this case the process still has a couple of child threads that
haven't terminated. Sending the SIGTERM signal to the parent process will
result in the termination signal reaching the child threads, which will
terminate. The defunct process will then complete its termination and the
parent srcds process will respawn the fork.
A cron job or a monitoring process to detect these defunct processes should be
sufficient to keep your servers in shape. I use a command a bit like this:
Kill `ps ax | grep srcds_i486 | grep defunct | grep -v grep | awk '{print $1}'`
M.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of f7 f0rkz
Sent: Thursday, September 24, 2009 4:53 AM
To: Half-Life dedicated Linux server mailing list
Subject: Re: [hlds_linux] L4D forks crashing
Well, at least there is a fix. Our servers are usually full all the time
and I am tired of kicking players out because a server crashed in their
fork.
On Thu, Sep 24, 2009 at 5:54 AM, Eric-Jan Riemers <[email protected]> wrote:
> So i assume thats valve time? Christmas or so? ;-)
>
> -----Oorspronkelijk bericht-----
> Van: [email protected]
> [mailto:[email protected]] Namens Ronny Schedel
> Verzonden: donderdag 24 september 2009 9:17
> Aan: Half-Life dedicated Linux server mailing list
> Onderwerp: Re: [hlds_linux] L4D forks crashing
>
> I have got a response from a Valve employee, they have found the cause and
> they have a fix. We just have to wait for the release.
>
>
> > Is there any progress yet in fixing the crashing forks issue in L4D? We
> > have 2 forked servers, 1 with 4 forks and 1 with 20 forks (different
> > machines). Both forks show crashed instances. More and more forks crash
> > the more time passes without a reboot. From the 24 servers which should
> be
>
> > online after a reboot 2 days ago, just 9(!!) remain atm.
> >
> > Saint K.
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux