Hi. Before throwing my question, thanks to everybody for paying attention. Sorry if my english isn't good enough, but it's not my mother tongue.
That's my question:
I have a java program that throws an external program with "Process p = Runtime.getRuntime.exec(***)". The communication between them is by xml files. Mi program writes a file that will be the input of the other, and the other one writes an output file wich my program reads after wait with "p.waitFor()". Both programs are executed in a remote server through an ssh connection.
My problem is, sometimes, my java program freezes. If I take a look to the running process with "ps -l" the result is similar to this:
I'm not looking for someone to solve my whole problem, but if you could give me at least some clues about what does pipe_w means and what could cause it I'd be very grateful.
Thanks a lot.
Edit: I forgot to say that it doesn't happen always. For example, sometimes it fail all the executions over an hour, and sometimes it works fine all day. I don't know if it's about my program, something that it's happening in the server...
Edit again: This is the actual situation. The other one was a "reconstruction" xD
---------- Post updated 20-11-09 at 02:22 AM ---------- Previous update was 19-11-09 at 11:27 AM ----------
I found the problem, thank you. It was a bug in the external program that produced an unfinished loop. I think you can close this thread.
Sorry for the quotes.
Last edited by pludi; 11-19-2009 at 01:32 PM..
Reason: code tags, please...
If you own the processes, run strace. I am guessing you'll see your process waiting on a read from some other process. It is called a deadlock condition.
I've only seen pipe_w in Linux so I'm assuming you are on Linux. Your OS information might help.
Hi,
A database (Oracle) replication process was executed by the DBA team in one server (serverX). However, this replication process gets terminated, and there are no errors in the replication log. But there is error in the OS log files (syslog.log) :
Aug 8 16:51:47 L28dre02 sshd: subsystem... (1 Reply)
UNIX Tutorial Five
% kill %jobnumber
Does that not work on a stopped process? I've tried to kill a stopped process and it is not working. Or do you need a certain type of shell for this to work? I don't see anything about this in my man pages. (3 Replies)
I let a script A call script B.
I used
nohup a.sh &>/tmp/log &
In script A it calls B directly, without any redirecting or nohup or background.
However A is always "Stopped", while B is running correctly. Anybody knows why?
thanks!
-----Post Update-----
BTW, if I don't use nohup... (4 Replies)
I let a script A call script B.
I used
nohup a.sh &>/tmp/log &
In script A it calls B directly, without any redirecting or nohup or background.
However A is always "Stopped", while B is running correctly. Anybody knows why?
thanks!
-----Post Update-----
BTW, if I don't use nohup... (1 Reply)
Hi,
top process is shows like this in solaris server oracle 8i running:
load averages: 5.01, 3.35, 2.82 18:24:45
344 processes: 332 sleeping, 5 running, 2 stopped, 5 on cpu
CPU states: 22.2% idle, 29.6% user, 14.7% kernel, 33.5% iowait, 0.0% swap... (3 Replies)
One of my linux machines has a 'stopped' process which i need to find. How do i find the process that is iin 'stopped' mode. I am running red hat linux enterprise.
Frank
I have now answered this myself with the following command:
ps -e j |grep Z (2 Replies)
When I run the top command, it shows 1 process as being Stopped. This is not a zombie, but simply a stopped process. Unfortunately, I can't figure out how to tell which process this is, nor why it is in a stopped state? Any way of finding this out? (7 Replies)
hi All
my Redhat Linux server stopped responding to pings all together. and am also not able to ping out of the box. There are however no issues with internet connectivity and my application is working fine. When I tried to ping another machine (Win98) i could see the pings coming from my... (2 Replies)