Skip to content
This repository has been archived by the owner on Aug 25, 2019. It is now read-only.

502 Bad Gateway / Raspberry Pi 2 #47

Open
nbrucy opened this issue Dec 29, 2015 · 0 comments
Open

502 Bad Gateway / Raspberry Pi 2 #47

nbrucy opened this issue Dec 29, 2015 · 0 comments

Comments

@nbrucy
Copy link

nbrucy commented Dec 29, 2015

On Raspberry Pi 2, and while synchronising big folder, the owncloud web interface go unreachable with the following error

502 Bad Gateway 

The following is a extract from /var/log/php5-fpm.log :

[29-Dec-2015 13:23:15] WARNING: [pool owncloud] child 25748, script '/var/www/owncloud//index.php' (request: "GET /owncloud/index.php") executing too slow (5.405414 sec), logging
[29-Dec-2015 13:23:15] NOTICE: child 25748 stopped for tracing
[29-Dec-2015 13:23:15] NOTICE: about to trace 25748
[29-Dec-2015 13:23:15] ERROR: failed to ptrace(PEEKDATA) pid 25748: Input/output error (5)
[29-Dec-2015 13:23:15] NOTICE: finished trace of 25748

It seems that I face the problem described here. A solution is to modify /etc/php5/fpm/pool.d/owncloud.conf by commenting the lines :

slowlog = /var/log/nginx/NAMETOCHANGE.slow.log
request_slowlog_timeout = 5

or increasing the value of request_slowlog_timeout

(but it doesn’t seem to work for me, I still get Gateway errors ...)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant