«   2018/09   »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
Archives
Today
270
Total
1,153,491
안정적인 DNS서비스 DNSEver
관리 메뉴

Blue Breeze

HAProxy Multi Process Warning 본문

Server Side/HAProxy

HAProxy Multi Process Warning

푸른바람 C/H 2017.05.01 08:30

$ service haproxy check

$ service haproxy check
/etc/init.d/haproxy: line 26: [: =: unary operator expected
[WARNING] 117/112607 (19530) : stats socket will not work as expected in multi-process mode (nbproc > 1), you should force process binding globally using 'stats bind-process' or per socket using the 'process' attribute.
[WARNING] 117/112607 (19530) : Proxy 'frontend_domain1': in multi-process mode, stats will be limited to process assigned to the current request.
[WARNING] 117/112607 (19530) : Proxy 'frontend_domain1.81': in multi-process mode, stats will be limited to process assigned to the current request.
[WARNING] 117/112607 (19530) : Proxy 'backend_server': in multi-process mode, stats will be limited to process assigned to the current request.
Configuration file is valid

in multi-process mode, stats will be limited to process assigned to the current request.

Soution:

global
        nbproc     4               # 실행 프로세스 수
frontend frontend_domain1
        bind-process    1 # append

frontend  frontend_domain1.81
        bind-process    1 # append

backend backend_server
        bind-process    1 # append

Remove nbproc, bind-process

global
        #nbproc     4               # 실행 프로세스 수
frontend frontend_domain1
        #bind-process    1 # append

frontend  frontend_domain1.81
        #bind-process    1 # append

backend backend_server
        #bind-process    1 # append


'Server Side > HAProxy' 카테고리의 다른 글

HAProxy Mysql 'Reading initial communication packet'  (0) 2017.05.12
HAProxy MySQL replication, cluster  (0) 2017.05.10
HAProxy COMODO Wildcard SSL  (0) 2017.05.08
HAProxy Stats Scoket Path Error  (0) 2017.05.02
HAProxy Multi Process Warning  (0) 2017.05.01
HAProxy Install  (0) 2017.04.28
0 Comments
댓글쓰기 폼