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

Stopping system throws an error #2

Open
kgxsz opened this issue Jan 25, 2016 · 3 comments
Open

Stopping system throws an error #2

kgxsz opened this issue Jan 25, 2016 · 3 comments

Comments

@kgxsz
Copy link

kgxsz commented Jan 25, 2016

Hi,

When I try to stop the system, I'm seeing:

[server-loop] ERROR - increase :queue-size if this happens often
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@293946d9 rejected from java.util.concurrent.ThreadPoolExecutor@743088b[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 465]

This may be related to this issue that I also commented on. Do you have any ideas what might be causing this?

Thanks.

@danielsz
Copy link
Owner

No, I don't know what causes this error, but this occurs only at development time if I'm not mistaken, and I wouldn't worry about it. Interrupted futures have no ill effects on the runtime.

@coyotespike
Copy link

coyotespike commented Sep 20, 2016

More to document than anything else, I'm seeing the same issue - a warning to increase the queue-size, coupled with the notification that the FutureTask has been rejected.

I have confirmed that this only happens when Sente is used with System. It's somewhat more pleasant not to have these warnings but as you say it doesn't seem to break anything.

 [clojure-agent-send-off-pool-0] ERROR - increase :queue-size if this happens often                                                                                
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@3fb8eea3 r
ejected from java.util.concurrent.ThreadPoolExecutor@7865d9df[Terminated, pool size = 0, active 
threads = 0, queued tasks = 0, completed tasks = 155]

As referenced in Sente issue 15.

@danielsz
Copy link
Owner

danielsz commented Sep 21, 2016

This project is way behind in terms of dependencies, and is not going to be maintained further by me. If there are any volunteers to take over, please come forward.
I recommend referring to https://github.com/danielsz/system-websockets for wiring Sente in Clojure projects. No errors on stop, it's maintained, it's more elegant, etc.

Thank you!

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

3 participants