@@ -4664,4 +4664,91 @@ The default value is 2048. You are advised to change the value to 8192."
4664
4664
- " true"
4665
4665
- " false"
4666
4666
dtype : " string"
4667
+ -
4668
+ name : " lighttpd.server_network_backend"
4669
+ info :
4670
+ desc : " The basic network interface for all platforms at the syscalls read() and write()."
4671
+ get : cat /etc/lighttpd/lighttpd.conf | grep 'server.network-backend' | awk -F '"' '{print $2}'
4672
+ set : sed -i 's/^server.network-backend.*$/server.network-backend="$value"/g' /etc/lighttpd/lighttpd.conf
4673
+ needrestart : " true"
4674
+ type : " discrete"
4675
+ scope :
4676
+ - " sendfile"
4677
+ - " writev"
4678
+ dtype : " string"
4679
+ -
4680
+ name : " lighttpd.server_max_fds"
4681
+ info :
4682
+ desc : " The max fds value for lighttpd."
4683
+ get : cat /etc/lighttpd/lighttpd.conf | grep 'server.max-fds' | awk -F '"' '{print $2}'
4684
+ set : sed -i 's/^server.max-fds.*$/server.max-fds=$value/g' /etc/lighttpd/lighttpd.conf
4685
+ needrestart : " true"
4686
+ type : " discrete"
4687
+ scope :
4688
+ - 510
4689
+ - 5120
4690
+ step : 512
4691
+ dtype : " int"
4692
+ -
4693
+ name : " lighttpd.server_listen_backlog"
4694
+ info :
4695
+ desc : " Listen-backlog is the size of the listen() backlog queue requested when the lighttpd server ask the kernel to listen() on the provided network address."
4696
+ get : cat /etc/lighttpd/lighttpd.conf | grep 'server.listen-backlog' | awk -F '"' '{print $2}'
4697
+ set : sed -i 's/^server.listen-backlog.*$/server.listen-backlog=$value/g' /etc/lighttpd/lighttpd.conf
4698
+ needrestart : " true"
4699
+ type : " discrete"
4700
+ scope :
4701
+ - 128
4702
+ - 2048
4703
+ step : 128
4704
+ dtype : " int"
4705
+ -
4706
+ name : " lighttpd.server_stat_cache_engine"
4707
+ info :
4708
+ desc : " Stat() call caching."
4709
+ get : cat /etc/lighttpd/lighttpd.conf | grep 'server.stat-cache-engine' | awk -F '"' '{print $2}'
4710
+ set : sed -i 's/^server.stat-cache-engine.*$/server.stat-cache-engine="$value"/g' /etc/lighttpd/lighttpd.conf
4711
+ needrestart : " true"
4712
+ type : " discrete"
4713
+ scope :
4714
+ - " disable"
4715
+ - " simple"
4716
+ - " fam"
4717
+ dtype : " string"
4718
+ -
4719
+ name : " lighttpd.server_max_keep_alive_idle"
4720
+ info :
4721
+ desc : " How many seconds to keep a keep-alive connection open, until we consider it idle."
4722
+ get : cat /etc/lighttpd/lighttpd.conf | grep 'server.max-keep-alive-idle' | awk -F '"' '{print $2}'
4723
+ set : sed -i 's/^server.max-keep-alive-idle.*$/server.max-keep-alive-idle=$value/g' /etc/lighttpd/lighttpd.conf
4724
+ needrestart : " true"
4725
+ type : " continuous"
4726
+ scope :
4727
+ - 1
4728
+ - 20
4729
+ dtype : " int"
4730
+ -
4731
+ name : " lighttpd.server_max_read_idle"
4732
+ info :
4733
+ desc : " Time to read from a socket before we consider it idle."
4734
+ get : cat /etc/lighttpd/lighttpd.conf | grep 'server.max-read-idle' | awk -F '"' '{print $2}'
4735
+ set : sed -i 's/^server.max-read-idle.*$/server.max-read-idle=$value/g' /etc/lighttpd/lighttpd.conf
4736
+ needrestart : " true"
4737
+ type : " continuous"
4738
+ scope :
4739
+ - 1
4740
+ - 100
4741
+ dtype : " int"
4742
+ -
4743
+ name : " lighttpd.server_max_write_idle"
4744
+ info :
4745
+ desc : " Time to write from a socket before we consider it idle."
4746
+ get : cat /etc/lighttpd/lighttpd.conf | grep 'server.max-write-idle' | awk -F '"' '{print $2}'
4747
+ set : sed -i 's/^server.max-write-idle.*$/server.max-write-idle=$value/g' /etc/lighttpd/lighttpd.conf
4748
+ needrestart : " true"
4749
+ type : " continuous"
4750
+ scope :
4751
+ - 1
4752
+ - 100
4753
+ dtype : " int"
4667
4754
0 commit comments