Re: undefined symbol: lua_getmetatable in using luasocket

2016-07-18 Thread Cyril Bonté
Hi Sachin, Le 18/07/2016 à 16:16, Sachin Shetty a écrit : (...) However when starting haproxy, I get this error: [ALERT] 199/063903 (7106) : parsing [/home/egnyte/haproxy/conf/haproxy.conf:9] : lua runtime error: error loading module 'socket.core' from file '/usr/local/lib/lua/5.1/socket/core.s

Re: Haproxy with SNI and http2 seperation

2016-07-18 Thread Cyril Bonté
Hi Matthias, Le 18/07/2016 à 10:07, Matthias Fechner a écrit : Dear all, I use haproxy 1.6.7 on a FreeBSD host. I just try to do the following: Check if hostname is domain1 or domain2 or bladomain3 or ... , mark it to send the request to nginx all other requests should go to apache backend.

Re: Max connections in HAProxy

2016-07-18 Thread Cyril Bonté
Hi Zhi Chang, Le 18/07/2016 à 13:30, zhi a écrit : hi all. I have some questions about "max_conn" in HAProxy. First of all, a question about performance in HAProxy. How many connections can the HAProxy taken, in other words, what the max connections in HAProxy? It depends on so much

Re: Host name resolution in IPv6 only entry in /etc/hosts

2016-07-18 Thread Nenad Merdanovic
Dropped ML by mistake On 07/18/2016 11:47 PM, Nenad Merdanovic wrote: > Hello, > > On 07/18/2016 02:41 PM, Albert Casademont wrote: >> Hi! >> >> I was trying to configure am IPv6 only backend using the hostname in >> /etc/hosts and the HAProxy kept failing to initialize. As soon as I put >> an IP

Re: Segmentation fault in 1.6.6

2016-07-18 Thread Pavlos Parissis
On 18/07/2016 04:59 μμ, Michał Łowicki wrote: > Will do but SSL is terminated before reaching HAProxy. Still possible it could > affect us? > I don't think so, but you should use 1.6.7 anyway in order to avoid surprises when you enable SSL. Cheers, Pavlos signature.asc Description: OpenPGP di

Re: Segmentation fault in 1.6.6

2016-07-18 Thread Michał Łowicki
Will do but SSL is terminated before reaching HAProxy. Still possible it could affect us? On Mon, Jul 18, 2016 at 4:55 PM, Pavlos Parissis wrote: > On 18/07/2016 04:17 μμ, Michał Łowicki wrote: > > Hi, > > > > I'm using: > > > > HA-Proxy version 1.6.6 2016/06/26 > > Copyright 2000-2016 W

Re: Segmentation fault in 1.6.6

2016-07-18 Thread Pavlos Parissis
On 18/07/2016 04:17 μμ, Michał Łowicki wrote: > Hi, > > I'm using: > > HA-Proxy version 1.6.6 2016/06/26 > Copyright 2000-2016 Willy Tarreau > > > > on: > > cat /proc/version > Linux version 4.5.0-0.bpo.1-amd64 (debian-ker...@lists.debian.org >

Segmentation fault in 1.6.6

2016-07-18 Thread Michał Łowicki
Hi, I'm using: > HA-Proxy version 1.6.6 2016/06/26 > Copyright 2000-2016 Willy Tarreau on: > cat /proc/version > Linux version 4.5.0-0.bpo.1-amd64 (debian-ker...@lists.debian.org) (gcc > version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Debian 4.5.1-1~bpo8+1 (2016-04-20) and found core dump (using HA

undefined symbol: lua_getmetatable in using luasocket

2016-07-18 Thread Sachin Shetty
Hi, I am trying to load a luasocket script which would make a rest call to a upstream service to determine the backend The script is as follows: ³²" http = require ³socket.http" function choose_backend(txn, arg1) core.log(core.info, "Getting Info:" .. arg1) result, status

Re: gcc 5.4 haproxy lua

2016-07-18 Thread Thomas Heil
Hi, On 15.07.2016 13:23, Thomas Heil wrote: > Hi > > With gcc 5.4 and haproxy 1.6.7 I get the following errors. > > -- > src/hlua.o: In function `hlua_yield': > hlua.c:(.text+0xdd): undefined reference to `lua_yieldk' > src/hlua.o: In function `hlua_hook': > hlua.c:(.text+0x14f): undefined refer

Host name resolution in IPv6 only entry in /etc/hosts

2016-07-18 Thread Albert Casademont
Hi! I was trying to configure am IPv6 only backend using the hostname in /etc/hosts and the HAProxy kept failing to initialize. As soon as I put an IPV4 address for that hostname in /etc/hosts it worked. I have resorted to manualy putting the IPV6 address in the HAProxy config file, but ideally an

Max connections in HAProxy

2016-07-18 Thread zhi
hi all. I have some questions about "max_conn" in HAProxy. First of all, a question about performance in HAProxy. How many connections can the HAProxy taken, in other words, what the max connections in HAProxy? Second question, I have a haproxy configuration file like this: global

rate limiting question

2016-07-18 Thread haproxy
Hello, I have a sticky table for ip checks against high connection rate (for testing purposes it's set now to 3 connections in 10 seconds): frontend lb-useast ... tcp-request content track-sc0 src stick-table type ip size 500k expire 30s store conn_cur,conn_rate(10s),http_req_rate(10s),http

Haproxy with SNI and http2 seperation

2016-07-18 Thread Matthias Fechner
Dear all, I use haproxy 1.6.7 on a FreeBSD host. I just try to do the following: Check if hostname is domain1 or domain2 or bladomain3 or ... , mark it to send the request to nginx all other requests should go to apache backend. Check if client support http2, if yes and nginx acl matches, send