LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2011, 03:27 PM   #1
bichu23
LQ Newbie
 
Registered: May 2011
Posts: 11

Rep: Reputation: 0
Delay pool


i need to restrict users if their download file size exceeds xxx amount, set later download speed to "256kbps"

OS: Centos 5.5
Squid 3.1.8

Last edited by bichu23; 05-16-2011 at 07:05 AM. Reason: Linux administrator required more details
 
Old 05-16-2011, 06:22 AM   #2
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,300

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by bichu23 View Post
i need to restrict users if their download exceeds the size 2mb to set download speed "256kbps"
What kind of wierd request is this ?

We are not Gods who know your Operating System (with version), your proxy software, and other details.
 
0 members found this post helpful.
Old 05-16-2011, 08:36 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,323
Blog Entries: 4

Rep: Reputation: 2837Reputation: 2837Reputation: 2837Reputation: 2837Reputation: 2837Reputation: 2837Reputation: 2837Reputation: 2837Reputation: 2837Reputation: 2837Reputation: 2837
You probably need to suspend their accounts!

If you restrict their download speeds then all that's going to do is to give your system indigestion. If your application decides that they are asking to download too much material too frequently, "just say No."

How to do that, is a your-application issue, not a Linux issue.
 
0 members found this post helpful.
Old 05-17-2011, 01:02 AM   #4
bichu23
LQ Newbie
 
Registered: May 2011
Posts: 11

Original Poster
Rep: Reputation: 0
reply

Quote:
Originally Posted by sundialsvcs View Post
You probably need to suspend their accounts!

If you restrict their download speeds then all that's going to do is to give your system indigestion. If your application decides that they are asking to download too much material too frequently, "just say No."

How to do that, is a your-application issue, not a Linux issue.

by using delay pool can we restrict the bandwith, suppose one user tring to download 4o mb files, download speed will be maximum, when it reaches 10 mb, the download speed for that user has to drop down to 256kb
 
Old 05-17-2011, 09:28 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,985

Rep: Reputation: 4315Reputation: 4315Reputation: 4315Reputation: 4315Reputation: 4315Reputation: 4315Reputation: 4315Reputation: 4315Reputation: 4315Reputation: 4315Reputation: 4315
Quote:
Originally Posted by bichu23 View Post
by using delay pool can we restrict the bandwith, suppose one user tring to download 4o mb files, download speed will be maximum, when it reaches 10 mb, the download speed for that user has to drop down to 256kb
Right...as you said, you need to enable delay pools. So go look in the Squid documentation on how to do it...they even have examples on their site. Have you tried that?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Delay pool help. landysaccount Linux - Newbie 1 08-08-2010 11:40 AM
delay pool in squid raheelch Linux - Server 4 03-01-2010 05:26 AM
How to find out if Squid is compiled with Delay Pool linuxgirlie Linux - Server 2 02-03-2010 04:03 AM
Understanding Delay Pool Configuration (Squid) carl0ski Linux - Server 0 04-20-2007 01:00 AM
delay pool chamnane Linux - Networking 1 07-23-2004 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration