Can anyone tell me how can i start lighttpd as root to increase the server.max-fds value ?
According to the lighttpd documentation > http://redmine.lighttpd.net/wiki/lighttpd/Server.max-fdsDetails
also, i don't understand what they means by : Changing this setting requires root permissions on startup ???
Thank you in advance.
Regards.
You always require root permission to open the ports from 1-1024. Default HTTP-port is 80. In your configuration file you need to add server.max-fds = 2048
and restart lighttpd as root (prolly the same way you always did). /etc/init.d/lighttpd restart
in my case.
You can start lighttpd in the background with &-operator from the commandline: lighttpd -D -f configfile &. It works even when you close the shell but I'm using z-shell.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.