Comment 3 for bug 1034107

Revision history for this message
Roger Light (roger.light) wrote : Re: [Bug 1034107] Re: mosquitto_pub[22867] exited with preempt_count 1

I can recommend mosquitto.py to go with your existing script :)

Running many processes like this still shouldn't cause problems though
so there may still be an underlying problem.

On Tue, Aug 7, 2012 at 11:00 PM, Rob_Quads <email address hidden> wrote:
> At the moment I have a python script which is reading data from a serial port. When ever it received data from a wireless sensor it then publishes this data using a separate mosqittto_pub command. (3 sensors all pushing data once a minute)
> I also have a perl script getting some temp/power data every 20 seconds. This is also published using separate pub commands.
>
> As I was not doing that many publishes (used to 1,000s at work :) I had
> not bothered looking at coding the application to maintain a persistent
> connection. Its something I will look at.