Comment 1 for bug 1034107

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

That sounds quite serious. I have to be honest and say that I don't see there is any way that anything mosquitto related could be affecting the kernel like this. What is more likely is that what you're doing with mosquitto is exposing a bug in the system or a memory problem perhaps.

I know some people with RPis though, so I might be able to persuade them to help reproduce the problem. Could you give a bit more detail of the kind of thing you're doing? I notice that the program listed as crashing above is mosquitto_pub - are you sending each of your 20 messages/s with a separate mosquitto_pub, or is it bridged, that sort of thing. Any detail you can provide would be helpful.

On the subject of mosquitto_pub - you're probably better off building a client that can stay connected to the broker and send messages where possible. mosquitto_pub generally (unless you use the stdin option) only sends a single message per connection which is quite inefficient.