Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-20 Thread Chih Yin
On Wed, May 19, 2010 at 9:43 PM, Willy Tarreau wrote: > On Wed, May 19, 2010 at 04:49:02PM -0700, Chih Yin wrote: > > Hi Mariusz, > > > > On Wed, May 19, 2010 at 2:18 PM, Mariusz Gronczewski >wrote: > > > > > One more thing about config, u dont need to do > > > acl is_msn01hdr_sub(X-Forw

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-20 Thread Chih Yin
Hi Willy, On Wed, May 19, 2010 at 9:39 PM, Willy Tarreau wrote: > Hi Chih Yin, > > On Wed, May 19, 2010 at 04:47:00PM -0700, Chih Yin wrote: > > > On Tue, May 18, 2010 at 03:49:57PM -0700, Chih Yin wrote: > > > > As for the logs, it seems that I'll need to look at the configuration > for > > > >

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-19 Thread Willy Tarreau
On Wed, May 19, 2010 at 04:49:02PM -0700, Chih Yin wrote: > Hi Mariusz, > > On Wed, May 19, 2010 at 2:18 PM, Mariusz Gronczewski wrote: > > > One more thing about config, u dont need to do > > acl is_msn01hdr_sub(X-Forwarded-For) 64.4.0 > > acl is_msn02hdr_sub(X-Forwarded-For) 64.

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-19 Thread Willy Tarreau
Hi Chih Yin, On Wed, May 19, 2010 at 04:47:00PM -0700, Chih Yin wrote: > > On Tue, May 18, 2010 at 03:49:57PM -0700, Chih Yin wrote: > > > As for the logs, it seems that I'll need to look at the configuration for > > > HAProxy a bit more to make some adjustments first. A few months back, I > > >

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-19 Thread Chih Yin
Hi Mariusz, On Wed, May 19, 2010 at 2:18 PM, Mariusz Gronczewski wrote: > One more thing about config, u dont need to do > acl is_msn01hdr_sub(X-Forwarded-For) 64.4.0 > acl is_msn02hdr_sub(X-Forwarded-For) 64.4.1 > acl is_msn03hdr_sub(X-Forwarded-For) 64.4.2 > and then >

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-19 Thread Chih Yin
Hi Willy, On Wed, May 19, 2010 at 5:16 AM, Willy Tarreau wrote: > Hi, > > I have a quick comment for now, before going deep through your config. > > On Tue, May 18, 2010 at 03:49:57PM -0700, Chih Yin wrote: > > As for the logs, it seems that I'll need to look at the configuration for > > HAProxy

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-19 Thread Chih Yin
Hi Hank, On Tue, May 18, 2010 at 7:45 PM, Hank A. Paulson < h...@spamproof.nospammail.net> wrote: > You do have bunch of services that are http mode that don't seem to have > any type of http close. Some I don't understand why they are not http mode > and they probably should be. > > Just a note

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-19 Thread Mariusz Gronczewski
One more thing about config, u dont need to do acl is_msn01hdr_sub(X-Forwarded-For) 64.4.0 acl is_msn02hdr_sub(X-Forwarded-For) 64.4.1 acl is_msn03hdr_sub(X-Forwarded-For) 64.4.2 and then use_backend robot_traffic if is_msn01 or is_msn02 or is_msn03 u can just do acl

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-19 Thread Willy Tarreau
Hi, I have a quick comment for now, before going deep through your config. On Tue, May 18, 2010 at 03:49:57PM -0700, Chih Yin wrote: > As for the logs, it seems that I'll need to look at the configuration for > HAProxy a bit more to make some adjustments first. A few months back, I > know I saw

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-18 Thread Hank A. Paulson
On 5/18/10 7:45 PM, Hank A. Paulson wrote: I am wondering if the previous admin set up more than one copy of haproxy and that is why several services are redirected to the same machine - like glassfish prod there is no other reference to port 4850 in this config, so what is running on port 4850?

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-18 Thread Hank A. Paulson
You do have bunch of services that are http mode that don't seem to have any type of http close. Some I don't understand why they are not http mode and they probably should be. Just a note you may be able to greatly simplify (and possibly speed up) your config using the new capabilities for ta

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-18 Thread Chih Yin
2010/5/17 XANi > Dnia 2010-05-17, pon o godzinie 14:45 -0700, Chih Yin pisze: > > Hi, > > > >Please excuse me if the information contained in this email is a bit > generic. I'm not the regular administrator, but I've been given the task of > troubleshooting some issues with my website. If

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-17 Thread Hank A. Paulson
On 5/17/10 10:24 PM, Willy Tarreau wrote: On Mon, May 17, 2010 at 07:42:03PM -0700, Hank A. Paulson wrote: I have some sites running a similar set up - Xen domU, keepalived, fedora not RHEL and they get 50+ million hits per day with pretty fast response. you might want to use the "log separate

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-17 Thread Willy Tarreau
On Mon, May 17, 2010 at 07:42:03PM -0700, Hank A. Paulson wrote: > I have some sites running a similar set up - Xen domU, keepalived, > fedora not RHEL and they get 50+ million hits per day with pretty > fast response. you might want to use the "log separate errors" (sp?) > option and review those

Re: A (Hopefully Not too Generic) Question About HAProxy

2010-05-17 Thread XANi
Dnia 2010-05-17, pon o godzinie 14:45 -0700, Chih Yin pisze: > Hi, > > > Please excuse me if the information contained in this email is a bit > generic. I'm not the regular administrator, but I've been given the > task of troubleshooting some issues with my website. If more details > are need

A (Hopefully Not too Generic) Question About HAProxy

2010-05-17 Thread Chih Yin
Hi, Please excuse me if the information contained in this email is a bit generic. I'm not the regular administrator, but I've been given the task of troubleshooting some issues with my website. If more details are needed, I'll gladly go look for additional information. Currently, my website