Project

General

Profile

[Solved] Throttle FastCGI backend?

Added by sledz about 6 years ago

We have a special scenario at an embbeded device. A separate process creates media data (up to some hundred MB) and provides them via unix domain socket and CGI to lighty.

Unfortunately the HTTP client is connect using a low bandwidth connection and is not able to consume the data as fast as the providing process sends them.

As a consequence lighty creates files to buffer the data in the tmp filesystem, which is strongly limited in the embedded device. If the temporary buffering increases to much the whole system crashes. :(

Is there any way to throttle the providing process (some kind of flow control)?


    (1-1/1)