Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Problem regarding timeout check for activity

Il 30/10/2014 19:14, De Alti, Cristiano ha scritto:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
   Please see [1].
The patches should fix the issue you are experiencing.

Ciao,
  Cristiano

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=446663


On 30/10/2014 18:31, Alessandro Carraro wrote:
Hi, I'm evaluating paho and MQTT in general, so I'm sorry if it is
a noob question or answered as FAQ. However I've found not much
googling for this.

Everything is nice while developing small tests, but as soon as I
try to make some pressure on it (about 2-300 messages/s) there I
have the following exception:

Timed out as no activity, keepAlive=60.000
lastOutboundActivity=1.414.687.096.590
lastInboundActivity=1.414.687.156.520


The environment is the following: Eclipse Paho Mosquitto Windows 7
Java 7 The client (paho) and the server (mosquitto) are in the same
machine

An idea that came to my mind is: is it possible that the messages
are more than the environment can manage, and I'm filling a queue
on mosquitto and so hearth-beats are going to be en-queued and so
the client think the server is not available?

Have you got an idea on how many messages should I be transmitting
on a good computer (need just a rough exstimation. I've got 32GB
ram, 2xeon with 6 core each with hyperthreading for a total 24
"threads", I think I could manage at least some thousands
messages/s (messages are very small, under 100bytes).

Another question: what should I do to eventually recover from such
situation? Re connect, just relogin? I know I could just try, but
if possible I'd like to know an official response just to know that
not only the problem is solved, but also that I've done the "right
thing"

thank you for helping

Alex



_______________________________________________ paho-dev mailing
list paho-dev@xxxxxxxxxxx To change your delivery options, retrieve
your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

- -- Cristiano De Alti*
*Principal Software Engineer*
*
direct:    +39 0433 485468
email: cristiano.dealti@xxxxxxxxxxxx
<mailto:cristiano.dealti@xxxxxxxxxxxx>

*EUROTECH*
Imagine.Build.Succeed.
HEADQUARTERS
EUROTECH S.p.A. ? Via Fratelli Solari, 3/a | 33020 Amaro UD | Italy |
Tel. +39. 0433 485411  | Fax +39. 0433 485499 |
Cap. Soc. 8.878.946,00 ? I.V. | P.IVA / C.F.: IT 01791330309 | REA Udine
196115
*www.eurotech.com* <http://www.eurotech.com/>*
*____________________________________

Il presente messaggio ed ogni suo allegato sono da intendersi inviati
esclusivamente agli effettivi destinatari e potrebbero essere soggetti a
restrizioni legali. Se avete ricevuto questo messaggio per errore vi
invitiamo a darne immediata notifica al mittente e cancellarlo dal
vostro sistema. Qualsiasi altro uso di questo messaggio da parte vostra
e' strettamente proibito.

This e-mail, and any file attached to it, is meant only for the intended
recipient of the transmission and may be a communication privileged by
law. If you have received it in error, please notify the sender
immediately and delete the original from your system. Any other use of
this e-mail by you is strictly forbidden.
____________________________________

*Per favore, pensate all?ambiente prima di stampare questa e-mail.
**Please consider the environment before printing this e-mail.*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJUUoAHAAoJEBLQq2abubLa3FUQAJPiBpgb7Hm8bEmwjTYTcgSZ
2Bn1+VBc6+/eKiYuDNNZBNaoPZ7jcrMrZVO/uWxtxv0A5Q22Me3jX56tEoVbFYp2
8lLr2fB+w4UJRAszfPwAoBnli9lqB1jDDWGvIsVem37mQeNtNRQrH/uZhbw+uU1x
35qmmwltYS5QMTV9XEKNM3dewLMfvvaLhYdLteolj2mElP4Ycc1NcqErZlSoducJ
y9O3XeoNUwAkQFuz8WK1He3IX5HnN7IzV5pkyAGxeEuR/D+/hEfo29EE+Pq7Vs9p
wmMkHgtXYRsWN+wdDypVxbnk1gDR3wdoQaeLA7kHrzQLE1HBUCvcT+Bg6j400Cyc
N82FQvMPrux1G4VW/CuGhE0ALVDQAcG5XrHP/MgDRvgDO8oG8k0wL2v4DzIgbA6Z
Ci1d7WhXioB5OCh6kKbPTFfimTOaUOnV6yEz4mdkzeJJhVEnV0fmEGj8qHuBUWaU
/9FIWk6N0QR3pxiybr3l2iKoBNX2MOtz4iKPZ3QyHUo2APf8sMqstdONMxqn5Bfp
lC/u+H3xvPo+F3r09skKV8CgKg8YuRLMxHbJE03XE5CIr3HC9+QMs/xnlaGdLEt1
3RHSqKGrnnmogipfDtNPjvS796ysR1biDO8gwSW8FvDde5f52PVZqzLcf5pWO1i7
vIfxkjwu4LHpf4HORm/B
=YbuC
-----END PGP SIGNATURE-----
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

Thank you for the quick reply. I'm using 0.4.0. I've found that the patch is included in the latest commit of 1.0.1. So, I've cloned git and tried to build myself but I've run into some problems using maven.

I tried to build it manually (also ant script has issues) and now the behaviour does not seem to trigger anymore.

Many thanks!



Back to the top