Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Global upload size limit per hour #14

Open
RX14 opened this issue Jun 15, 2016 · 4 comments
Open

Global upload size limit per hour #14

RX14 opened this issue Jun 15, 2016 · 4 comments

Comments

@RX14
Copy link
Contributor

RX14 commented Jun 15, 2016

There should be a limit for the whole site of upload data per hour, preferably rolling limit. This prevents the drive filling up. This limit being hit should send an email (or Pushbullet) to the owner.

Might also be a good idea to stop uploads completely when it hits a certain amount of disk space left.

@clickbait
Copy link

i think it should maybe replace all of the text on the homepage with marquees and blinking text for nostalgia purposes

@johncave
Copy link

johncave commented Jun 16, 2016

@RX14
https://www.nagios.org
http://www.zabbix.com
Zabbix can even send you a message on XMPP when something's triggered. Future is now.

@RX14
Copy link
Contributor Author

RX14 commented Jun 16, 2016

Yes but npomf would still need to trigger nagios or zabbix. Besides both suites are pretty heavy for single-server setups imo.

@johncave
Copy link

I used to run Zabbix to monitor a 512mB digital ocean machine (customer wanted it) so I'm sure yours can handle it. Set it to trigger if ingress is above a threashold for the hour or disk usage of the uploads directory exceeds a given amount and problem solved.

Would be nice to limit the size the uploads directory can grow to, though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants