Skip to content

Server our of memory error when syncing large file (error log attached) #71

Closed

Description

@MTRichards

Syncing large files doesn't work for me, and it seems to be a server issue. This is a reposted issue, also in the Mirall list as owncloud/client#19

The large (1.4GB) file uploads to ownCloud 4.5 via the 1.1.1 works client just fine (from windows client on windows 7) and I can see the file in the web client, but the same file will not be downloaded to the other desktop clients.

Tried 2 windows 7 machines, and 1 ubuntu 12.04 machine running the ownCloud client.

Log:
[Tue Oct 23 15:04:14 2012] [error] [client 192.168.1.27] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 445646849 bytes) in /srv/www/htdocs/owncloud/3rdparty/Sabre/HTTP/Response.php on line 146
[Tue Oct 23 15:04:15 2012] [error] [client 192.168.1.27] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1317734401 bytes) in /srv/www/htdocs/owncloud/3rdparty/Sabre/HTTP/Response.php on line 146
[Tue Oct 23 15:05:14 2012] [error] [client 192.168.1.14] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 445646849 bytes) in /srv/www/htdocs/owncloud/3rdparty/Sabre/HTTP/Response.php on line 146
[Tue Oct 23 15:05:14 2012] [error] [client 192.168.1.14] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1317734401 bytes) in /srv/www/htdocs/owncloud/3rdparty/Sabre/HTTP/Response.php on line 146
[Tue Oct 23 15:05:19 2012] [error] [client 192.168.1.3] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 445646849 bytes) in /srv/www/htdocs/owncloud/3rdparty/Sabre/HTTP/Response.php on line 146

Activity

  1. nicokaiser commented on Nov 20, 2012

    @nicokaiser
    Contributor

    Same here:

    2012/11/20 09:54:18 [error] 24224#0: _36138 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 781856768 bytes) in /var/www/owncloud.kaiser.me/public/3rdparty/Sabre/HTTP/Response.php on line 146" while reading response header from upstream, client: 80.190.141.50, server: owncloud.kaiser.me, request: "GET https://owncloud.kaiser.me/remote.php/webdav/clientsync/_***********.avi HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "owncloud.kaiser.me"

    Don't know if Sabre supports a streaming interface or if there are other DAV modules. The upload worked somehow...

  2. tanghus commented on Nov 20, 2012

    @tanghus
    Contributor

    Related #517

  3. nicokaiser commented on Nov 20, 2012

    @nicokaiser
    Contributor

    Update: as noted in another ticket, "output_buffering = Off" solves the problem. Maybe this should be either avoided, or described in the installation process...

  4. blizzz commented on Nov 20, 2012

    @blizzz
    Contributor

    Which setting did you have before? On (=unlimited) or a specified buffer size?

  5. nicokaiser commented on Nov 20, 2012

    @nicokaiser
    Contributor

    4096 (I think this is default for Debian php-fpm)

  6. locked as resolved and limited conversation to collaborators on Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions