You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Dor Ben Dov <do...@amdocs.com> on 2019/06/16 14:18:48 UTC
User session has timed out idling after 600000 ms
Hi everyone,
Is it possible to increase this timeout ?
Regards,
Dor
This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service <https://www.amdocs.com/about/email-terms-of-service>
RE: User session has timed out idling after 600000 ms
Posted by Dor Ben Dov <do...@amdocs.com>.
Thanks Emmanuel for the quick response.
Will try that.
Regards,
Dor
-----Original Message-----
From: Emmanuel Lécharny <el...@gmail.com>
Sent: Sunday, June 16, 2019 5:37 PM
To: dev@mina.apache.org
Subject: Re: User session has timed out idling after 600000 ms
On 16/06/2019 16:18, Dor Ben Dov wrote:
> Hi everyone,
> Is it possible to increase this timeout ?
There is no session timeout in MINA: a socket remains opened as long as it's not closed, either by your application, the client, or the OS because it's idling for too long.
Now, your OS will close inactive sockets after a configured time, and you may want to prevent that. In MINA, you'll do that by configuring the session configuration using the SocketSessionConfig.setKeepAlive( true ) call. This is a global parameter, so you need to call it when defining your IoService instance.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org For additional commands, e-mail: dev-help@mina.apache.org
This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service <https://www.amdocs.com/about/email-terms-of-service>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
Re: User session has timed out idling after 600000 ms
Posted by Emmanuel Lécharny <el...@gmail.com>.
On 16/06/2019 16:18, Dor Ben Dov wrote:
> Hi everyone,
> Is it possible to increase this timeout ?
There is no session timeout in MINA: a socket remains opened as long as
it's not closed, either by your application, the client, or the OS
because it's idling for too long.
Now, your OS will close inactive sockets after a configured time, and
you may want to prevent that. In MINA, you'll do that by configuring the
session configuration using the SocketSessionConfig.setKeepAlive( true )
call. This is a global parameter, so you need to call it when defining
your IoService instance.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org