PRE-RELEASE: lighttpd-1.5.0-r1691.tar.gz 8

Posted by jan Fri, 23 Feb 2007 10:18:00 GMT

A new pre-release on the road to stabilize 1.5.0.

http://www.lighttpd.net/download

Most of the work went into mod-proxy-core and new platforms:

  • m-p-c can handle uploads via APJ13 which required some larger patches
  • we should compile fine on solaris and IRIX again
  • kqueue should work too again
  • we compile natively on win32 (staticly and dynamicly)

The is the first official release that compiles natively on win32. Read the instructions on docs/build-win32.txt if you want to build yourself. It even starts :)

I have to say thanks to all the testers on the IRC channel, to jtiai for the win32 patches and jakabosky for the hard work on mod-proxy-core.

ChangeLog

  • added mod_cgi again
  • added cmake on win32 (static and dynamic)
  • fixed http-chunk decoding
  • fixed several hangs when compression is used
  • fixed invalid Content-Length headers in Range-responses
  • fixed handling of out-of-fds
  • fixed support for Solaris and compilation on IRIX
  • fixed the kqueue event-handler
  • fixed mem-leak in Range requests
  • fixed EFAULT in gthread-aio

lighttpd raises market-share to 0.6% 12

Posted by jan Tue, 06 Feb 2007 00:04:00 GMT

Kiel, Germany. – ... how to start such a press-release ?

According to netcraft’s server-survey Feb’07 lighttpd is now on #6 and has now a market-share of 0.6%. This is more then 700,000 domains which are handled by lighttpd. Last month we were at #12 with 170,000 domains.

image provided by Michael Hayes

Even if I don’t trust this impressive raise I’m none-the-less impressed by it. What comes next ? If we really make it into the top5 for a longer time I will need someone who knows how to write a press-release.

PRE-RELEASE: lighttpd-1.5.0-r1605.tar.gz 15

Posted by jan Sat, 03 Feb 2007 22:50:00 GMT

A lot of changes made it into the svn recently. It is time again to spread the code to more testers than just the few early adaptors who are using the svn-trunk/

Please try out the new stuff around async-io and dynamic compression of content. Even directory-listings are now automaticly compressed. Just load mod_deflate and set
deflate.mimetypes = ( "text/html" )

Download:

updated lighttpd-1.5.0-r1605.tar.gz

ChangeLog (r1605):

  • added check for leading slashes in mod_rewrite
  • improved async-io performance for files between 4k and 16k
  • fixed compression of static files in mod_deflate
  • fixed configure check for the library providing aio_read()
  • fixed moddirlisting, modstaticfile and the internal error-pages for mod_deflate
  • fixed compilation on FreeBSD and MacOS X
ChangeLog (r1593):
  • added O_NOATIME support to the network-backends linux-sendfile and writev
  • added a portable, threaded network-backend based on glib’s gthread
  • added threaded stat()
  • added url.redirect-code to mod_redirect to set other HTTP status-codes than 302
  • added filter-API and mod_chunked and mod_deflate for dynamic compression
  • added a static balancer for mod-proxy-core
  • added $HTTP[“request-method”] and $PHYSICAL[“path”] conditionals
  • fixed X-Sendfile support in mod-proxy-core
  • fixed crash if mtime is 0
  • added cmake as experimental build-system
  • fixed urls in AJP13-protocol of mod-proxy-core
  • added support for “now” and “weeks” to mod-expire
  • added mod-magnet

www.lighttpd.net is moved 3

Posted by jan Sat, 03 Feb 2007 19:50:00 GMT

As you may have noticed, www.lighttpd.net got moved to a new host, sharing the same box as all the other lighttpd.net domains. It is using mephisto as its content-backend to give you the possibility to comment if you want.

I added a first, full benchmark for Async IO and optimal parameters at http://www.lighttpd.net/2007/2/3/raw-io-performance

more threaded io 6

Posted by jan Thu, 01 Feb 2007 12:01:00 GMT

After a long night we finally have everything in place for a threaded stat() calls. Not only that, we also have a new network backend for all those platforms which have problems with the posix-aio on. You need to have glib2-2.6.0 or higher installed.

The new options are:
server.max-stat-threads = 4
server.max-write-threads = 8
server.network-backend = "gthread-aio" 

Depending on the backend, your OS and the number of disks you might want to raise the two values, but keep in mind that you will get problems if you raise them too much. Performance will decrease again at a given point.

The performance of the different backends is: linux-aio-sendfile, posix-aio, gthread-aio, ...

On the way linux-aio-sendfile and posix-aio should behave better under high concurrent load now. They even got some stats:

server.io.linux-aio.async-read: 1261
server.io.linux-aio.sync-read: 551

Time for benchmarks, check my earlier article about lighty-1-5-0-and-linux-aio and try to generate the same set of testfiles and take http_load to generate random load. It is important that you use more files then you can cache in memory.