Hi Maciej,

On Fri, Apr 05, 2019 at 01:33:29PM +0200, Maciej Zdeb wrote:
> I think I found something, please look at the session 0x2110edc0 and
> "calls", it never ends:
> 
> socat /run/haproxy/haproxy2.sock - <<< "show sess all"
> 0x2110edc0: [05/Apr/2019:12:03:32.141927] id=14505 proto=tcpv4
> source=S.S.S.S:52414
>   flags=0x4504e, conn_retries=3, srv_conn=0xe2e7fb0, pend_pos=(nil)
> waiting=0
>   frontend=dev_metrics_5044_front (id=1015 mode=tcp), listener=? (id=2)
> addr=B.B.B.B:5044
>   backend=B.B.B.B:5044_back (id=1016 mode=tcp) addr=X.X.X.X:16222
>   server=slot_5_1 (id=34) addr=N.N.N.N:31728
>   task=0x21105f90 (state=0x00 nice=0 calls=-1222180819 exp=<PAST> tmask=0x1
> age=1h6m)
>   si[0]=0x2110f058 (state=EST flags=0x40000 endp0=CS:0x210fe2a0 exp=<NEVER>
> et=0x000 sub=0)
>   si[1]=0x2110f098 (state=EST flags=0x80010 endp1=CS:0x2109eb10 exp=<NEVER>
> et=0x200 sub=0)
>   co0=0x210f8040 ctrl=tcpv4 xprt=RAW mux=PASS data=STRM
> target=LISTENER:0xe25a290
>       flags=0x00283300 fd=2404 fd.state=22 fd.cache=0 updt=0 fd.tmask=0x1
>       cs=0x210fe2a0 csf=0x00000640 ctx=0x210fe2c0
>   co1=0x20d84cb0 ctrl=tcpv4 xprt=RAW mux=PASS data=STRM
> target=SERVER:0xe2e7fb0
>       flags=0x003c3310 fd=1959 fd.state=22 fd.cache=0 updt=0 fd.tmask=0x1
>       cs=0x2109eb10 csf=0x00001000 ctx=(nil)
>   req=0x2110edd0 (f=0x848800 an=0x0 pipe=0 tofwd=-1 total=38767)
>       an_exp=<NEVER> rex=<NEVER> wex=?
>       buf=0x2110edd8 data=0x20e8a7e0 o=15360 p=15360 req.next=0 i=0
> size=16384
>   res=0x2110ee30 (f=0x8004a028 an=0x0 pipe=0 tofwd=0 total=66)
>       an_exp=<NEVER> rex=<NEVER> wex=<NEVER>
>       buf=0x2110ee38 data=(nil) o=0 p=0 rsp.next=0 i=0 size=0
> 0x20eec3f0: [05/Apr/2019:13:18:24.444808] id=29808 proto=unix_stream
> source=unix:2
>   flags=0x8, conn_retries=0, srv_conn=(nil), pend_pos=(nil) waiting=0
>   frontend=GLOBAL (id=0 mode=tcp), listener=? (id=2) addr=unix:2
>   backend=<NONE> (id=-1 mode=-)
>   server=<NONE> (id=-1)
>   task=0x21028880 (state=0x00 nice=-64 calls=1 exp=30s tmask=0x1 age=?)
>   si[0]=0x20eec688 (state=EST flags=0x200008 endp0=CS:0x20cd4600
> exp=<NEVER> et=0x000 sub=1)
>   si[1]=0x20eec6c8 (state=EST flags=0x204018 endp1=APPCTX:0x20cdfe60
> exp=<NEVER> et=0x000 sub=0)
>   co0=0x210af6a0 ctrl=unix_stream xprt=RAW mux=PASS data=STRM
> target=LISTENER:0x11b7d20
>       flags=0x00203306 fd=10 fd.state=25 fd.cache=0 updt=0 fd.tmask=0x1
>       cs=0x20cd4600 csf=0x00000200 ctx=0x20cd4620
>   app1=0x20cdfe60 st0=7 st1=0 st2=3 applet=<CLI> tmask=0x1, nice=-64,
> calls=2, cpu=0, lat=0
>   req=0x20eec400 (f=0xc48202 an=0x0 pipe=0 tofwd=-1 total=14)
>       an_exp=<NEVER> rex=30s wex=<NEVER>
>       buf=0x20eec408 data=0x20e2a530 o=0 p=0 req.next=0 i=0 size=16384
>   res=0x20eec460 (f=0x80008002 an=0x0 pipe=0 tofwd=-1 total=1465)
>       an_exp=<NEVER> rex=<NEVER> wex=<NEVER>
>       buf=0x20eec468 data=0x20d5bbd0 o=1465 p=1465 rsp.next=0 i=0 size=16384
> 

This is indeed very strange. I'm quite interested in seeing the output of
"show fd", as you mentionned you had it.

Thanks !

Olivier

Reply via email to