Questions tagged [lighttpd]

Lighttpd ("lighty") is a fast open source web server, optimised for speed critical environments

Lighttpd (pronounced "lighty") is an open source web server optimised for speed critical environments, which is standards compliant. It attempts to be lower memory footprint, and more CPU efficient than other web servers, and is often simpler to configure. Initially it was targetted at static content, but now it is widely used for both static content and hosting CGI, PHP, Ruby, Python etc code.

More information is available on Wikipedia

596 questions
2
votes
1 answer

CGI Died, error log

I've been getting some 500 internal server errors on my website every so often, so I had a look at the error log. I am using lighttpd with Kloxo (lxadmin) installed. I have xcache enabled. 2011-04-14 04:57:05: (mod_cgi.c.588) cgi died, pid:…
Greatestswordsman
  • 397
  • 1
  • 7
  • 19
2
votes
2 answers

mod_compress not writing anything to the compress folder

I'm using lighttpd with fastcgi, just enabled mod_compress but its not writing anything in the directory that i have set i.e. /tmp/lighttpdcompress/ I've given its ownership to lighttpd and also set 777 permissions. The folder stays empty after I…
gX01
  • 141
  • 6
2
votes
6 answers

Which apache/mysql/php package is best for windows?

I have tried appservnetwork, was the best so far, but I haven't seen them do an update in ages, EasyPHP is just slow to load always. Wamp and Xamp, all put in their description that is not for production. I do not plan to host publicly this site or…
crosenblum
  • 271
  • 1
  • 4
  • 11
2
votes
2 answers

Lighttpd with FastCGI won't create /tmp/fcgi.sock on startup?

I'm running lighttpd-1.4.19 on a debian 5 box and try to run web2py with fastcgi. The problem with that is, that lighttpd does not create the socket file /tmp/fcgi.sock. If I'm creating the file by myself touch /tmp/fcgi.sock lighttpd will start…
Marlon
  • 21
  • 3
2
votes
1 answer

Lighttpd: redirect any request to index.html

I'm trying to send any request to the index.html with lighttpd in order to prevent 404 but I'm not smart enough because either the redirect matches itself or, for calls to subdirs, although the index.html gets served, it is not served from document…
None
  • 121
  • 1
  • 1
  • 2
2
votes
2 answers

lighttpd: Does it still have memory leak and CPU consumption issues?

This page here compares nginx and lighttpd: http://www.wikivs.com/wiki/Lighttpd_vs_nginx There are numerous reports of memory leaks unfixed for years as well as severely worse CPU consumption (2% with nginx compared to 98% with lighttpd). Do these…
user41356
  • 279
  • 1
  • 5
  • 12
2
votes
0 answers

lighttpd + FastCGI + Mono not working with evhost enabled

I've started the migration of a Windows VPS to linode.com, choosing lighttpd over nginx and apache to host some sites built on asp.net mvc, and I'm stuck with what I think is a "document-root" conflict. I'm running lighttpd 1.4.6, Mono 2.8.2 on…
rodrigoi
  • 21
  • 1
2
votes
3 answers

Lighttpd not starting - no error

I recently installed Lighttpd on Ubuntu Server 10.04 x86_64 and created several websites. What I do is include /etc/lighttpd/vhost.d/*.conf and put a configuration file for each website in that directory. The problem I have is when I "service…
Astaar
  • 448
  • 1
  • 8
  • 18
2
votes
2 answers

What would be better in my case - apache, nginx or lighttpd?

I'm writing a PHP site that's expected to get about 200-300 concurrent users browsing it. When initializing the application will load about 30 PHP classes, some 10 maybe 15 images and a couple of css files. So my question is, what else can I do…
tftd
  • 1,498
  • 7
  • 25
  • 40
2
votes
3 answers

View httpd/lighttpd modules that are installed on shared hosting

I don't have access to the httpd.conf file on this shared host, but I wanted to see which modules are enabled/installed. Is there a (easy) way to find out without access to the httpd.conf file? For example, with PHP you can run a file that has…
sdek
  • 165
  • 1
  • 2
  • 8
2
votes
2 answers

lighttpd eating all memory and CPU

So my lighttpd was running fine for more than a year. Two days ago I decided to install Wordpress 3.0.1 (PHP was already in use by other tools). So after some hours of very few hits (i might get 10 unique visitors per day at max), the system almost…
weeheavy
  • 4,089
  • 1
  • 28
  • 41
2
votes
1 answer

Analyzing a loaded lighttpd server serving from NFS

Context: Server is a CentOS 5.2 x86_64 virtual machine with vmxnet3 ifaces, running on VSphere 4.1 on a Nehalem-based server (which is at half cpu and memory capacity according to the VCenter) with a 10 Gb network. Almost nil i/o on the virtual…
David142
  • 353
  • 1
  • 2
  • 9
2
votes
1 answer

How can I debug what's causing lighttpd errors with fastcgi?

I tried enabling mod_fastcgi in my lighttpd server (running on Ubuntu), with the following config (straight from the example in conf-available): fastcgi.server = ( ".php" => (( "bin-path" => "/usr/bin/php-cgi", …
Chris B.
  • 337
  • 1
  • 8
  • 18
2
votes
2 answers

How to optimize mysql databse for serving 1000s of requests at a time?

How to optimize MySQL databse for serving 1000s of requests at a time? For a site like: linksnappy.com Is it possible to configure to separate MySQL servers into one load balancing server? So if one of them is overloaded switch to the next one. Same…
Bilal
2
votes
4 answers

Which web server has better rewrite syntax that closely mimics Apache's?

Since most open source projects include mod_rewrite rules to work with Apache I need to be able to convert them to work with lighttpd or nginx. Which web server allows me to convert the rules exactly to the equivalent from Apache? If both can be…
kovert
  • 437
  • 3
  • 8