[jpos-users] QServer session ends and restart

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[jpos-users] QServer session ends and restart

jPOS - Users mailing list
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>

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

Re: [jpos-users] QServer session ends and restart

Alejandro Revilla
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).




On Tue, Aug 15, 2017 at 11:38 AM, 'Mumuney Abdlquadri' via jPOS Users <[hidden email]> wrote:
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>

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dnh4%2BppWQwrb1FkUMHYK2NV_n-b-q6Hq_-_hPwFNouppg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [jpos-users] QServer session ends and restart

jPOS - Users mailing list
Thanks Alenjandro,

I will try that and get back.

On Tue, Aug 15, 2017 at 6:28 PM, Alejandro Revilla <[hidden email]> wrote:
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).




On Tue, Aug 15, 2017 at 11:38 AM, 'Mumuney Abdlquadri' via jPOS Users <[hidden email]> wrote:
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>

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dnh4%2BppWQwrb1FkUMHYK2NV_n-b-q6Hq_-_hPwFNouppg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGDHizk8YDpD-bvnf2qVKf4j4i4FrF6zRE7aY0%3DeW3s6QDOQFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [jpos-users] QServer session ends and restart

jPOS - Users mailing list
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.

On Tue, Aug 15, 2017 at 9:37 PM, Mumuney Abdlquadri <[hidden email]> wrote:
Thanks Alenjandro,

I will try that and get back.

On Tue, Aug 15, 2017 at 6:28 PM, Alejandro Revilla <[hidden email]> wrote:
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).




On Tue, Aug 15, 2017 at 11:38 AM, 'Mumuney Abdlquadri' via jPOS Users <[hidden email]> wrote:
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>

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dnh4%2BppWQwrb1FkUMHYK2NV_n-b-q6Hq_-_hPwFNouppg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGDHiz%3DVMmEcphNGG3WN8XoPH%3DjSneWrH%3D8k8q%3D-MkBUH%3Derag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [jpos-users] QServer session ends and restart

Andrés Alcarraz

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ó:
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.

On Tue, Aug 15, 2017 at 9:37 PM, Mumuney Abdlquadri <[hidden email]> wrote:
Thanks Alenjandro,

I will try that and get back.

On Tue, Aug 15, 2017 at 6:28 PM, Alejandro Revilla <[hidden email]> wrote:
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).



--
@apr

On Tue, Aug 15, 2017 at 11:38 AM, 'Mumuney Abdlquadri' via jPOS Users <[hidden email]> wrote:
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>
--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dnh4%2BppWQwrb1FkUMHYK2NV_n-b-q6Hq_-_hPwFNouppg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGDHiz%3DVMmEcphNGG3WN8XoPH%3DjSneWrH%3D8k8q%3D-MkBUH%3Derag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAACHDe305o8ogA%2Bvk0cOLcj1Fgdcb7xQHoy%2B-RpW%2BbcNPGepNA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [jpos-users] QServer session ends and restart

Alejandro Revilla
In reply to this post by jPOS - Users mailing list
Are you getting responses to those 0800s?

(5 seconds looks like overkill to me)



On Wed, Aug 16, 2017 at 10:03 AM, 'Mumuney Abdlquadri' via jPOS Users <[hidden email]> wrote:
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.

On Tue, Aug 15, 2017 at 9:37 PM, Mumuney Abdlquadri <[hidden email]> wrote:
Thanks Alenjandro,

I will try that and get back.

On Tue, Aug 15, 2017 at 6:28 PM, Alejandro Revilla <[hidden email]> wrote:
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).




On Tue, Aug 15, 2017 at 11:38 AM, 'Mumuney Abdlquadri' via jPOS Users <[hidden email]> wrote:
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>

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dnh4%2BppWQwrb1FkUMHYK2NV_n-b-q6Hq_-_hPwFNouppg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGDHiz%3DVMmEcphNGG3WN8XoPH%3DjSneWrH%3D8k8q%3D-MkBUH%3Derag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dk_Vp%3DDZ%3D%2B%2Bww7g6r9jPaPtezwzet7QuvTU%3Dh7wn%2BiJpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [jpos-users] QServer session ends and restart

Andrés Alcarraz

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.



--
@apr

On Wed, Aug 16, 2017 at 10:03 AM, 'Mumuney Abdlquadri' via jPOS Users <[hidden email]> wrote:
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.

On Tue, Aug 15, 2017 at 9:37 PM, Mumuney Abdlquadri <[hidden email]> wrote:
Thanks Alenjandro,

I will try that and get back.

On Tue, Aug 15, 2017 at 6:28 PM, Alejandro Revilla <[hidden email]> wrote:
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).



--
@apr

On Tue, Aug 15, 2017 at 11:38 AM, 'Mumuney Abdlquadri' via jPOS Users <[hidden email]> wrote:
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>
--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dnh4%2BppWQwrb1FkUMHYK2NV_n-b-q6Hq_-_hPwFNouppg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGDHiz%3DVMmEcphNGG3WN8XoPH%3DjSneWrH%3D8k8q%3D-MkBUH%3Derag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dk_Vp%3DDZ%3D%2B%2Bww7g6r9jPaPtezwzet7QuvTU%3Dh7wn%2BiJpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/916fe6d2-c4c6-cc29-0f81-f9e4d9258b22%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [jpos-users] QServer session ends and restart

jPOS - Users mailing list
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.

On Wed, Aug 16, 2017 at 4:46 PM, Andrés Alcarraz <[hidden email]> wrote:

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.



--
@apr

On Wed, Aug 16, 2017 at 10:03 AM, 'Mumuney Abdlquadri' via jPOS Users <[hidden email]> wrote:
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.

On Tue, Aug 15, 2017 at 9:37 PM, Mumuney Abdlquadri <[hidden email]> wrote:
Thanks Alenjandro,

I will try that and get back.

On Tue, Aug 15, 2017 at 6:28 PM, Alejandro Revilla <[hidden email]> wrote:
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).



--
@apr

On Tue, Aug 15, 2017 at 11:38 AM, 'Mumuney Abdlquadri' via jPOS Users <[hidden email]> wrote:
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>
--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
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.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dnh4%2BppWQwrb1FkUMHYK2NV_n-b-q6Hq_-_hPwFNouppg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGDHiz%3DVMmEcphNGG3WN8XoPH%3DjSneWrH%3D8k8q%3D-MkBUH%3Derag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAAgSK%3Dk_Vp%3DDZ%3D%2B%2Bww7g6r9jPaPtezwzet7QuvTU%3Dh7wn%2BiJpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/916fe6d2-c4c6-cc29-0f81-f9e4d9258b22%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
--
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: [hidden email]
---
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAGDHiz%3DDsafd3zPvUohKboYEC6UrtkaUf4a8bFR9TRvC-B3%2Bwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.