-
-
Notifications
You must be signed in to change notification settings - Fork 345
After updating to v0.13.0 /read will not load #467
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
Comments
Hi @stayinside, can you share some more information about your setup, as prompted in the original bug report template? For example, which database are you using? And just to be sure, did you run |
Oh sorry my mistake! |
Same issue for me but there is a strange point:
Maybe the read page lock the sqlite database ? Application configuration
Version or last commit: 0.13.0 (last binary released for linux amd64) PS: I have run |
Thanks for the additional information @stayinside and @DaarkMoon -- I agree it sounds like it could be a read lock on the database. I'll try to replicate and debug more when I'm back from vacation this week. (I'm not sure what changes around the Reader query could've caused this -- it could be the additional |
Describe the bugWritefreely is hanging when clicking on the reader. I'm not sure if crawlers/users are triggering the reader but writefreely is crashing daily since upgrading. I'm not sure if it's related but by the time I get around to restarting writefreely I see "too many open files." I've disabled the reader to see if the instance stays up. Steps to reproduce (if necessary)Steps to reproduce the behavior:
Application configuration
Version or last commit: 0.13.0 |
Fetching posts for the Reader involves an additional query on each row, which previously ran into our connection limit to the database and caused it to lock up. This increases the connection limit from 1 to 2, to allow this. This is meant to be a quick, safe fix, but there could always be a better solution. Fixes #467
I have a similar issue on a fresh 0.13 install (same setup as OP). The site runs fine until I make a first post. Upon which it continues to run fine for 5 minutes or so, but the post never shows up in the /read part and soon after the entire site goes in permanent 504 timeout. |
I have build binary fom branch fix-sqlite-reader-lock and now it's work for me. |
Great! Just merged that fix, and we'll release v0.13.1 later today. |
Uh oh!
There was an error while loading. Please reload this page.
Since updating the reader feed does not load. My reverse proxy sends a 504 and loads just hang on the debug message
[READ] Updating post cache
The text was updated successfully, but these errors were encountered: