Everything2
Near Matches
Ignore Exact
Full Text
Everything2

quota policy

created by baffo

(thing) by baffo (2.3 wk) (print)   ?   (I like it!) Fri Feb 09 2001 at 0:38:45

The policy that you use to enforce a given quota on a system.

I am thinking about disk quota, the amount of space that a user has on a given filesystem.
The typical Unix approach is to let you write stuff until you attempt to write over quota; in that case the write operation fails. This is generally enough for system that have reasonably smart technical users.

One day, I had to design a quota policy for a system that is basically a giant POP toaster. We decided for 10 megs of space per user.
And then we had a problem: should we reject a piece of mail that would have filled the quota ? For example, if the user is a 9 megs and a 2 megs attachment arrives, what do we do ?
If you reject it, then following smaller messages may actually end up in the mailbox. The unwary user would be left with a mysterious undelivered message.
So we decided that (this is a secret !) the real quota is 11 megs (N-Wing suggests that this should be called "the limit"). And we accept no message that overspills the mailbox.

When a user arrives at 9 megs, he receives a message (at most one per day) that encourages him to clean up his mailbox.
If the user stays between 9 and 10 megs forever, he keeps getting annoyingly polite messages forever.
When a user goes beyond 10 megs, he gets exactly one day warning before we start throwing away his old mail. We throw away enough old mail to reach 7 megs.

An interesting fact is that the great majority of the users, in fact, keep their mailboxes at less than one megabyte. Of course, when you start having thousands of users even a small minority may occupy various gigabytes.


printable version
chaos

POP toaster They took my job. They took my hands. CSR Supply the orchestra with excess woodwinds
Quota hard quota Ward Connerly Hotmail
mailbox Unix Easy Answers Regents of the University of California v. Bakke
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Drink up!
Benedictus de Spinoza
Jazz Pianists
How to give a hug
The Bible and same-sex marriage
Ornette Coleman
rules of killing (human edition)
Decrying political correctness without an understanding of its causes and intended consequences is little more than racism muttered under one's breath
Pompey
John Lennon, The Hippie Fanboy, Death, and "Gimme Some Truth"
Constitution of South Africa
It's the End of the World as We Know It
Ethical Discussion on the Internet Worm
May 19, 2007
New Writeups
XWiz
Trism(review)
artman2003
Briefcase Full of Souls - Part I(fiction)
Dreamvirus
Alan Ladd(person)
waverider37
Harold Holt(person)
The Debutante
Until death do us part(fiction)
Ysardo
a brother to a sister(personal)
antigravpussy
your warm whispers(personal)
Clarke
Multiculturalism(idea)
aneurin
Earl of Landaff(person)
Heitah
Pseudocide(idea)
XWiz
Google Knol(lede)
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
E2 is a by-product of the existence of The Everything Development Company