Haproxy core utilization

2015-08-16 Thread Haim Ari
-- Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 [cid:part1.02070805.07060601@startapp.com]

Haproxy 1.5.9 logging

2015-07-14 Thread Haim Ari
Hello, How can log requests only if path begins with /testing I already use acl with path_beg to redirect to a backend. How can i use the same method for logging ? (or any other way for the above) Thank you, Haim

Re: Haproxy 1.5.9 logging

2015-07-19 Thread Haim Ari
Thank you it works. What would be the best way to separate each log type to different log files: 1. Errors 2. testing 3. some other acl... Thanks again On 07/14/2015 03:30 PM, Baptiste wrote: On Tue, Jul 14, 2015 at 10:57 AM, Haim Ari haim@startapp.commailto:haim@startapp.com wrote

Haproxy limiting queue / connections

2016-05-29 Thread Haim Ari
to protect haproxy from such situation ? Thanks Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 [Meet Us at] <http://www.startapp.com/press/#events_press>

RE: redirect rule with multiple conditions

2016-05-05 Thread Haim Ari
auth #stats uri /admin?stats -Original Message- From: Lukas Tribus [mailto:lu...@gmx.net] Sent: Thursday, May 5, 2016 11:00 PM To: Haim Ari <haim@startapp.com>; haproxy@formilux.org Subject: Re: redirect rule with multiple conditions Hi Haim, Am 05.05.2

redirect rule with multiple conditions

2016-05-05 Thread Haim Ari
Hello, I'm trying to set a redirect rule with multiple conditions: Redirect any request unless from ip or path begin with... I tried to set this as a one liner using "or" as I read that AND is implicit. It did not work Then I tried the below which causes any request from the ip to also ge

RE: redirect rule with multiple conditions

2016-05-05 Thread Haim Ari
This does not work either: redirect location http://example.com/going-wild if !do_not_redirect or !cloud_a !cloud_b From: Haim Ari Sent: Thursday, May 5, 2016 10:24 PM To: 'haproxy@formilux.org' <haproxy@formilux.org> Subject: redirect rule with multiple conditions Hello, I'm trying

Re: rewrite URI

2017-07-03 Thread Haim Ari
using path_beg works Thank you From: Jarno Huuskonen <jarno.huusko...@uef.fi> Sent: Thursday, June 15, 2017 7:24 AM To: Haim Ari Cc: haproxy@formilux.org Subject: Re: rewrite URI Hi, On Wed, Jun 14, Haim Ari wrote: > yea, i tried that, does

Haproxy first core 100%

2017-05-25 Thread Haim Ari
Hello, I'll try do describe the issue as clear as possible: We set up an haproxy Cluster on Ubuntu16.04 + pacemaker + corosync We faced an issue where after working for a few hours with single core (the haproxy process was bind to core #1 not #0 - which is handling the IRQ interrupts ) it

Re: Haproxy first core 100%

2017-05-25 Thread Haim Ari
1110052 total Thanks From: Haim Ari Sent: Thursday, May 25, 2017 10:23:18 AM To: haproxy@formilux.org Subject: Haproxy first core 100% Hello, I'll try do describe the issue as clear as possible: We set up an haproxy Cluster on Ubuntu16.04

Re: Haproxy first core 100%

2017-05-29 Thread Haim Ari
lization. I returned the configuration to run on a single core (#1) and will update in case the issue returns Thanks ________ From: Lukas Tribus <lu...@gmx.net> Sent: Thursday, May 25, 2017 7:33 PM To: Haim Ari; haproxy@formilux.org Subject: Re: Haproxy first core

rewrite URI

2017-06-14 Thread Haim Ari
Hello, I'm would like to create an ACL that will rewrite the URI if the URI is "/Test" https://test.example.com/Test Change it to: /Prod https://test.example.com/Prod But At the same time also send it to a specific backend Here is what I've tried but does not seem

Re: rewrite URI

2017-06-14 Thread Haim Ari
yea, i tried that, does not work Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 From: Jin Hu <bixuehu...@gmail.com> Sent: Wednesday, June 14, 2017 1:20 PM To: Haim Ari Cc: haproxy@formilux.org Subject: Re: rewrite URI Hi, I thi

haproxy, rsyslog & max MTU

2017-11-19 Thread Haim Ari
4 HAProxy version 1.7.5-2ppa1~xenial, released 2017/05/27 Current MTU 1500 Thank you Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 [https://www.startapp.com/wp-content/uploads/2017/11/signature-250-1.jpg] <https://goo.gl/R83eLy>

haproxy 1.8 headers ordering issue in logs

2017-12-04 Thread Haim Ari
gs (syslog) rolling back to haproxy 1.7.9 with the same configs solves the problem upgrading again to 1.8 brings back the issue... same goes to 1.9-dev Can you please advise ? Thank you, Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 [https://www.startapp.com/wp-content/uploa

Re: haproxy 1.8 headers ordering issue in logs

2017-12-04 Thread Haim Ari
Hello, You are right, I checked again and found the issue, which was haproxy configuration Running 1.8.1 and it looks ok Thank you for your help Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 From: Christopher Faulet <c

Re: Regexp

2018-07-22 Thread Haim Ari
=98765432.* Thank you Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 From: Aleksandar Lazic Sent: Friday, July 20, 2018 1:03 AM To: Haim Ari Cc: haproxy@formilux.org Subject: Re: Regexp Hi. On 18/07/2018 13:10, Haim Ari wrote: >He

Re: Regexp

2018-07-22 Thread Haim Ari
ok found it, It should be url_reg not path_reg It works now Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 From: Haim Ari Sent: Sunday, July 22, 2018 2:51:41 PM To: Aleksandar Lazic Cc: haproxy@formilux.org Subject: Re: Regexp

Re: Regexp

2018-07-22 Thread Haim Ari
10s minconn 10 maxconn 200 maxqueue 1 slowstart 120s Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367 From: Haim Ari Sent: Sunday, July 22, 2018 2:44:11 PM To: Aleksandar Lazic Cc: haproxy@formilux.org Subject: Re: Regexp Version: HA

Regexp

2018-07-18 Thread Haim Ari
Hello, Trying to set backend by regexp This regexp works outside of haproxy String: /1.0/manage/bu/ca?token=68bf68bf68bf68bf68bf=1212121212=123456789 Regexp: ^\/1\.0\/manage\/bu\/ca\?token=.*.segId=.*=123456789 What is the right syntax for this in haproxy ? Thank you

ppa1~xenial with TLS v1.3 support

2018-09-05 Thread Haim Ari
t. Available polling systems : epoll : pref=300, test result OK poll : pref=200, test result OK select : pref=150, test result OK Total: 3 (3 usable), will use epoll. Available filters : [SPOE] spoe [COMP] compression [TRACE] trace Haim Ari / SysOps Manager M: 972.584563032 / T: 972.722288367

Optimizing haproxy for specific HW

2019-04-14 Thread Haim Ari
Problem: The haproxy is saturated with just a few k of requests while ksoftirqd is at 100% Hardware details: Product Name: PowerEdge R640 2XCPU: Version: Intel(R) Xeon(R) Gold 5115 CPU @ 2.40GHz OS: Ubuntu 18.04.2 Kernel: 4.15.0-46-generic Kernel: nproc 40 Haproxy: haproxy -vv HA-Proxy