Feature #1233
closedLighttpd consumes > 1GB of memory
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
Updated by Anonymous over 17 years ago
You should have a look at:
http://trac.lighttpd.net/trac/wiki/server.max-request-sizeDetails
Updated by gstrauss over 8 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
Also available in: Atom