Linux System became hang-up


 
Thread Tools Search this Thread
Operating Systems Linux Linux System became hang-up
# 1  
Old 06-14-2010
Linux System became hang-up

Hi all,

I am working on Red hat Linux 2.6 and I am trying to compile some java files and when I am trying to do it,it compiles some file and then became hang up and doesn't allow me to do any operation..

I write one ksh script to compile all files by this script and move those file in specific directory.Output of this script is--
Code:
*** Compiling Java files in /abie/dev/common/src
/abie/dev/common
* Looking for Java files in src
* Looking for Java files in src/com
* Looking for Java files in src/com/app
* Looking for Java files in src/com/app/local
* Looking for Java files in src/com/app/local/rbs
    Compiling /abie/dev/common/src/com/app/local/rbs/*.java
        javac -encoding 8859_1 -d /abie/dev/Linux *.java
/abie/dev/common/src/com/app/local/subdev/jar/test.java:532: warning:  sun.awt.image.ByteArrayImageSource is Sun proprietary API and may be  removed in a future release
				return new ByteArrayImageSource(buf);
				           ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

* Looking for Java files in src/com/app/local/rbs/Lbx
* Looking for Java files in src/com/app/local/uasb
* Looking for Java files in src/com/app/local/svrc
    Compiling /abie/dev/common/src/com/app/local/svrc/*.java
        javac -encoding 8859_1 -d /abie/dev/Linux *.java

after that system became hang and unable to do anything.

Can anyone please tell me why it is became hang and how can I resolve it.

Thanks in Advance..

Last edited by Franklin52; 06-14-2010 at 06:23 AM.. Reason: Please use code tags!
# 2  
Old 06-14-2010
Hi,
I'm not a Java expert, but it looks like you need to check these errors:
Code:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

When your system hangs, can open a remote (ssh) session from another system?
System can hang for several reasons, memory, resources, hard disk, or your system is just busy compiling your Java programs. I'd also like to suggest that you post your system details, like memory, Redhat version and release
Code:
uname -a
cat /etc/redhat-release

Your java version may also helpful. You also try running top on another terminal while you are try to compile your Java code.

HTH,
Nitin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies

2. BSD

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies

3. Red Hat

Server Hang in Linux RHEL 5.5

Dear All , One of our Oracle Database Server , which got hanged a couple of days before , so that we could not login to the Server , but it was pinging. So we tried various options and at last we did a reboot of this server. To find out the root cause of the Server Hang , when i checked the... (2 Replies)
Discussion started by: jegaraman
2 Replies

4. Programming

A system hang issue in porting an old fs to kernel 2.6.32.*

Hi, I ported a file system from Kernel version 2.6.18.* to 2.6.32.46 as VFS implementation has changed and prepare_write/commit_write are replaced by write_begin/write_end pairs. Implemented the feature by writing a wrapper for write_begin and write_end and calling original functions for... (0 Replies)
Discussion started by: Praveen_218
0 Replies

5. Shell Programming and Scripting

how do i avoid system hang due to ssh in script?

I have a script that collects data from about 200 servers using 'ssh'. The problem is that, process sometime hangs at some point stopping the execution of the script. Please give me some idea how can I force the execution to jump to the next step if there arises any problem !! Thanks for replies if... (1 Reply)
Discussion started by: mdangol
1 Replies

6. Shell Programming and Scripting

Hang in linux

Hi guys sorry for my English I am from GREECE and I speak from translator.I have in my school work to hang the program I've done is this encounter the problems is that the meter that I have put on the mistakes does not work (I have not stated anywhere lathi = 0, not to reset the meter at each of... (1 Reply)
Discussion started by: soula
1 Replies

7. Red Hat

system hang

Hello, I am having a HP proliant 350 G3 sever installed wih RedHat linux 9.0 when I enterd using any user(Except root) the server hanged after few seconds, also the folder icons are blacked out and the names of the folder icons are disapper. can any body help me. Ajay (1 Reply)
Discussion started by: ajay234
1 Replies

8. UNIX for Dummies Questions & Answers

Hang linux server :(

All greetings:) I had problem: hangs linux a server, and hangs always on miscellaneous and at various times, for example, can stand about one week, and can and in some minutes after reboot. Tried on a server to put windows 2003, with him problems do not arise. What could it be?:) I from... (4 Replies)
Discussion started by: SDaniel
4 Replies

9. Linux

Help for Linux hang up

Hi everybody, i need help regarding my Linux start up.I was trying to configure internet connection with my Red Hat in order to use for Internet,but of no avail and I think I have changed one parameter to activate device during computer start up. Now the problem is during start up and... (1 Reply)
Discussion started by: andysastre
1 Replies

10. UNIX for Dummies Questions & Answers

System hang in New Kernel.

Im having a problem, Any want know why after ive upgrade from Linux 7.0 to 7.1 ( 2.4.2-2 ) My mouse is having problem. If i drag a content in my Desktop let say an icon suddently the mouse stops moving ( Hang / freeze ) i need to do a hard reboot everytime to make it comes to normal. If... (4 Replies)
Discussion started by: killerserv
4 Replies
Login or Register to Ask a Question