Project

General

Profile

Actions

Feature #1233

closed

Lighttpd consumes > 1GB of memory

Added by Anonymous almost 17 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
High
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

I am unable to find anything on limiting the memory usage of lighttpd on a per thread basis. A malicious user (assuming this isn't a lighttpd issue) is uploading a file greater than 1GB to my server. Lighttpd never hands the process off since it's constantly reading the data. A combination of being unable to limit the read timeout (even non-idle connections) and being unable to limit the memory consumption of a single thread is a big issue since the server can easily be crashed unless it is monitored constantly.

-- trucex

Actions #1

Updated by Anonymous over 16 years ago

Actions #2

Updated by gstrauss over 7 years ago

  • Description updated (diff)
  • Status changed from New to Fixed
  • Assignee deleted (jan)
  • Target version changed from 1.5.0 to 1.4.40

Fixed in lighttpd git master. lighttpd will buffer large POST requests to temp files on disk.

To limit the size of POST accepted, see https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_max-request-sizeDetails

Actions

Also available in: Atom