Project

General

Profile

Actions

Bug #2187

closed

Memory Leak when using redirects in 1.4.19

Added by stefankoegl about 15 years ago. Updated about 15 years ago.

Status:
Invalid
Priority:
High
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:

Description

I'm running fcgi processes with lighttpd 1.4.19 (Ubuntu jaunty).

When using the following redirect rules, memory usage of the fcgi process grows to at least 80% of 2GB total (I've stopped after that, but it seemed to grow further) within 10 minutes.

$HTTP["host"] == "my.gpodder.org" {
    url.redirect = (
       "^/(.*)" => "http://gpodder.net/$1",
       ""       => "http://gpodder.net/" 
    )
}

$HTTP["host"] =~ "^www\.(.*)" {
    url.redirect = (
        "^/(.*)" => "http://%1/$1",
        ""       => "http://%1/" 
    )
}

I expect that nearly 99% of all requests hit the first redirect rule, hardly anything hits the second.

When using only one redirect rule, memory usage keeps growing, too, but a lot more slowly.

Beside of these, no redirect rules (just rewrites) are used and the memory usage of the fcgi process peaks at ~50%

Any hints on which debug information i should provide?

Actions #1

Updated by icy about 15 years ago

  • Status changed from New to Invalid

There is no way this is a bug in lighty.
If the fcgi process leaks memory then it's a bug in that application which we can not do anything about.
Contact the authors of that one.

Actions

Also available in: Atom