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

Hash: SHA1

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



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 

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

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
** <>*

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.*
Version: GnuPG v1.4.11 (GNU/Linux)


Back to the top