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

ShokoServer gets "stuck" and needs to be restarted #1227

Open
Rand-Random opened this issue Feb 14, 2025 · 8 comments
Open

ShokoServer gets "stuck" and needs to be restarted #1227

Rand-Random opened this issue Feb 14, 2025 · 8 comments
Assignees

Comments

@Rand-Random
Copy link

Rand-Random commented Feb 14, 2025

I do believe it is related to the changes of those commits
06d923d
5c5b5b1

and that this line simply calls .Result and there for also blocks

var rawResponse = Handler.SendDirectly(Command, UseUnicode).Result;

The time frame of the commit seem to match when I noticed the issue at first, though I couldn't say it for sure.

I could offer a memory dump for further analysis, but it is ~3 GBs in size, zipped still ~600 MBs, 7zip manages to lower it to 200 MBs, but still to big to attach it here. If you need/want it, you would need to tell me how I could share it.

@da3dsoul
Copy link
Member

Yes, I want it. Can you make a torrent and DM me the torrent file on discord? That's just the most obvious way I can think of. At 200MB, you can upload it in shoko's discord with our nitro tier, as well

@Rand-Random
Copy link
Author

Rand-Random commented Feb 15, 2025

Update:

I never bothered to check if non queue related API calls still function normally, while the queue is stuck.
so while the queue is stuck:

Image

Note the timestamp of 18:45 (6:45 pm) and as of writing it is 20:55 (8:55 pm)

I can still navigate through the web ui, just fine.
e.g. I can open collection tab, open a series, look at the episodes and so on.

Therefor I want to clarify only the queue is stuck.
Maybe only queue items related to fetching data from AniDb?

Just in case here the logs from today.

2025-02-15.log

The Clear All function only clears the non-running item, and the running item blocks any incoming item.

Image

Btw, when I said "restart" shokoserver - I meant I need to kill the process, using tray icon to shut it down keeps the process running in the background.

@da3dsoul
Copy link
Member

I probably just pushed the fixed

@da3dsoul
Copy link
Member

@Rand-Random can you verify (keep an eye on it and report back) that this is fixed?

@Rand-Random
Copy link
Author

@da3dsoul
Yes, I am planning to, though it will take some time. Currently not at home, to check things out. (for about another week)

@Rand-Random
Copy link
Author

Got the error again, but not daily as I used to.

Currently running shoko from within visual studio code, when I figured out what is going on I will report back, for now feel free to ignore the issue.

@da3dsoul
Copy link
Member

We have someone else reporting a similar issue, but he's so all over the place that I don't even know if it's an issue or the setup. Keep me posted!

@revam
Copy link
Member

revam commented Feb 28, 2025

It happened to me yesterday but i forgot to do a trace dump (like i promised).

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

No branches or pull requests

4 participants