LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-13-2011, 10:45 PM   #1
annihilan
Member
 
Registered: Jul 2008
Posts: 58

Rep: Reputation: 15
Debian server becomes unresponsive while running java.


Kernel version: 2.6.26-2-686
Java version: 1.6.0_0

I'm going to run a full system update, but I doubt that'll work.

What happens is I turn the computer on, log in, start the application with:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

and it will work fine for a while, but then, while we're playing, it'll become unresponsive and crash. I then go over to the physical computer, wake the monitor up by pressing the down arrow, delete the "[[B" that appears, and try to issue the applications stop command to save and close the application. This doesn't work. The computer registers what I type and registers the return, but nothing happens. I switch over to my second console, log in, find the PID of java, and attempt to kill the java process as root. It accepts the command and gives me another line of prompt, but when I switch back to the first console, nothing has happened.

I then switch back and try to issue a shutdown for right now, and it'll get to "Sending processes the SIGTERM signal", and then it waits for them to be killed, but will not progress further than that. I then have to either force the shutdown with the 3-second hold for the power button, or I have to turn off the power bar it's attached to.

Also, if I'm at the prompt and press backspace, which gives me a system beep, it doesn't stop. Instead of one, short beep, I get a never-ending tone, as opposed to the beep.

The computer does run a little hot; It's in a closet and it's kind of crammed, but it's never so hot that you can't handle the computer.


Thanks for any help,
Annihilan
 
Old 03-14-2011, 05:37 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
How much RAM do you have?

When you try to kill the process, do you kill or kill -9? Try kill -9.

Try leaving top running on a TTY and watching the memory usage.
 
Old 03-14-2011, 06:26 PM   #3
annihilan
Member
 
Registered: Jul 2008
Posts: 58

Original Poster
Rep: Reputation: 15
The computer's specs are:
3.2GHz dual-core processor
3.6GB available according to cat /proc/meminfo (4.0GB installed)

I'm not quite familiar with the terminology, so I assume you mean to leave the application running and monitor memory in another console to check for leaks?
How would I monitor memory usage? Is there a utility or is it a command?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What distributuion to use for running Java+Tomcat+Postgresql Server with budget HW n.lindberg Linux - Server 3 02-15-2009 04:41 PM
java proxy server (running on tomcat) t0bias General 0 04-17-2008 08:20 AM
server becomes unresponsive davy2002a Linux - Server 4 11-28-2007 11:42 PM
Touchpad is generally very unresponsive in Debian based distros lumix Linux - Laptop and Netbook 1 07-01-2007 04:47 AM
Firefox Java Plugin Unresponsive aeuzent Linux - Software 4 03-22-2005 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration