Ookla Speedtest.net causing lighttpd and server to crash
Added by cgotstein over 15 years ago
I'm attempting to migrate our current Apache22 server over to lighttpd. One of the resources that is hosted is a speedtest from Ookla that is used on the speedtest.net website (Iron Mountain, MI location). The Ookla scripts are stored on our webserver and the script is php. When i switch over to using lighttpd, the first time a speedtest is run from speedtest.net, it completely locks up the server. I have no control via ssh, ftp or even from the console, i have to manually power off the box and restart. There is nothing in the logs about errors, and i can't tell which process is causing the server to lock. I have contacted Ookla and they aren't aware of any issues with their software, but they also are not familiar with lighttpd. Looking for some insight on how to debug this issue.
OS: FreeBSD 7.2 (64 bit)
lighttpd-1.4.24
php5-5.2.11_1
lighttpd.conf (11.8 KB) lighttpd.conf | lighttpd config |
Replies (4)
RE: Ookla Speedtest.net causing lighttpd and server to crash - Added by stbuehler over 15 years ago
If the server completely locks up it is obviously an operating system issue - and we had more than one report of frozen FreeBSD servers.
RE: Ookla Speedtest.net causing lighttpd and server to crash - Added by cgotstein over 15 years ago
Is there anyway to try and debug it so i can tell what is causing the problem?
RE: Ookla Speedtest.net causing lighttpd and server to crash - Added by nitrox over 15 years ago
maybe this helps, see #1602
and please search the forum first.
RE: Ookla Speedtest.net causing lighttpd and server to crash - Added by cgotstein over 15 years ago
Didn't even think to research as a OS problem with FreeBSD. That opened up a whole bunch more things for me to look at. Here's what i have come up with that has fixed the problem:
server.network-backend = "writev"
server.max-fds = 2048
server.max-keep-alive-requests = 4
server.max-keep-alive-idle = 4
Lighttpd still performs a little slower with the Speedtest site than Apache does, but i'll keep playing with the settings and tweaking to see if i can't get better. Thanks for the help.