I have web-server (nginx) with 1 Gbps port. How can I limit total trafic (sum of input and output) of the server to 100 TB per month?
This question appears to be off-topic. The users who voted to close gave these specific reasons:
The 319 came from Google. They assume 30.4 days in a month. 60% of the time it's right all the time...
Normally, transfer and storage sizes use binary prefixes (ie kb = 1024b; yes this is incorrectly using the 'kilo-' prefix, and should be using 'kibi-'... not getting into that). Line rates correctly use SI prefixes. With that in mind the calculation should be:
Using correct SI prefixes throughout:
Using all binary prefixes:
Check the fine print of your hosting company for which method they use.