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

[Bug]: 1.19.2 Server Crash on startup #634

Open
5 tasks done
ReidArsenault opened this issue Oct 9, 2024 · 0 comments
Open
5 tasks done

[Bug]: 1.19.2 Server Crash on startup #634

ReidArsenault opened this issue Oct 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ReidArsenault
Copy link

Bug Description

When the server runs its startup it always crashes right before the server would usually begin with the following error message.

terminate called after throwing an instance of 'std::system_error'
  what():  Resource temporarily unavailable
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3633b98898, pid=1, tid=134
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.11+9 (17.0.11+9) (build 17.0.11+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (17.0.11+9, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libc.so.6+0x28898]  abort+0x178
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/container/core.1)
#
# An error report file with more information is saved as:
# /home/container/hs_err_pid1.log

[os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.

[os,thread] Failed to start the native thread for java.lang.Thread "IO-Worker-18"

[os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.

[os,thread] Failed to start the native thread for java.lang.Thread "IO-Worker-19"
[01:58:17] [IO-Worker-16/ERROR]: Caught exception in thread Thread[IO-Worker-16,8,main]
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
	at java.lang.Thread.start0(Native Method) ~[?:?]
	at java.lang.Thread.start(Thread.java:809) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1013) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1150) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:840) [?:?]
#

I see that it mentions a possible memory or resource limit, but this isn't a locally hosted server and should be running on 9 CPUs with 12gb of RAM. Additionally the mod works fine on client.

How to Reproduce?

No response

Expected Behavior

I expected the server to begin with little to no issue.

Version

Tested with 1.12.7 and 1.12.6

Mod Loader Version

1.19.2 -- 0.14.21

Mod Loader

No response

Logs or additional context

No response

Code of Conduct

  • I have searched the issue tracker and confirmed that the issue has not been reported
  • I have checked the FAQ (if one is present) and my issue is not listed
  • I have verified that I am using the latest version of the mod
  • I have verified that I have installed all the required dependencies for the mod
  • I have verified that I do not have Optifine installed. We will close issues if we detect Optifine is in your pack. We cannot fix Optifine issues. Please do not report issues with Optifine present.
@ReidArsenault ReidArsenault added the bug Something isn't working label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant