Discourse disk space limits per user?

AI-generated summary

Users are discussing whether Discourse enforces disk space or upload limits per user to prevent misuse, such as treating the forum like a personal cloud storage. Tepbutler initiated the thread, noting the absence of such limits in default settings, despite the existence of other rate limits (e.g., messages per day). tophee referenced the Trust Levels blog post, but Tepbutler clarified that it doesn’t cover per-user storage caps. supermathie suggested using the Data Explorer plugin to monitor uploads and analyze server logs for abuse. codinghorror acknowledged the gap, citing past issues with users uploading excessive images via private messages, and hinted at potential future improvements. Later users like yhmtsai and jserre echoed concerns, especially as their forums begin to face storage cost pressures from heavy uploaders. JammyDodger questioned whether global upload size limits might already address the issue, though no per-user cap currently exists. The consensus is that while Discourse lacks built-in per-user storage limits, admins can monitor and mitigate abuse using plugins and log analysis — but a native solution would be welcomed.

Guys,

I would like to know if there is a page which describes all available limits supported by discourse forum, i.e max messages/ per day, max uploads/per day etc.

Especially I would like to know if there is a disk space limit per user. Otherwise user can just register and start to use forum as a personal ‘second dropbox’.

Thanks for your hard work, discourse team! You’re amazing.

Check out this topic (note that the figures given there are the defaults. Site admins may have modified them in any particular discourse instance):

2 Likes

Thanks for the link, but as I see there are not limits on upload/download mega/giga-bytes per user.

This is something I’ve also pondered.

There’s no inherent limits on this kind of thing, but you could do Data Explorer queries on uploaded content and analysis on the web server logs (you can have them capture the logged-in username) to watch for abuse if you’re concerned about it.

3 Likes

Data Explorer queries..hm, could you please give me a link so I could read a bit more about it.
Maybe you are talking about Prometheus Plugin?

This plugin here:

2 Likes

There are not, but I know @meglio has struggled with users who upload tons and tons of images in private messages. So it is an area we could probably do more work in.

8 Likes

Is there any update on this topic?
My forum does not face this issue yet actually.
but it will be great if we have someway to limit the user upload or disable them put image in private message

1 Like

Hi there!
Any update on this user upload limitation feature?
We see some users doing massive uploads and it’s gonna cost us an arm if we don’t place limits very soon.
Thanks!

Wouldn’t that use case be covered by your global upload size limit?