Skip to content

What are these files in mlab? [fs.chunks, _JobStatus, _Push Status] #5266

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

Closed
joaoarmando opened this issue Dec 29, 2018 · 1 comment
Closed

Comments

@joaoarmando
Copy link

Hello everyone, I just go to the mlab see how my storage is, and I realize that some files are taking up too much space, I do not know what they are ... Can I delete these files without problems?

The first file that catches my attention is: fs.chunks
You can see a image here
What is this for? Can I delete it safely without causing problems?

The second file is: _JobStatus
You can see a image here

The third and last file is: _Push Status
You can see a image here

Could you explain to me what these files are for, and tell me if I can safely delete them? Thank you very much!!

@flovilmart
Copy link
Contributor

The first file that catches my attention is: fs.chunks

these are all the uploaded files by your users, you should not delete them. Also you should consider storing the files in S3 or another storage.

The second file is: _JobStatus

The _JobStatus collection keeps track of the execution of past jobs, you should be able to safely delete them

The third and last file is: _PushStatus

The _PushStatus collection keeps track of all the sent push notification, you should be able to safely delete them if you do not mind loosing the history.

For both _PushStatus and _JobStatus, you can probably create a TTL index. A TTL index allows a collection to automatically purge 'old' objects, as configured by expireAfterSeconds. Mlab provides an inteface to configure those. You could set the expireAfterSeconds to 2592000 (a month)

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