Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client cann't receive message when the number of offline messages has reached ‘max_mqueue_len’ #605

Open
petersom opened this issue Feb 18, 2022 · 2 comments

Comments

@petersom
Copy link

The server has large pool messages, The number of offline messages has reached ‘max_mqueue_len’, MQTTClient can connected success, but can't receive message!

Connecting to the same server and other platforms is normal, this problem has never occurred, ex: Android, Web ...

Environment

  • Operating system: iOS
  • Software version: all
  • Package Manager: Cocoapods
  • MQTTClient version: 0.15.3
  • MQTT Broker used: EMQX 3.2.2

The server's config zone.external.max_mqueue_len is default 1000

Session(xxx, clean_start=false, expiry_interval=1296000, subscriptions_count=331, max_inflight=32, inflight=32, mqueue_len=1000, mqueue_dropped=4013, awaiting_rel=0, deliver_msg=29601, enqueue_msg=32706, created_at=1587007794)

Connected successfully, sub successfully and can send messages sucessfully except receive message

It has happened many times, many users

help!!

@zqeq
Copy link

zqeq commented Feb 23, 2022

我们这边也是这个情况,看日志和现象我们这边飞行队列里都是发送不出去的消息,这些消息占满了飞行队列导致没法再接收消息,通过调小飞行队列最大值,可以复现了现象,具体为什么队列消息不消化定位不到问题。

@petersom
Copy link
Author

我们决定放弃这个库了,没人维护

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants