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

Taskd hanging #2987

Closed
djmitche opened this issue Oct 31, 2022 · 6 comments
Closed

Taskd hanging #2987

djmitche opened this issue Oct 31, 2022 · 6 comments

Comments

@djmitche
Copy link
Collaborator

The taskd service in freecinc is hanging after only tens of requests are served (sometimes 10 or so, sometimes up to 50).

I have long had a "liveness probe" that checks the TCP port for accessibility, and restarts the container if it fails -- but it takes a while for that to time out, leaving taskd nonresponsive in the interim.

Any advice for debugging this? It's in a container, so I can't use strace to see what the process is up to (no CAP_SYS_PTRACE).

@dgrabla
Copy link

dgrabla commented Nov 10, 2022

I observed this as well. It is a problem I had on my taskd for years. The server is there and pick up the requests, but it does not answer and the clients block till the connection timeouts. The solution that works for me is a periodic restart. I could not trace the issue.

@djmitche
Copy link
Collaborator Author

Thanks! I've started running it on my VPS and I'm now having the same issues. Maybe taskdctl in a crontask will help?

@dgrabla
Copy link

dgrabla commented Nov 10, 2022

While taskdctl is without a doubt better than my horrible 'killall taskd; nohup taskd', it is still a nasty workaround. There must be a reason why the beast hangs.

@djmitche
Copy link
Collaborator Author

Taskd won't be continued.

@dgrabla
Copy link

dgrabla commented Nov 23, 2023

@djmitche Sorry I've not been following the project. Is the recommended way to sync tasks to sync the files themselves? Should be using git to take over the merges? Is taskd 'complete' as as such it will not need maintenance?

@djmitche
Copy link
Collaborator Author

It's been unmaintained for quite a while, and there's a replacement in the works, so it's unlikely this bug will ever be addressed. For the moment, taskd is still the recommended way, with occasional restarts due to hangs and memory leaks.

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

2 participants