LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 12-09-2009, 11:41 AM   #1
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 20, RHEL 6,7
Posts: 159

Rep: Reputation: 15
Question About Squid


Hi guys

Plz plz help me to know about how to use delay pools , i googled a lot to know this , but cant understand it very well , plz guys help me to know how can i restrict a bandwidth for a user by using delay_pools

Thanks in adavance
Best Regards
Ashish Sood
 
Old 12-09-2009, 03:56 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,087

Rep: Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714
Quote:
Originally Posted by Ashish Sood View Post
Hi guys

Plz plz help me to know about how to use delay pools , i googled a lot to know this , but cant understand it very well , plz guys help me to know how can i restrict a bandwidth for a user by using delay_pools
First, spell out your words. It's "please", not "plz".

Second, what problem are you having? Version/distro of Linux? Squid? You say you've "googled a lot to know this", but the first link that comes up for me is:

http://www.howtoforge.com/squid-dela...dth-management

A very clear how-to, with examples. If you're having problems with a specific thing, let us know.
 
Old 12-10-2009, 07:17 AM   #3
raissi
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
when i want to brows i have the fallowing error , may you help me.



ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://rpm.pbone.net/index.php3/stat....i686.rpm.html

The following error was encountered:

* Unable to forward this request at this time.

This request could not be forwarded to the origin server or to any parent caches. The most likely cause for this error is that:

* The cache administrator does not allow this cache to make direct connections to origin servers, and
* All configured parent caches are currently unreachable.

Your cache administrator is root.
Generated Thu, 10 Dec 2009 11:59:13 GMT by gepard.pbone.net (squid/2.6.STABLE21)
 
Old 12-10-2009, 01:33 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,087

Rep: Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714
Quote:
Originally Posted by raissi View Post
when i want to brows i have the fallowing error , may you help me.

ERROR
The requested URL could not be retrieved
And did you try to look up that error?? Some things from the Squid site and others:

http://old.nabble.com/Unable-to-forw...d20413925.html
http://old.squid-cache.org/mail-arch...0104/0312.html

Check your open file limits, and your squid configuration, based on some guidelines found in these posts, as well as in the squid documentation.
 
Old 12-18-2009, 10:45 AM   #5
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 20, RHEL 6,7
Posts: 159

Original Poster
Rep: Reputation: 15
Thanks For reply TbOne

Now i understand the delay class 1 very well, but still delay class 2 is not clear to me, plz guys describe more in detail of delay class 2

i can understand we can restrict the bandwidth from the begnning in delay class 2, when the user download the file

but what is the meanning of delay parameter for class two

delay_parameter 1 62500/62500 25000/25000

Last edited by Ashish Sood; 12-18-2009 at 10:46 AM.
 
Old 12-18-2009, 05:15 PM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,087

Rep: Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714Reputation: 2714
Quote:
Originally Posted by Ashish Sood View Post
Thanks For reply TbOne

Now i understand the delay class 1 very well, but still delay class 2 is not clear to me, plz guys describe more in detail of delay class 2

i can understand we can restrict the bandwidth from the begnning in delay class 2, when the user download the file

but what is the meanning of delay parameter for class two

delay_parameter 1 62500/62500 25000/25000
Again, SPELL OUT YOUR WORDS, please.

Did you read the Squid documentation, on their site?
http://www.squid-cache.org/Doc/config/delay_parameters/

There are 3 classes of delay pools - class 1 is a single aggregate bucket, class 2 is an aggregate bucket with an individual bucket for each host in the class C, and class 3 is an aggregate bucket, with a network bucket (for each class B) and an individual bucket for each host. For further explanation and examples, see the default squid.conf file comments.
 
Old 12-19-2009, 02:28 PM   #7
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 20, RHEL 6,7
Posts: 159

Original Poster
Rep: Reputation: 15
Thanks , Now its clear to me .
 
  


Reply

Tags
browsing, error, squid


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
squid question marcusaurelius Linux - Security 1 08-11-2009 12:03 PM
Squid Question alouks Linux - Networking 4 11-15-2006 07:53 PM
Squid QUESTION jocast Linux - Software 2 03-08-2006 12:41 PM
Squid Question cli_man Linux - Software 1 10-06-2003 11:57 PM
Squid question andresurzagasti Linux - Networking 1 09-13-2002 05:25 AM


All times are GMT -5. The time now is 06:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration