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

Library is regularly down #51

Closed
kelson42 opened this issue Feb 3, 2019 · 7 comments
Closed

Library is regularly down #51

kelson42 opened this issue Feb 3, 2019 · 7 comments
Assignees
Labels

Comments

@kelson42
Copy link
Contributor

kelson42 commented Feb 3, 2019

The monitoring of the https service tells me:
The monitor Library (https://library.kiwix.org) is currently DOWN (HTTP 502 - Bad Gateway).

I had a brief look to the error log and it seems the limit is not configured properly.

@florentk
Copy link
Contributor

florentk commented Feb 3, 2019

@kelson42 I have increase the request/second and burst limit

@kelson42
Copy link
Contributor Author

kelson42 commented Feb 6, 2019

@florentk I still get errors, even if this seems to be a bit less. In any case there should not be any global limit, the limits should apply per IP. So we should not have any problem due to the limitation we apply per IP.

@florentk
Copy link
Contributor

florentk commented Feb 6, 2019

@kelson42 I increase the limit by IP from 10 r/s to 20 r/s

@kelson42 kelson42 assigned kelson42 and unassigned florentk Feb 11, 2019
@kelson42
Copy link
Contributor Author

@florentk I had a look a bit to that problem and I really suspect that we deal here with something else (not related to the reverse proxy). At least one problem is that we restart the kiwix-serve one time a day and that with so many ZIM files, it takes time to be again available. See kiwix/kiwix-tools#243. So I think so far there is nothing to do. Thx for configuring/tuning the limit.

@florentk
Copy link
Contributor

florentk commented Feb 15, 2019

@kelson42 I have fixed limit in the image in 6a92598

@florentk florentk reopened this Feb 15, 2019
@kelson42 kelson42 changed the title Library is down a few times per day Library is regularly down May 8, 2019
@kelson42
Copy link
Contributor Author

kelson42 commented May 8, 2019

OK, we still have a problem. Every few days kiwix-serve seems to not answer anymore and the only way to recover is to restart kiwix-serve or the whole "library" Docker container.

@kelson42
Copy link
Contributor Author

kelson42 commented Jun 1, 2019

Seems to be better since 2.0.0 release :) Will close the ticket now an reopen it if necessary.

@kelson42 kelson42 closed this as completed Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants