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

Problem write SSDB in big database #1197

Open
YindSoft opened this issue Mar 2, 2018 · 1 comment
Open

Problem write SSDB in big database #1197

YindSoft opened this issue Mar 2, 2018 · 1 comment

Comments

@YindSoft
Copy link

YindSoft commented Mar 2, 2018

Hello.

I'm having issues with my SSDB instance after 2 months of running it.

I write some data with SETX to expire the data after 1 month. And everything worked great but after 2 months aprox, it stopped working right. I execute the SETX commands and most of the time it doesn't have a response, so the data is not set into the database.
The data folder is about 400GB in data. (Also seems that the expired keys doesn't realease the disk space)
I reseted the database and everything start to work great again.
So there might be something corrupt that broke the database or there is an issue when the database is too big.
In the log files it doesn't show any error or anything.. but for example the SETX commands that failed doesn't appear there.

Any idea what could be happening?

@ideawu
Copy link
Owner

ideawu commented Mar 3, 2018

Did you set many key to expire at the small period of time? If too many key expires at the same time, the server may slow down. If this is the case, I would recommend set keys to expire at different point of time.

Check the CPU and disk IO usage when your SSDB instance stop working.

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