Server crashing
Server crashing
Okay, so my server is crashing randomly and the console log says nothing. It is probably some of my plugins but I want to narrow it down to what and where. How should I proceed?
- L'In20Cible
- Project Leader
- Posts: 1533
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Re: Server crashing
First step would be to disable your plugins one-by-one until the crashes stops, then debug the guilty one.
Re: Server crashing
Yeah, I only have one plugin running and since server crash randomly it is hard to just comment out some of the code and wait... Some crash can occur after half an hour. I wonder if there is a different method to make it output something.
Re: Server crashing
Well I figured it out, or more like "so far so good". I was just wondering what you do if you don't have a log.
- L'In20Cible
- Project Leader
- Posts: 1533
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Re: Server crashing
velocity wrote:Well I figured it out, or more like "so far so good". I was just wondering what you do if you don't have a log.
You debug your code by adding debug messages everywhere in an attempt to identify the exact line/context that causes it. There is unfortunately no magic solution.
Return to “General Discussion”
Who is online
Users browsing this forum: No registered users and 11 guests