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

iOS app is making Nextcloud instance site unavailable during upload #883

Closed
doc75 opened this issue Jun 12, 2019 · 2 comments
Closed

iOS app is making Nextcloud instance site unavailable during upload #883

doc75 opened this issue Jun 12, 2019 · 2 comments

Comments

@doc75
Copy link

doc75 commented Jun 12, 2019

Expected behaviour

During upload of photo from the iOS app, the Nextcloud instance site shall be accessible.

Actual behaviour

During upload of photo from the iOS app, the Nextcloud instance site is not accessible, leading to a timeout

Steps to reproduce

  • Upload photo from your iPhone to the Nextcloud instance through the app.
  • Try to connect to the Nextcloud instance site in the meantime (from the same device or from an other one) ==> not possible.

Issue not reproducible when doing the same scenario with Android app or directly from the web browser.

iOS version

12.3

App version

2.23.7.9

Server configuration

Operating system: Host: Ubuntu 18.4 (running Nextcloud, NGINX and traefik in separate docker containers)

Web server: nginx/1.15.12

Database: PostgreSQL 10.8

PHP version: PHP 7.3.5

Nextcloud version: 15.0.8

The only error message I can see related to the iOS app is the one referenced in #783
If you need more information, please let me know.

@doc75
Copy link
Author

doc75 commented Sep 11, 2019

I have not reproduced anymore this situation since I have added a redis to my Nextcloud configuration. Not sure 100% this is the reason, but so far no more issue detected when uploading from iOS app.

@doc75 doc75 closed this as completed Sep 11, 2019
@doc75
Copy link
Author

doc75 commented Oct 12, 2019

I found out what was the issue, therefore I am putting here for reference in case anybody has the same issue.

Indeed, in the nextcloud docker image, the pm.max_children is set to 5 (it is found in /usr/local/etc/php-fpm.d/www.conf).
You can add a file named /usr/local/etc/php-fpm.d/z-local.conf with only the following line;

pm.max_children = 50

And it will work fine (for information the upload of files seems to take 10 children max in my case).

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

No branches or pull requests

1 participant