Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-07-2010, 03:56 PM   #1
LQ Newbie
Registered: Feb 2009
Posts: 27

Rep: Reputation: 0
Squid load balancing


i want to make a squid load balancing

this is my squid.conf (a part)
cache_peer parent 9090 0 no-query originserver name=server_1
acl sites_server_1 dstdomain
cache_peer_access server_1 allow sites_server_1
cache_peer parent 9090 0 no-query originserver round-robin

cache_peer parent 8080 0 no-query originserver name=server_2
acl sites_server_2 dstdomain
cache_peer_access server_2 allow sites_server_2
cache_peer parent 8080 0 no-query originserver round-robin

in my pc i installed 2 web server' there any way to balance load to two websserver's on a single system..?

when i re-started my squid service,i got an error like this..

[root@server Documents]# service squid restart

Stopping squid:                                            [FAILED]
Starting squid:                                            [FAILED]
2010/10/07 23:14:56| Processing Configuration File: /etc/squid/squid.conf (depth 0)
FATAL: ERROR: cache_peer specified twice

Squid Cache (Version 3.1.8): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.003 user + 0.003 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0

please help me..i am a beginner

Old 10-07-2010, 11:31 PM   #2
LQ Newbie
Registered: Feb 2009
Posts: 27

Original Poster
Rep: Reputation: 0
Please help me


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 Cache with 2 Bandwidth [Load Balancing] ?؟ _root Linux - Server 1 04-05-2010 05:01 AM
[SOLVED] Squid Load Balancing isururj Linux - Networking 1 12-11-2009 07:28 AM
Load balancing through squid proxy server punit1985 Linux - Newbie 3 11-02-2008 01:51 AM
Squid Load Balancing drmouse1981 Linux - Server 1 04-14-2007 02:31 AM
squid with load balancing (?) no2nt Linux - Networking 1 09-12-2001 09:25 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:18 AM.

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