mirror of
https://github.com/coolsnowwolf/luci
synced 2025-01-07 07:06:41 +08:00
update init config (#169)
Haproxy still did not work after haproxy-tcp upgarde to v2.6.6. `[haproxy.main()] FD limit (1024) too low for maxconn=2048/maxsock=4123. Please raise 'ulimit-n' to 4123 or more to avoid any trouble.` Need to comment the `ulimit-n` and `maxconn`.
This commit is contained in:
parent
a11f490c5b
commit
f54e3ac988
@ -24,8 +24,8 @@ start(){
|
||||
daemon #以后台形式运行harpoxy
|
||||
#nbproc 1 #设置进程数量
|
||||
pidfile /var/run/haproxy.pid
|
||||
ulimit-n 1024 #ulimit 的数量限制
|
||||
maxconn 2048 #默认最大连接数,需考虑ulimit-n限制
|
||||
#ulimit-n 1024 #ulimit 的数量限制
|
||||
#maxconn 2048 #默认最大连接数,需考虑ulimit-n限制
|
||||
#chroot /usr/local/haproxy
|
||||
defaults
|
||||
log global
|
||||
|
Loading…
Reference in New Issue
Block a user