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

Too many open files error #413

Closed
yongjiema opened this issue Oct 16, 2018 · 0 comments · Fixed by #430
Closed

Too many open files error #413

yongjiema opened this issue Oct 16, 2018 · 0 comments · Fixed by #430
Labels
help wanted We suggest a careful read at https://docs.neo.org/. However, fell free to further discuss the topic.

Comments

@yongjiema
Copy link
Contributor

The following are the environment details:

OS: Ubuntu 16.04
NEO: 2.9.0.0
Exception:

[ERROR][10/16/2018 09:32:13][Thread 0013][akka://NeoSystem/system/IO-TCP/$DDk] Error while creating actor instance of type Akka.IO.TcpOutgoingConnection with 3 args: (Akka.IO.TcpExt,[akka://NeoSystem/user/$b#1109912809],Connect(remote: 47.105.64.71:10333, local: , timeout: , pullMode: False))
Cause: [akka://NeoSystem/system/IO-TCP/$DDk#1048653710]: Akka.Actor.ActorInitializationException: Exception during creation ---> System.TypeLoadException: Error while creating actor instance of type Akka.IO.TcpOutgoingConnection with 3 args: (Akka.IO.TcpExt,[akka://NeoSystem/user/$b#1109912809],Connect(remote: 47.105.64.71:10333, local: , timeout: , pullMode: False)) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: Too many open files in system
   at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
   at Akka.IO.TcpOutgoingConnection..ctor(TcpExt tcp, IActorRef commander, Connect connect)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at Akka.Actor.Props.ActivatorProducer.Produce()
   at Akka.Actor.Props.NewActor()
   --- End of inner exception stack trace ---
   at Akka.Actor.Props.NewActor()
   at Akka.Actor.ActorCell.CreateNewActorInstance()
   at Akka.Actor.ActorCell.<>c__DisplayClass109_0.<NewActor>b__0()
   at Akka.Actor.ActorCell.UseThreadContext(Action action)
   at Akka.Actor.ActorCell.NewActor()
   at Akka.Actor.ActorCell.Create(Exception failure)
   --- End of inner exception stack trace ---
   at Akka.Actor.ActorCell.Create(Exception failure)
   at Akka.Actor.ActorCell.SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState)
@erikzhang erikzhang added the help wanted We suggest a careful read at https://docs.neo.org/. However, fell free to further discuss the topic. label Oct 16, 2018
@yongjiema yongjiema changed the title Socket leak Too many open files error Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We suggest a careful read at https://docs.neo.org/. However, fell free to further discuss the topic.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants