Lighttpd

From Wikipedia, the free encyclopedia
Revision as of 10:59, 31 March 2025 by imported>Explicit (Removing link(s) undefined (XFDcloser))
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Lowercase Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters".Template:Main other

lighttpd (prescribed pronunciation: "lighty")[1] is an open-source web server optimized for speed-critical environments while remaining standards-compliant, secure and flexible.Script error: No such module "Unsubst". It was originally written by Jan Kneschke as a proof-of-concept of the c10k problem – how to handle 10,000 connections in parallel on one server,[2] but has gained worldwide popularity.[3] Its name is a portmanteau of "light" and "httpd".

Premise

The low memory footprint (compared to other web servers),[4] small CPU load and speed optimizations[5] make lighttpd suitable for servers that are suffering load problems, or for serving static media separately from dynamic content. lighttpd is free and open-source software and is distributed under the BSD license. It runs natively on Unix-like operating systems, with experimental support for Microsoft Windows.[6]

Application support

lighttpd supports the FastCGI, SCGI and CGI interfaces to external programs, allowing web applications written in any programming language to be used with the server. As a particularly popular language, PHP performance has received special attention. Lighttpd's FastCGI can be configured to support PHP with opcode caches (like APC) properly and efficiently. Additionally, it has received attention from its popularity within the Python, Perl, Ruby and Lua communities. Lighttpd also supports WebDNA, the resilient in-memory database system designed to build database-driven websites. It is a popular web server for the Catalyst and Ruby on Rails web frameworks. Lighttpd does not support ISAPI.

Features

Limitations

  • Versions below 1.4.40 do not officially support sending large files from CGI, FastCGI, or proxies[13] unless X-Sendfile is used. This limitation has been removed in lighttpd 1.4.40.[14]
  • No HTTP/3 support

Usage

Lighttpd was used in the past by several high-traffic websites, including Bloglines, xkcd, Meebo, and YouTube.[15]Template:Better ref needed The Wikimedia Foundation also once ran Lighttpd servers.[16] Due to relatively small size it's often used in embedded devices like GL.iNet and Turris Omnia.

It's also used by git as a HTTP server daemon.

See also

Script error: No such module "Portal".

References

Template:Reflist

Further reading

Template:Refbegin

  • Script error: No such module "citation/CS1".

Template:Refend

External links

Template:Web server software

  1. Script error: No such module "citation/CS1"..
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1"..
  5. Gabriel Kerneis and Juliusz Chroboczek. Are events fast?. PPS technical report, University of Paris 7. 2009.
  6. Script error: No such module "citation/CS1".
  7. Script error: No such module "citation/CS1".
  8. Script error: No such module "citation/CS1".
  9. Lighttpd - Bug #1101: SSI include virtual does not run cgi – lighty labs
  10. Script error: No such module "citation/CS1".
  11. Script error: No such module "citation/CS1".
  12. Script error: No such module "citation/CS1".
  13. Script error: No such module "citation/CS1".
  14. Script error: No such module "citation/CS1".
  15. Script error: No such module "citation/CS1".
  16. Script error: No such module "citation/CS1".