QServer session ends and restart

48 görüntüleme
İlk okunmamış mesaja atla

Mumuney Abdlquadri

okunmadı,
15 Ağu 2017 10:38:3315.08.2017
alıcı jpos-...@googlegroups.com
Hello Guys,

Please I want to have better a understanding of the logs below. Also how can I make it never happen.

I have made this config on the Channel:

<property name="connection-timeout" value="15000" />
<property name="timeout" value="360000"/>
<property name="keep-alive" value="true" />

I want to understand what the timeout property there does so I can find a way to eliminate this server restart.

Thanks.


<log realm="channel/172.25.23.3:21388" at="2017-08-14T10:52:47.379" lifespan="360022ms">
  <receive>
    <io-timeout/>
  </receive>
</log>
<log realm="isec-fep-on-us-server.server.session/172.25.23.3:21388" at="2017-08-14T10:52:47.380">
  <session-end/>
</log>
<log realm="channel/172.25.23.3:21389" at="2017-08-14T10:52:47.645" lifespan="360037ms">
  <receive>
    <io-timeout/>
  </receive>
</log>
<log realm="isec-fep-on-us-server-2.server.session/172.25.23.3:21389" at="2017-08-14T10:52:47.646">
  <session-end/>
</log>
<log realm="isec-fep-on-us-server.server.session/172.25.23.3:22479" at="2017-08-14T10:52:52.392">
  <session-start/>
</log>
<log realm="isec-fep-on-us-server-2.server.session/172.25.23.3:22480" at="2017-08-14T10:52:52.658">
  <session-start/>
</log>

Alejandro Revilla

okunmadı,
15 Ağu 2017 13:28:2415.08.2017
alıcı jPOS Users
You have configured your channel to timeout if there's no traffic in 360 seconds, and that's why you see that timeout message, which is totally OK to happen.

If you want to avoid it, you need to send network management messages (i.e. 800s) before the timeout expires (i.e. every 5 minutes).




--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGDHiznY6mfmr-nqT8GC5XQrZrOJ6Te8sW1gz3KqphD-YZmzcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Mumuney Abdlquadri

okunmadı,
15 Ağu 2017 16:37:2215.08.2017
alıcı jpos-...@googlegroups.com
Thanks Alenjandro,

I will try that and get back.

Mumuney Abdlquadri

okunmadı,
16 Ağu 2017 09:03:5516.08.2017
alıcı jpos-...@googlegroups.com
Hi Alenjandro,

We have created a client that sends echo messages to the server every 5seconds. The frequency of the timeout reduced but we still a few of it.

Please can we configure the channel not to timeout at all.

That's the request of the client.

Thanks.

Andrés Alcarraz

okunmadı,
16 Ağu 2017 09:16:3016.08.2017
alıcı jPOS Users

Hi Mumuney, you just need to remove the timeout property, that is not recomended though, as it says in the post linked by Alejandro you could end having channels that appear connected but they aren't and they could  eventually exaust the sessions configured for the server, besides the fact that they would be consuming resources.

If you could convince your client that this is a feature, not a bug would be better, else you can just not use the timout property.

Best regards

Andrés



El 16/08/17 a las 10:03, 'Mumuney Abdlquadri' via jPOS Users escribió:

Alejandro Revilla

okunmadı,
16 Ağu 2017 11:39:0916.08.2017
alıcı jPOS Users
Are you getting responses to those 0800s?

(5 seconds looks like overkill to me)



Andrés Alcarraz

okunmadı,
16 Ağu 2017 11:47:0116.08.2017
alıcı jpos-...@googlegroups.com

El 16/08/17 a las 12:38, Alejandro Revilla escribió:
Are you getting responses to those 0800s?

(5 seconds looks like overkill to me)

Haha, my brain automatically replaced seconds fot minutes :P, then maybe the problem probably is that not every client is sending the echoes.

Mumuney, remember that the timeout is connection specific, so if one client is connected and not sending 0800s then those clients would be still getting disconnected for timeouts.

To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

To post to this group, send email to jpos-...@googlegroups.com.

Mumuney Abdlquadri

okunmadı,
16 Ağu 2017 12:00:4916.08.2017
alıcı jpos-...@googlegroups.com
Hi Alejandro,

Yes I am getting responses to the echo.

Hi Andres,

You point is exactly what I pointed out to the client.

Lets hope they listen if not, I will remove the timeout and let them face the consequences.

Thanks.

--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
Tümünü yanıtla
Yazarı yanıtla
Yönlendir
0 yeni ileti