LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-03-2009, 03:00 AM   #1
lasantha
Member
 
Registered: Oct 2005
Location: Sri Lanka
Distribution: Red Hat, Cent OS
Posts: 38

Rep: Reputation: 16
Smile dynamically changing delay pool acl squid.conf


Dear All,
I was asked to create and implement a method to change bandwidth of individual squid(linux based) user time to time using web page driven by perl or php script. In here admin should change bandwidth of each user time to time (some times 3 or 4 times per hour) to manage the office badwidth efficientely.

I have tought a way of doing this as follows.

Required acl lines that used for bandwidth manage (delay pools) are chosen from squid.conf file and update through perl script and restart squid process in each and every change that done by admin through web site.

If I do like above, is it work?(I think it is little bit slow.. because squid takes time to restart)... Is there any other way of doming this without directly editiong squid.conf file but by editing another file for delay pool acl that linked to squid.conf file(like dstdomain list) ...?

If not pls suggest a good way of doing this.

Thks and Rgds,

Lasantha
 
Old 05-05-2009, 04:39 AM   #2
chitambira
Member
 
Registered: Oct 2008
Location: Online
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 51
you dont have to restart squid after evry change, you jkust issue 'reconfigure'
 
  


Reply



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
how to attach acl created in squid using webmin to delay pool? linuxlover.chaitanya Linux - Server 9 04-19-2008 12:27 AM
Not able to attach acl created in squid to delay pool linuxlover.chaitanya Linux - Newbie 0 04-17-2008 01:54 AM
Understanding Delay Pool Configuration (Squid) carl0ski Linux - Server 0 04-20-2007 01:00 AM
Need to dynamically modify squid acl frankjoshua Linux - Software 0 07-11-2006 04:10 AM
cbq squid delay pool bandwidth issue tarak4u Linux - Networking 0 03-12-2004 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:30 AM.

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
Open Source Consulting | Domain Registration