Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MTRichards opened this issue Oct 23, 2012 · 5 comments
Closed
Labels

Comments

@MTRichards
Copy link
Contributor

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

@nicokaiser
Copy link
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...

@tanghus
Copy link
Contributor

tanghus commented Nov 20, 2012

Related #517

@nicokaiser
Copy link
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...

@blizzz
Copy link
Contributor

blizzz commented Nov 20, 2012

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

@nicokaiser
Copy link
Contributor

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

@lock lock bot locked as resolved and limited conversation to collaborators Aug 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants