Ok, Minecraft crashed on my machine, so I ssh into it this morning, and I find this error:
INFO] Starting Minecraft server on 64.74.97.92:25565
Stacktrace:
Native stacktrace:
mono() [0x4911ea]
mono() [0x4e064f]
mono() [0x41b187]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10060) [0x7fe3e59f8060]
mono() [0x51e838]
[0x40368496]
Debug info from gdb:
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Also memory usage is at 75% and the server isn't even running. How can I find out what's hogging my ram?
Memory Leak
- hakkuo23
- This is my homepage
- Posts: 88
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Aug 05, 2010 5:04 pm
Re: Memory Leak
Here is top:
10060 root 20 0 12.3g 11g 11m S 100 72.2 523:54.65 java
WTF?!?!? Java isn't even running lol
10060 root 20 0 12.3g 11g 11m S 100 72.2 523:54.65 java
WTF?!?!? Java isn't even running lol
Re: Memory Leak
The fact that the error you quoted talks about mono tells me that it was generated by something other than Java, as Java does not use mono. If you're running a server wrapper that requires it, it could be that the wrapper crashed, and Minecraft is still running in the background and no longer being managed.
Definitely try to kill that hog with "kill 10060". If that doesn't work, "kill -9 10060".
Definitely try to kill that hog with "kill 10060". If that doesn't work, "kill -9 10060".
Re: Memory Leak
Ok, that seemed to fix it, but it's still crashing. This is the only error I get
2012-01-07 13:32:58 [INFO] Connection reset
2012-01-07 13:37:09 [INFO] Connection reset
2012-01-07 13:39:08 [INFO] Connection reset
2012-01-07 13:51:29 [INFO] Connection reset
11728 root 20 0 12.2g 1.3g 12m S 100 8.4 27:40.14 java
2012-01-07 13:32:58 [INFO] Connection reset
2012-01-07 13:37:09 [INFO] Connection reset
2012-01-07 13:39:08 [INFO] Connection reset
2012-01-07 13:51:29 [INFO] Connection reset
11728 root 20 0 12.2g 1.3g 12m S 100 8.4 27:40.14 java
Re: Memory Leak
2012-01-07 13:57:11 [SEVERE] Exception in thread "Thread-5"
2012-01-07 13:57:11 [SEVERE] java.util.ConcurrentModificationException
2012-01-07 13:57:11 [SEVERE] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
2012-01-07 13:57:11 [SEVERE] at java.util.HashMap$KeyIterator.next(HashMap.jav
Got that error.
2012-01-07 13:57:11 [SEVERE] java.util.ConcurrentModificationException
2012-01-07 13:57:11 [SEVERE] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
2012-01-07 13:57:11 [SEVERE] at java.util.HashMap$KeyIterator.next(HashMap.jav
Got that error.
Re: Memory Leak
FOUND A FIX (server hasn't crashed in 1hour)
sudo nano /etc/cron.d/php5
# 09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -minde$
It's a bug with php5 in ubuntu oneric.
http://ubuntuforums.org/showthread.php?p=11359503
sudo nano /etc/cron.d/php5
# 09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -minde$
It's a bug with php5 in ubuntu oneric.
http://ubuntuforums.org/showthread.php?p=11359503
Re: Memory Leak
Nevermind lol. Still having the issue.
Re: Memory Leak
PHP should not be involved.
With Java only using 1.3 GB of of its virtual 12.2 GB, you aren't seeing a problem due to memory usage. Your error with java.util.ConcurrentModificationException is likely from a bug in a plugin.
What is your full log information? What is your command line? Did you install the server as we recommend at http://www.nfoservers.com/forums/viewto ... =67&t=5049? Have you stopped using the wrapper and begun running it directly?
With Java only using 1.3 GB of of its virtual 12.2 GB, you aren't seeing a problem due to memory usage. Your error with java.util.ConcurrentModificationException is likely from a bug in a plugin.
What is your full log information? What is your command line? Did you install the server as we recommend at http://www.nfoservers.com/forums/viewto ... =67&t=5049? Have you stopped using the wrapper and begun running it directly?