Re: haproxy include config

2009-06-15 Thread Timh Bergström
2009/6/15 Holger Just : > > So, after checking with my chief about opensourcing our stuff I can > finally conclude: Yes we can! :) > > You can find the script at http://github.com/finnlabs/haproxy/tree/master > > --Holger > > Nice, that looks interesting! I'll tell you if I ever put it into produc

tcp wierdness with mysql

2009-06-15 Thread Dima Brodsky
Hi, I wonder if anybody has seen this problem with haproxy 1.3.17. We have a mysql server behind an haproxy and about 5% of the queries hang and cause haproxy to time out, i.e. the query returns after 150 seconds. On average the query we are issuing takes 0.1 seconds. If we increase th

Re: haproxy include config

2009-06-15 Thread L. Alberto Giménez
Holger Just wrote: > So, after checking with my chief about opensourcing our stuff I can > finally conclude: Yes we can! :) > > You can find the script at http://github.com/finnlabs/haproxy/tree/master Holger, I don't think I'm going to use your script (mainly because my setup is quite simple to

Tuning Linux for performance

2009-06-15 Thread Ashwani Wason
Willy, In one of the relatively recent posts you mentioned, "The rest is "just" kernel parameter tuning. I'm thinking about writing a tuning guide for 2.6 kernels. I've once again been contacted by a big site this week-end which was dying under load because the sysctls had not been tuned, and that

Re: Stripping some response headers

2009-06-15 Thread Karl Pietri
Holger, Oh awesome. i took a look through earlier but missed that one. Thanks a bunch -Karl On Mon, Jun 15, 2009 at 11:48 AM, Holger Just wrote: > On 15.06.2009 19:24 Uhr, Karl Pietri wrote: > > Due to some strange things we are doing with our logging we have a bunch > > of info in the response

Re: Stripping some response headers

2009-06-15 Thread Holger Just
On 15.06.2009 19:24 Uhr, Karl Pietri wrote: > Due to some strange things we are doing with our logging we have a bunch > of info in the response headers that would be nice to strip out before > sending to the client. Is this possible in haproxy? > > Essentially we are logging things like the user

Stripping some response headers

2009-06-15 Thread Karl Pietri
Due to some strange things we are doing with our logging we have a bunch of info in the response headers that would be nice to strip out before sending to the client. Is this possible in haproxy? Essentially we are logging things like the user_id if logged in by using a custom header X-SS-Userid a

Re: Enforcing SSL for certain pages only, and no SSL for the rest

2009-06-15 Thread Jeremy
(This is with STunnel + HAProxy of course) I guess trying to just do redirects based on ACLs would be a lot simpler than rewriting all the links eh?

Re: haproxy include config

2009-06-15 Thread Holger Just
On 15.06.2009 6:36 Uhr, Timh Bergström wrote: > Hello Holger, > > If nothing else, I would be interested in this script. > > Cheers, > Timh So, after checking with my chief about opensourcing our stuff I can finally conclude: Yes we can! :) You can find the script at http://github.com/finnlabs/

cookie that is inserted always expires on browser exit, can i change that?

2009-06-15 Thread Christian Brennsteiner
dear group, we are trying to bind a session for a very long time to a specific webserver. so a client calls the page the first time gets a server and should remain for as long as possible on this server (even when he stops and restarts the browser) so my question is: is it possible to bind a br