Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Lighttpd dies at file download WTF?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Lighttpd dies at file download WTF?

NeoonNeoon Community Contributor, Veteran

Hi,

I just bought a nother ramnode to setup my OwnCloud, so everything is working uploaded 90MB files no problem, and download works also. When i uploaded a 300MB file, it works until i download it. When i try to do it memory fills up to 100% and everything dies.

The VPS itself has 128MB Memory, memory_limit is 80MB, post_max_size 3000MB and upload_max_filesitze to 5000MB just to let me upload big files.


Any idea?

Comments

  • How are you downloading it? Through the web server or some tunnelling script? Does the web server crash or simply keep allocating memory?

  • NeoonNeoon Community Contributor, Veteran

    I download it over OwnCloud v6.

  • In that case I'd check whether the problem is with the used software rather than the web server.

  • @Jack said:
    Must be oversold....

    What makes you say that?

  • Mark_RMark_R Member
    edited April 2014

    would it happen if you download a file sized under the 128MB Memory limit?

  • Lighttpd is rather limited.

    You should buy Litespeed if you want to have perfomance/load mitigation. However Litespeed slower/weaker than nginx on most parts.

  • tchentchen Member

    output_buffering=Off setting in php.ini

  • NeoonNeoon Community Contributor, Veteran
    edited April 2014

    @Mark_R it just works

    @tchen dosent help


    When i press download in OwnCloud the memory is filling up, it dosent matter if i press Ok in my browser to download it. Seems like realy a owncloud issue.

    edit: seems like everyfile is gonna load into memory.... any solution to disable that?

  • Add more swap

  • NeoonNeoon Community Contributor, Veteran
    edited April 2014

    @Spencer said:
    Add more swap



    OpenVZ

  • NyrNyr Community Contributor, Veteran

    Nothing to do with you configuration AFAIK.

    This happened on an installation I managed some time ago and it was a bug on ownCloud, it completely crashed PHP.

Sign In or Register to comment.