Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Problems using Mosquitto Broker

Understood.
You ran a mosquitto broker on Windows.
Sorry I have no expertise of mosquitto on Windows.

BR/Tatsuzo

2018-01-17 21:31 GMT+09:00 michele conficconi <conficconimichele@xxxxxxxxx>:
> Hi Tatsuzo,
> with the term "window" I just meant the tab of the "command promt", as the
> one attached here.
> If I minimize this tab while exchanging data between the 2 PLC I have no
> problem and everything works just fine. However, expanding this tab (I
> notice a spike in the CPU usage) the subscriber starts losing data.
>
> Regards,
> Michele.
>
> 2018-01-17 13:09 GMT+01:00 Tatsuzo Osawa <tatsuzo.osawa@xxxxxxxxx>:
>>
>> Hi Micheie,
>>
>> Could you explain more about the window? It's not a term of MQTT
>> protocol nor mosquitoo. Maybe it's a term of beckhoff PLC.
>> In addition, could you show the debug logs of mosquitto broker?
>>
>> Regards,
>> Tatsuzo
>>
>> 2018-01-17 18:07 GMT+09:00 michele conficconi
>> <conficconimichele@xxxxxxxxx>:
>> > Good morning,
>> > I'm developing a thesis project regarding machine to machine
>> > communication
>> > through MQTT protocol, and I'm using mosquitto as broker along with 2
>> > beckhoff PLCs.
>> >
>> > When dealing with encrypted communication (I'm using TLS pre shared key
>> > to
>> > exploit security), I have to properly configure the broker to let the 2
>> > PLC
>> > exchange data. And this is fine for me: I'm able to send and receive
>> > information using the MQTT libraries available from TWINCAT (Beckhoff
>> > software tool).
>> >
>> > I'd like also to get the packet loss depending on the speed of the
>> > Publisher
>> > and Subscriber and on the payload I'm sending.
>> >
>> > Doing some tests, I've notice that I've no packet loss in my
>> > communication,
>> > however if I enlarge the command window while the 2 plc are exchanging
>> > data
>> > (I can see that the 2 plc are communicating thanks to the messages in
>> > the
>> > window, as show in figure attached), I start losing packets.
>> > My question is:
>> > Is that normal? Is this a problem of the broker o may be the plc is not
>> > so
>> > powerful and it struggles to show also those messages? Beacuse I've
>> > noticed
>> > a spike of CPU usage, when enlarging the command window, which goes
>> > immediatly to 70/75%.
>> >
>> > I look forward to hear from you soon.
>> >
>> > Best regards,
>> > Michele
>> >
>> > _______________________________________________
>> > mosquitto-dev mailing list
>> > mosquitto-dev@xxxxxxxxxxx
>> > To change your delivery options, retrieve your password, or unsubscribe
>> > from
>> > this list, visit
>> > https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
>> _______________________________________________
>> mosquitto-dev mailing list
>> mosquitto-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
>
>
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top