Right way to increase "ping timeout" for clients?

Http://www.irc.us.com admin at irc.us.com
Wed Apr 30 07:22:53 EDT 2008


That what helped my unexplained 180 Pingouts. Change it in your (whichever class) users/opers. raise it up and it should eliminate it. It did on my servers.

Http://www.irc.us.com
-
The United States IRC Open Network Organization!
"IRCing back to the User!"
-
IRC.USONET.ORG
 `- IRCD.US.COM
   |- IRC.US.COM
   *

>-----Original Message-----
>From: Fool [mailto:foolie at gmail.com]
>Sent: Wednesday, April 30, 2008 03:55 AM
>To: 'General IRCD-Hybrid Discussion'
>Subject: Re: Right way to increase "ping timeout" for clients?
>
>The value in "ping" is set in the ircd config, you can change it in
>the class {} section with "ping_time = 180 seconds;"
>
>On Wed, Apr 30, 2008 at 5:21 AM, Ray Van Dolson <rayvd at bludgeon.org> wrote:
>> I'm trying to up the threshhold at which ping timeouts occur -- it
>>  seems to default to 180 seconds.
>>
>>  src/client.c there is the following:
>>
>>   if (CurrentTime - client_p->lasttime >= 2 * ping)
>>
>>  I tried tracing "ping" back, but it got a little too crazy for me.
>>  Looks like this is derived from something else and there's no simple
>>  #define for it anywhere.  I guess I could probably increase the
>>  multiplier in the check above to 3, but I'm curious if there is a
>>  better way to do this if I wanted to increase ping timeout checking to
>>  some arbitrary amount of seconds.
>>
>>  Thanks!
>>  Ray
>>
>>  --
>>  Ray Van Dolson <rayvd at bludgeon.org>
>>  GPG Fingerprint: 175B D779 4BC9 D5FF 5CC9  CE79 BCB4 0703 B51E 9F1A
>>
>





More information about the hybrid mailing list