> --
> You received this message because you are subscribed to the Google Groups "Akka User List" group.
> To post to this group, send email to akka...@googlegroups.com.
> To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
>
>
--
Jonas Bonér
Specialist at Large
work: http://scalablesolutions.se
code: http://akka.io
blog: http://jonasboner.com
twtr: @jboner
Hello akkers,
I've got a really simple project to test out remote actors up on
github: https://github.com/danielglauser/remote-actor-prototype. A
server starts two actors, a client fires off a bunch of messages to
those actors. I keep getting the dreaded
"java.nio.channels.ClosedChannelException: null". I did RTFM and read
about the backlog setting which I do set in my akka.conf file. Any
hints would be appreciated.
Please note I'm building with Gradle (too many issues with SBT)
against Akka 1.0. Instructions are in the README file for the
project.
Let me know if you have any clues.
Thanks,
Daniel
--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
In some use-cases something like at least 4096 is needed I think. 1024
is (sometimes) low default.
>>
>> Please note I'm building with Gradle (too many issues with SBT)
>> against Akka 1.0. Instructions are in the README file for the
>> project.
>>
>> Let me know if you have any clues.
>
> Try 1.1-M1, I've had reports of this problem not occurring there.
If so, great. What fixed it in master?
--
2011/4/27 √iktor Ҡlang <viktor...@gmail.com>:
> Hi Daniel,In some use-cases something like at least 4096 is needed I think. 1024
>
> On Wed, Apr 27, 2011 at 1:58 AM, Daniel Glauser <dangl...@gmail.com>
> wrote:
>>
>> Hello akkers,
>>
>> I've got a really simple project to test out remote actors up on
>> github: https://github.com/danielglauser/remote-actor-prototype. A
>> server starts two actors, a client fires off a bunch of messages to
>> those actors. I keep getting the dreaded
>> "java.nio.channels.ClosedChannelException: null". I did RTFM and read
>> about the backlog setting which I do set in my akka.conf file. Any
>> hints would be appreciated.
>
> What have you set it to?
>
is (sometimes) low default.
If so, great. What fixed it in master?
>>
>> Please note I'm building with Gradle (too many issues with SBT)
>> against Akka 1.0. Instructions are in the README file for the
>> project.
>>
>> Let me know if you have any clues.
>
> Try 1.1-M1, I've had reports of this problem not occurring there.
I missed that. Very cool. You are too productive for your own good.
You gentlemen rock.
After I posted my sample code I swapped out ! for !! and the problem
went away. I'm aware that I will probably want to change that back
over the long term.
I read up for a while on this issue so I changed my backlog value to:
backlog = 4096
I'll give 1.1-M1 a try today. Is that up on a Maven/Ivy server
somewhere or should I build from scratch? If I build from scratch
should I try trunk or specifically 1.1-M1?
Victor, do you have a link to the docs on the execution handler
settings? I took a peek in the code and it looks like you added
http://docs.jboss.org/netty/3.2/api/org/jboss/netty/handler/execution/ExecutionHandler.html
to akka.remote.netty.NettyRemoteSupport.scala.
server {
...
backlog = 4096 # Sets the size of the connection backlog execution-pool-keepalive = 60# Length in akka.time-unit how long core threads will be kept alive if idling execution-pool-size = 16# Size of the core pool of the remote execution unit max-channel-memory-size = 0 # Maximum channel size, 0 for off max-total-memory-size = 0 # Maximum total size of all channels, 0 for off }
One problem I've had previously is I put the setting for the backlog
in my akka.conf file but due to mistakes in the file it wasn't being
loaded. Any thoughts on a rough validator for the conf file?
Thanks for all your help,
1.1-M1 uses scala 2.9.0.RC1 and it's a tag in github,
Your error seems to look like version problems