Hi Guys!

I just posted this message on the lighttpd forums, trying to debug a problem with my webserver. If you have any ideas, please feel free to comment!

--

Hi,

I've been using lighttpd since 2005 with big success. It's great for
serving dynamic content.

Last month I bought a new dedicated for the webserver with following
specs:

* 2xDual Core Opteron AMD Opteron 2212 (2Ghz, 4 cores total)
* 4GB RAM
* RAID 10
* Debian

DB server (running smoothly)

* Dual Core AMD 64 X2 4800+
* 4GB RAM
* RAID 10
* Debian


The site seems to run fine, but I have a problem that is driving me
crazy. Please bear in mind that this problem doesn't happen with Apache
1.3 on the same server.

When the site is running fine, the loads are ok, and the site speed is
fast, lighttpd suddenly stops working (it doesn't crash, but neither
works, the server remains completely idle for 5 or 8 seconds (obviously,
the site stops serving dynamic pages). After that period of time, the
site comes back to normal. This happens every minute or so serving
dynamic pages (static pages are not affected), and I'm so confused
because it also happens with LiteSpeed Web Server with their own
packages. I think LSWS also works using fcgi. I've tried everythig:

- upgraded to lastest version available on lighttpd.net
- using lastest php5 available on debian stable.
- i tried also php4 package with the same results.
- i tried lsws with the same results.
- i tried apache 1.3 with modphp5 and now it's working fine but apache
sucks compared to lighttpd in terms of performance.

Any ideas!?