[MDEV-23505] RocksDB fills the hard drive with log files and it crashes the server Created: 2020-08-18 Updated: 2021-06-15 Resolved: 2021-06-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | 10.4 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Philip orleans | Assignee: | Sergei Petrunia |
| Resolution: | Not a Bug | Votes: | 1 |
| Labels: | None | ||
| Description |
|
My Mariadb server run out of space and crashed. It turned out that Rocksdb fills the hard drive with hundreds of log file like this |
| Comments |
| Comment by Sergei Petrunia [ 2021-06-09 ] |
|
Yes, there is rocksdb_keep_log_file_num option which can be set in my.cnf or command line tells RocksDB how many files should be kept. The default (from RocksDB) is 1000. |