Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2000 20:52:37 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        reasy <reasy@webfringe.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Question
Message-ID:  <Pine.BSF.4.21.0004172043500.87353-100000@ren.sasknow.com>
In-Reply-To: <000a01bfa8b1$b98126b0$0100a8c0@james>

next in thread | previous in thread | raw e-mail | index | archive | help
reasy wrote to freebsd-questions@FreeBSD.ORG:

> Hi 
> i am soon to run a web-hosting server
> the server will run FreeBSD 3.4-RELEASE

Excellent!  You might consider cvsup'ing to the latest -STABLE to ensure
the most stable production environment possible.


> but i am unsure on how to do a few things...
> 
> i want the user to be able to telnet into there account
> but i want to limit the ammount of processes each user uses...
> this my variey from user to user depending on how many processes
> each user wants... do you know how i can do this ?

man ulimit


> secondly...
> i want to control how many megabytes of transfer each user uses,
> this is to i dont have the biggest traffic bill i cant imagine...
> this will also variey from user to user depending on which account they
> purchase.

man dummynet, but dummynet is an ipfw function, so it can not be limited
by user.  If this is for IP based virtual hosting, you can limit bandwidth
by IP.

Why not just advertise a maximum transfer limit, run a monthly log
analyzer that analyzes pertinent transfer logs, and bill users for
overusage?  

If you have problem users/sites that are generating WAY too much traffic
for your CONNECTION to handle, you need to adjust your policies so you can
prohibit gratuitous use of bandwidth by cancelling contracts.

--
  Ryan Thompson <ryan@sasknow.com>
  Systems Administrator, Accounts
  Phone: +1 (306) 664-1161

  SaskNow Technologies     http://www.sasknow.com
  #106-380 3120 8th St E   Saskatoon, SK  S7H 0W2



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004172043500.87353-100000>