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

2.0.2版本在centos7服务器上部署就出现这个问题,看不懂 #970

Open
WhiteCjy opened this issue Apr 2, 2024 · 0 comments
Open

Comments

@WhiteCjy
Copy link

WhiteCjy commented Apr 2, 2024

1:45:01.255 [main] INFO c.c.s.SocketIOServer - [startAsync,144] - Session store / pubsub factory used: MemoryStoreFactory (local session store only)
11:45:01.953 [Quartz Scheduler [ScorpioScheduler]] INFO o.q.c.QuartzScheduler - [start,547] - Scheduler ScorpioScheduler_$localhost.localdomain1712029497574 started.
11:45:03.698 [main] ERROR o.s.b.SpringApplication - [reportFailure,837] - Application run failed
java.lang.IllegalStateException: Failed to execute CommandLineRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:798)
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:779)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:322)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
at com.scorpio.ScorpioAdminApplication.main(ScorpioAdminApplication.java:20)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467)
Caused by: java.lang.IllegalStateException: failed to create a child event loop
at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:88)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:58)
at io.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:52)
at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:96)
at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:91)
at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:72)
at io.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:52)
at com.corundumstudio.socketio.SocketIOServer.initGroups(SocketIOServer.java:207)
at com.corundumstudio.socketio.SocketIOServer.startAsync(SocketIOServer.java:145)
at com.corundumstudio.socketio.SocketIOServer.start(SocketIOServer.java:135)
at com.scorpio.ServerRunner.run(ServerRunner.java:27)
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:795)
... 13 common frames omitted
Caused by: io.netty.channel.ChannelException: failed to open a new selector
at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:175)
at io.netty.channel.nio.NioEventLoop.(NioEventLoop.java:142)
at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:146)
at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:37)
at io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:84)
... 24 common frames omitted
Caused by: java.io.IOException: Too many open files
at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
at sun.nio.ch.EPollArrayWrapper.(EPollArrayWrapper.java:130)
at sun.nio.ch.EPollSelectorImpl.(EPollSelectorImpl.java:69)
at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:36)
at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:173)
... 28 common frames omitted
11:45:03.704 [main] INFO o.q.c.QuartzScheduler - [standby,585] - Scheduler ScorpioScheduler
$localhost.localdomain1712029497574 paused.
11:45:04.487 [main] INFO o.q.c.QuartzScheduler - [shutdown,666] - Scheduler ScorpioScheduler
$localhost.localdomain1712029497574 shutting down.
11:45:04.487 [main] INFO o.q.c.QuartzScheduler - [standby,585] - Scheduler ScorpioScheduler
$localhost.localdomain1712029497574 paused.
11:45:04.498 [main] INFO o.q.c.QuartzScheduler - [shutdown,740] - Scheduler ScorpioScheduler
$_localhost.localdomain1712029497574 shutdown complete.
11:45:04.551 [main] INFO sys-user - [shutdownAsyncManager,28] - ====关闭后台任务任务线程池====

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

1 participant