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

Large persist database causes client to disconnect #3110

Open
ftapajos opened this issue Sep 13, 2024 · 1 comment
Open

Large persist database causes client to disconnect #3110

ftapajos opened this issue Sep 13, 2024 · 1 comment

Comments

@ftapajos
Copy link
Contributor

Considering a large persist database

-rw-------    1 mosquitt mosquitt  125.1M Sep 13 16:36 /var/mosquitto/mosquitto.db

And a client myclient connected via unix socket, trying to save the database while receiving a PINGREQ makes the client disconnect

Sep 13 16:36:52 mosquitto[23003]: 1726256212: Saving in-memory database to /var/mosquitto/mosquitto.db.
Sep 13 16:36:52 myclient: Client myclient sending PINGREQ
Sep 13 16:36:58 myclient: Client myclient sending CONNECT
Sep 13 16:36:59 mosquitto[23003]: 1726256219: Client myclient disconnected: Broken pipe.

Environment:
Mosquitto broker and libmosquittopp: 2.0.18

@Daedaluz
Copy link
Contributor

@ralight this is an issue I also hit sometimes, mostly on slower systems and slow disks.

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