LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 04-30-2009, 07:59 AM   #1
bluethundr
Member
 
Registered: Jun 2003
Location: Summit, NJ
Distribution: CentOS 5.4
Posts: 122

Rep: Reputation: 15
Unhappy Pound Load Balancer Slows My Site Down


guys,

My site was setup under a Verizon FiOS static IP. It absolutely FLEW when it first launched.

Then I was asked to setup a second web server and load balance the two. Someone recommended using pound for this, and I got it setup rather easily.

But the problem is now the site is incredibly slow to load! Once it loads the site clicks through rapidly. But the initial load times are terrible.

If I take pound out of the equation and point the firewall to one of the web servers instead of the pound load balancer it speeds right back up. Change again back to pound and it slows right down.

Suggestions?

Here is my config file:

Code:
## Minimal sample pound.cfg
##
## see pound(8) for details


######################################################################
## global options:

User            "www-data"
Group           "www-data"
#RootJail       "/chroot/pound"

## Logging: (goes to syslog by default)
##      0       no logging
##      1       normal
##      2       extended
##      3       Apache-style (common log format)
LogLevel        1

## check backend every X secs:
Alive           2

## use hardware-accelleration card supported by openssl(1):


######################################################################
## listen, redirect and ... to:

## redirect all requests on port 80 ("ListenHTTP") to the virtual IP address:
ListenHTTP
        Address 192.168.1.8
        Port    8080
End

Service

        BackEnd
                Address 192.168.1.5
                Port    8080
        End
        BackEnd
                Address 192.168.1.6
                Port 8080
        End
        Session
                Type IP
                TTL  300
        END
End
And I keep getting this error in my syslog:

Code:
Apr 30 06:24:50 DNS pound: (b7b3fb90) connect_nb: error after getsockopt: Connection refused
HHHEEEELLLLPPP!!!!
 
Old 05-01-2009, 05:49 AM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Ask the person who recommended this to fix it for you . Honestly though, are you running the latest stable release of this code? If so, maybe there is a bug in this one and perhaps you could try using an older version and check if the performance is the same. I never heard of Pound so I can't help you much. However, you could setup Apache + mod_proxy and do load balancing that way. I did it a while back and it rocks. If you run into problems, at least you'll be at ease because Apache is so widely used and people can help guide you in fixing whatever problem you have.

-twantrd
 
  


Reply

Tags
loadbalancing


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
Want to configure POUND load balancer. nishith Linux - Server 1 09-20-2008 06:41 AM
Load balancer mahmoud Linux - Server 9 04-24-2008 08:01 AM
load balancer ? spx2 Linux - Networking 4 05-29-2007 03:00 AM
Load Balancer shane200_ Linux - Networking 1 09-16-2005 03:17 PM
Load Balancer shane200_ Mandriva 1 05-12-2005 12:59 PM


All times are GMT -5. The time now is 05:37 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