hey guys, i've a problem the server time out every day, sometimes multiblie times a day. only way to fix is, kill the java process. any solutions for that problem? (Linux) thank you!
New 2013-03-05 04:13:57 [INFO] Read timed out 2013-03-05 04:14:12 [INFO] Read timed out 2013-03-05 04:14:50 [INFO] Read timed out 2013-03-05 04:18:34 [INFO] Connection reset 2013-03-05 04:20:06 [INFO] Read timed out only this all the time, no crashlog
server.properties: http://pastie.org/6404975 plugins: http://pastie.org/6405057 system: http://pastie.org/6405066
When your server does this, get a thread dump. Then pastie that thread dump (it'll be large). On windows, go to the console window and press ctrl break On linux, go to the console window and press ctrl \ Alternately you can get it outputted with the jstack command if you have that available. tschagg
ok im waiting for the next server timeout, and then i post the dump where get the log saved after the jstack command in the root console? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
jstack outputs where you run it. I probably should have mentioned more about using jstack. It's run in its own window (terminal/command prompt) and the usage is: jstack pid where "pid" is the process id of the java process running your server.
ok i got it: http://pastie.org/6411374 i looked at the cpu usage too, it was in 100%, seems like a plugin is overloading the server then. can u find out with that log which plugin does this? or u have a solution to find it out?
PEX crashed your server. This is a known problem with the plugin, and my advice is switching to another plugin.
Pretty much everything is better than crashing. For convenience, bPermissions has a command to import from PEX.
What is your server version? I think the first thing to do is to ensure the plugins are up to date. If you are running 1.4.6 or 1.4.7 then you are running hell-outdated plugins. As far as i can see, the server locked up while mchat was checking permissions from an asynchronous task, which is a no-go by itself. I suggest replacing mchat in this case, whatever you do with PEX. Though using another permission plugin might prevent the locking, asynchronous permission check can still cause arbitrary trouble leading to crashes and whatever, potentially.
thank you so so much guys! i'll try it for a few days the server is now a bit more stable without the mChat. thousand thanks!