Peter, If you can use cookies then don't use session cookies with a stick table - just put the SERVERID in the cookie: i.e. cookie SERVERID insert indirect nocache That will work fine with NBPROC >1
Or if you really want a stick table then move the IRQ to a different core(s) than the HAProxy one. You should be able to get A LOT of traffic through HAProxy on one core if you move the IRQ handling away... On 28 September 2017 at 16:05, Peter Kenens <peter.ken...@gmail.com> wrote: > Thanks, for pointing me to the replacement sequence, however I still seem to > miss an element. > > Whenever I put in my backend > > stick-table type string len 52 size 2m expire 3h > stick on req.cook(JSESSIONID) > stick store-response res.cook(JSESSIONID) > > I have session stickyness as long as nbproc is 1. Whenever I increase this, > I get a warning on "stick on" that this does not work correctly in multi > process mode. Also the documentation says this. What would be the correct > way to achieve this with nbproc > 1? > > Thanks in advance, > Peter >