Re: selinux policy for haproxy

2009-03-19 Thread Willy Tarreau
Hi, On Tue, Mar 17, 2009 at 09:26:43PM +0100, Jan-Frode Myklebust wrote: > Here's an selinux policy for haproxy. The patch is built and lightly > tested with haproxy-1.3.15.7-1.fc10.i386 on Fedora9, and haproxy-1.2.18 > on RHEL5. believe it or not, I've never experimented at all with selinux. Ho

Re: The gap between ``Total'' and ``LbTot'' in stats page

2009-03-19 Thread Sun Yijiang
Raised the limit and restarted HAProxy. No down time or limit reaching, but LbTot is still only about 15% of Total sessions. Any possible reason for this? 2009/3/18 Sun Yijiang > Backend servers were down about 2 hours during the 37 hour up time. > Session limits have been reached for frontend

Re: selinux policy for haproxy

2009-03-19 Thread Jan-Frode Myklebust
On Thu, Mar 19, 2009 at 08:38:36AM +0100, Willy Tarreau wrote: > > believe it or not, I've never experimented at all with selinux. Yea, I wouldn't have guessed it, but you're doing a fine job developing haproxy. I'm really impressed by it! So please keep your focus there :-) > However, > reading

Can Haproxy work as a TCP-multiplexer i.e. combine requests into one connection to a server?

2009-03-19 Thread Malcolm Turnbull
Possibly a stupid question but: Can Haproxy work as a TCP-multiplexer i.e. combine requests into one connection to a server? Or would that be related to using keep-alive? -- Regards, Malcolm Turnbull. Loadbalancer.org Ltd. Phone: +44 (0)870 443 8779 http://www.loadbalancer.org/

Re: no logging with syslogd under FreeBSD

2009-03-19 Thread James Satterfield
Your ps output shows that syslogd is not running with the flags you've defined in your rc.conf. It's still running in secure ( -s ) mode. Also using "-b 127.0.0.1" would likely be preferred over "-a 127.0.0.1/32" James. On Mar 11, 2009, at 1:39 AM, Weschmann Michael wrote: Hi, I found the

Re: The gap between ``Total'' and ``LbTot'' in stats page

2009-03-19 Thread James Satterfield
Are you using cookies to maintain client to server persistence? James. On Mar 19, 2009, at 1:16 AM, Sun Yijiang wrote: Raised the limit and restarted HAProxy. No down time or limit reaching, but LbTot is still only about 15% of Total sessions. Any possible reason for this? 2009/3/18 Sun

Re: The gap between ``Total'' and ``LbTot'' in stats page

2009-03-19 Thread Sun Yijiang
All our backend servers share cookie info from one memcached server, so we don't use HAProxy to handle any cookie stuff. 2009/3/20 James Satterfield > Are you using cookies to maintain client to server persistence? > James. > > On Mar 19, 2009, at 1:16 AM, Sun Yijiang wrote: > > Raised the limit

Re: haproxy + memcached

2009-03-19 Thread James Satterfield
The client should be using a hash to determine which memcached to use for a given key. You should not be attempting to load balance memcached nodes. See http://code.google.com/p/memcached/wiki/FAQ#Cluster_Architecture_Questions for explanations. James. On Mar 4, 2009, at 11:12 PM, Joseph H

Re: The gap between ``Total'' and ``LbTot'' in stats page

2009-03-19 Thread James Satterfield
I just recently upgraded my LBs to 1.3.15.8 from 1.2.something and noticed those stats. I was wondering about them as well. In my setup those numbers only seem to differ where I'm using cookies for persistence. James. On Mar 19, 2009, at 10:35 PM, Sun Yijiang wrote: All our backend server