Defunct Process in Linux

I´m using a Java Stored Procedure to execute a shell in Linux.
Prcedure that calls the java source
PROCEDURE p_wcsmsg (cmd1  IN  VARCHAR2)
AS LANGUAGE JAVA
NAME 'Wcsmsg.execute (java.lang.String)';
Java Source
create or replace and compile java source named wcsmsg as
import java.lang.*;
import java.io.*;
public class Wcsmsg
+{+
public static void execute (String cmd1) throws IOException
+{+
String[] CommandWcsmsg = {"/bin/bash", "-c", cmd1};
Runtime.getRuntime().exec(CommandWcsmsg);
+}+
+}+
Shell:
JAVA_ROOT=/usr/lib/SunJava2-1.4.2/jre
+JCMD="${JAVA_ROOT}/bin/java"+
+$JCMD -cp /bin/wcsmsg/ Wcsmsg+
When that shell is executed, is created a zombie process:
++oracle 16179 0.4 0.0 0 0 ? Z 17:07 0:00 [bash] <defunct>++
That process can´t killed because is a zombie process.
How can I prevent this process becomes a zombie prcess?

When it is modified for this script is displayed the following error
Code
create or replace and compile java source named wcsmsg as
import java.lang.*;
import java.io.*;
public class Wcsmsg
+{+
public static void execute (String cmd1) throws IOException
+{+
String[] CommandWcsmsg = {"/bin/bash", "-c", cmd1};
+try {+
Process process = Runtime.getRuntime().exec(CommandWcsmsg);
process.waitFor();
+}+
+catch(IOException e){+
e.printStackTrace();
+}+
+}+
+}+
Error:
Compilation errors for JAVA SOURCE ANTREF.WCSMSG
Error: Exception java.lang.InterruptedException must be caught, or it must be declared in the throws clause of this method.
Line: 12
Text: process.waitFor();

Similar Messages

  • How to clear Acroread defunct process in Linux?

    Acrobat Reader plugin works fine for first document, but if I close the pdf window and wait ~20 seconds, the Acroread process goes defunct and further attempts to read pdf docs do not display (blank screen). Have tried disabling all other plugins and many extensions. Killing nspluginwrapper manually allows proper pdf reading (for one more doc). This has been going on for a number of Firefox releases.
    ps info:
    11976 ? Sl 0:00 \_ /usr/lib/firefox-7.0.1/plugin-container /usr/lib/nspluginwrapper/plugins/npwrapper.nppdf.so -greomni /usr/lib/firefox-7.0.1/omni.jar 11767 true plugin
    11989 ? S 0:01 \_ /usr/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /opt/Adobe/Reader9/Browser/intellinux/nppdf.so --connection /org/wrapper/NSPlugins/nppdf.so/11976-2
    12000 ? Z 0:01 \_ [acroread] <defunct>
    The question: Is there something that can be done to fix the problem in Firefox or is it purely an Adobe problem?

    I remember this has been a problem since Ubuntu 9.10 (maybe). It seems that Firefox 3.0+ has a non-robust interface with Adobe PDF reader. Chrome doesn't have this problem on Linux. So I guess the problem is in the plug-inn wrapper. I think Firefox team need to fix this problem ASAP.

  • FNDLIBR defunct process on RAC/PCP

    Hi,
    EBS - 12.1.3
    DB - 11.2.0.1
    OS - Redhat Linux
    In one of our client we have RAC with PCP setup.
    We are facing issue of FNDLIBR defunct process on one of our application node.
    [applprod@XXXXXXX ~]$ ps -ef|grep defunct
    applprod 16541 3970  0 00:02 ?        00:00:00 [FNDLIBR] <defunct>
    applprod 16542 3970  0 00:02 ?        00:00:00 [FNDLIBR] <defunct>
    applprod 16544 3970  0 00:02 ?        00:00:00 [FNDLIBR] <defunct>
    applprod 16545 3970  0 00:02 ?        00:00:00 [FNDLIBR] <defunct>
    applprod 23207 23077 0 09:43 pts/1    00:00:00 grepdefunct
    applprod 27286 3970  0 Apr11 ?        00:00:00 [FNDLIBR] <defunct>
    applprod 29654 3970  0 Apr12 ?        00:00:00 [FNDLIBR] <defunct>
    This defunct process get cleared by itself after some time.
    Could you please advise, what causing this process to go into defunct state and get cleared by itself.

    A defunct process, just like a regular process, may be able to keep a file open on the filesystem. If you stop the environment to take a backup, and processes are still left running when the backup starts, the backup is not clean. Doesn't matter if the process is defunct or not. It's the system telling you there is a problem with a process. The bigger picture is that they often go away by themselves, but after what time ? Is it 1 second, 1 minute, 1 hour ... ? The longer, the worse the problem. Some may not go away. In most cases, the explication is that it is a known feature when you stop component X, and you can determine an average time frame in which these processes continue to live, before they are gone.
    FNDLIBR and defunct are know to be a common combination spotted, but they should disappear after some minutes, assuming no requests are still running.

  • Getting Defunct processes while using Oracle iPlanet Web Server 7.0.9 in Solaris 10

    Hi,
    I have installed Oracle iPlanet Web Server 7.0.9 in our Solaris 10. \
    Successfully Configured iPlanet web server using the manual and the application scripts are working fine with this iPlanet webserver.
    Even if the application is working fine, the iPlanet webserver stop responding at a period of time and needs to be restart manually...
    Found that lots of defunct processes(PPID of webservd) are created and these defuncts (zombies) leads to stop the services.
    I am not good in iPlanet webserver configuration settings on the Solaris 10 OS.
    Could anyone help me to fix this issue ?
    Thanks,
    Antony.

    Here is the truss output (last few lines before the application hungs...
    /14:    2516.1065        0.0000 time()                                          = 1428330724
    /49:    2516.1382        0.0001 pollsys(0xFFFFFFFF71E3FB40, 1, 0xFFFFFFFF71E3FA80, 0x00000000) = 0
    /49:    2516.1386        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /49:    2516.1389        0.0000 lwp_kill(66, SIG#0)                             Err#3 ESRCH
    /49:    2516.1412        0.0022 munmap(0xFFFFFFFF70D00000, 262144)              = 0
    /49:    2516.1413        0.0000 lwp_exit()
    /39:    2516.1553        0.0000 pollsys(0xFFFFFFFF7283FB40, 1, 0xFFFFFFFF7283FA80, 0x00000000) = 0
    /39:    2516.1557        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /39:    2516.1559        0.0000 lwp_kill(75, SIG#0)                             Err#3 ESRCH
    /39:    2516.1561        0.0001 munmap(0xFFFFFFFF70400000, 262144)              = 0
    /39:    2516.1562        0.0000 lwp_exit()
    /25:    2516.1614        0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0)                 Err#62 ETIME
    /16:    2516.1671        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /35:    2516.2558        0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0)                 Err#62 ETIME
    /16:    2516.2673        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2516.3675        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /36:    2516.4317        0.0000 lwp_park(0xFFFFFFFF72CFBE60, 0)                 Err#62 ETIME
    /15:    2516.4505        0.0000 lwp_park(0xFFFFFFFF7613F9D0, 0)                 Err#62 ETIME
    /16:    2516.4677        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2516.5679        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /27:    2516.6533        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7383FD20, 0x00000000) = 0
    /16:    2516.6681        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /1:     2516.7105        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7FFFA6A0, 0x00000000) = 0
    /16:    2516.7684        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /34:    2516.8137        0.0000 lwp_park(0xFFFFFFFF730FBA70, 0)                 Err#62 ETIME
    /16:    2516.8685        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2516.9686        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2517.0688        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /14:    2517.1057        0.0001 pollsys(0x00000000, 0, 0xFFFFFFFF744FBDA0, 0x00000000) = 0
    /14:    2517.1061        0.0000 time()                                          = 1428330725
    /25:    2517.1618        0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0)                 Err#62 ETIME
    /16:    2517.1691        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /35:    2517.2561        0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0)                 Err#62 ETIME
    /16:    2517.2693        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2517.3695        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /36:    lwp_park(0xFFFFFFFF72CFBE60, 0) (sleeping...)
    /15:    lwp_park(0xFFFFFFFF7613F9D0, 0) (sleeping...)
    /16:    2517.4696        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /54:    2517.5362        0.0000 pollsys(0xFFFFFFFF7193FB40, 1, 0xFFFFFFFF7193FA80, 0x00000000) = 0
    /54:    2517.5364        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /54:    2517.5367        0.0000 lwp_kill(53, SIG#0)                             Err#3 ESRCH
    /54:    2517.5368        0.0001 munmap(0xFFFFFFFF71A00000, 262144)              = 0
    /54:    2517.5369        0.0000 lwp_exit()
    /16:    2517.5697        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /27:    pollsys(0x00000000, 0, 0xFFFFFFFF7383FD20, 0x00000000) (sleeping...)
    /16:    2517.6699        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /1:     2517.7106        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7FFFA6A0, 0x00000000) = 0
    /1:     2517.7111        0.0001 close(26)                                       = 0
    /1:     2517.7113        0.0000 write(24, " 8", 1)                              = 1
    /1:     2517.7115        0.0000 close(23)                                       = 0
    /1:     2517.7116        0.0000 close(24)                                       = 0
    /1:     2517.7118        0.0000 lwp_unpark(25)                                  = 0
    /25:    2517.7118        0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0)                 = 0
    /1:     2517.7120        0.0000 lwp_unpark(35)                                  = 0
    /35:    2517.7120        0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0)                 = 0
    /25:    2517.7121        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /25:    2517.7122        0.0000 lwp_kill(61, SIG#0)                             Err#3 ESRCH
    /35:    2517.7123        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /25:    2517.7124        0.0001 munmap(0xFFFFFFFF71200000, 262144)              = 0
    /25:    2517.7125        0.0000 lwp_exit()
    /1:     2517.7126        0.0000 lwp_wait(25, 0xFFFFFFFF7FFFA47C)                = 0
    /35:    2517.7127        0.0000 lwp_kill(52, SIG#0)                             Err#3 ESRCH
    /35:    2517.7128        0.0001 munmap(0xFFFFFFFF71B00000, 262144)              = 0
    /35:    2517.7129        0.0000 lwp_unpark(1)                                   = 0
    /1:     2517.7129        0.0000 lwp_park(0x00000000, 0)                         = 0
    /35:    2517.7130        0.0000 lwp_exit()
    /1:     2517.7132        0.0000 lwp_wait(35, 0xFFFFFFFF7FFFA47C)                = 0
    /1:     2517.7134        0.0000 close(13)                                       = 0
    /16:    2517.7700        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /34:    2517.8141        0.0000 lwp_park(0xFFFFFFFF730FBA70, 0)                 Err#62 ETIME
    /16:    2517.8702        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2517.9704        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /22:    2517.9743        0.0001 pollsys(0xFFFFFFFF73F3FA98, 1, 0xFFFFFFFF73F3F9D0, 0x00000000) = 0
    /16:    2518.0706        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /14:    2518.1063        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF744FBDA0, 0x00000000) = 0
    /14:    2518.1073        0.0000 time()                                          = 1428330726
    /1:     2518.1082        0.0000 lseek(1, 0, SEEK_CUR)                           = 0
    /1:     2518.1083        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1085        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1093        0.0000 lseek(1, 0, SEEK_CUR)                           = 0
    /1:     2518.1094        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1095        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1102        0.0000 _exit(0)

  • How to decrease the spamming defunct processes by run_service.sh script

    Hi
    I am running OWB applications.
    I got a alert showing defunct process are incresed to 40 by the script run_services.sh and now they are increased to 68
    -rwxrwxr-x 1 oracle dba 1473 Mar 28 2005 run_service.sh
    /opt/oracle/products/OWB/owb/bin/unix/run_service.sh -a
    is spamming the defunct process
    How can i terminate those defunct processes
    Please do needful
    Thank you
    Tokala

    Thanks and
    I need to kill all 58 defunct process
    Is there any awk program to kill all defunct process
    Tokala

  • defunct process when stop and start web server

    Dear all,
    I am using Sun One Web Server 6.1 SP6. When i try to stop and then start the web server. The <defunct> process is generated (his parent PID points to webservd).
    The following is the result:
    1st stop and start the web server (defunct process is generated)
    2nd stop and start the web server (defunct process disappears)
    3rd stop and start the web server(defunct process is generated)
    4th stop and start the web server (defunct process disappears)
    Here is my magnus.conf
    ServerID www
    ServerName www.abc.edu.hk
    ErrorLog /i03_01/SUNWwbsvr616/https-www/logs/errors
    PidLog /i03_01/SUNWwbsvr616/https-www/logs/pid
    User nobody
    DNS off
    Security off
    ClientLanguage en
    AdminLanguage en
    DefaultLanguage en
    RqThrottle 512
    StackSize 131072
    Init fn="load-modules" funcs="caspreq,caspinit,casptrans" shlib="/i03_01/casp/module/sunos5_optimized/netscape_6.x/nes_casp2.so"
    Init fn="caspinit" casplib="/i03_01/casp/asp-server-3078"
    Init fn="load-modules" funcs="htaccess-init,htaccess-find" shlib="/i03_01/SUNWwbsvr616/plugins/htaccess/htaccess.so"
    Init fn="htaccess-init"
    Init access="/i03_01/SUNWwbsvr616/https-www/logs/access" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length% \"%Req->headers.referer%\" \"%Req->headers.user-agent%\"" fn="flex-init"
    Init fn="load-modules" shlib="/i03_01/SUNWwbsvr616/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"
    TempDir /tmp/https-www-61c30017
    # Load modules for PHP
    Init fn="load-modules" funcs="php4_init,php4_execute,php4_auth_trans" shlib="/i03_01/SUNWwbsvr616/bin/libphp4.so"
    Init fn="php4_init" LateInit="yes" errorString="Failed to initialize PHP!" [php_ini="/i03_01/SUNWwbsvr616/https-www/config/php.ini"]
    # Enable statistics
    Init fn="stats-init" update-interval="5" virtual-servers="100" profiling="yes"
    any ideas? Thank

    - which OS & version are you running into this issue ?
    - By definition, defunct processes (or zombie processes) are processes that have exited prior to it's parent calling a wait() on it to get the return status .
    - couple of things I can think of to narrow down the cause of this issue
    1. disable ASP & php plugins and see if this still causes this issue
    2. try starting the web server with log level to finest and see fi you get any useful information from the server error logs
    hope this helps

  • Run_service.sh script creating defunct processes

    Hi
    I am running OWB applications...
    I got a alert showing defunct process are incresed to 40 by the script
    -rwxrwxr-x 1 oracle dba 1473 Mar 28 2005 run_service.sh
    /opt/oracle/products/OWB/owb/bin/unix/run_service.sh -a
    is spamming the defunct process
    How can i kill those process
    Please do needful
    Thank you
    Tokala

    Is this a "Warehouse Builder" issue? If so, please post your question under Warehouse Builder forum, probably you would get a better response there.

  • About defunct process !

    Does anybody knows about the "defunct process" ?
    In our production sevrer , we are running Oracle 10g in IBM AIX 5.1 unix platform . Our application software is based on the .net .
    Now from last 7 days , our production server creates a lot of "defunct process" which consumes a lot or resource (i think) and r production server's PAGING space goes to 76% above .
    In this moment , anybody plz tell me ,
    why defunct process is created and how can I get rid of this problem ?
    Is the problem is related with the application ?
    Plz reply me ASAP .. ...

    shipon_97 wrote:
    Does anybody knows about the "defunct process" ?
    In our production sevrer , we are running Oracle 10g in IBM AIX 5.1 unix platform . Our application software is based on the .net .
    Now from last 7 days , our production server creates a lot of "defunct process" which consumes a lot or resource (i think) and r production server's PAGING space goes to 76% above .
    In this moment , anybody plz tell me ,
    why defunct process is created and how can I get rid of this problem ?
    Is the problem is related with the application ?
    Plz reply me ASAP .. ...http://www.google.co.in/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=FML&q=defunct+process&btnG=Search&meta=&aq=f&oq=
    HTH
    Aman....

  • Defunct process

    Hi all
    I found a lot of defunct process in one of our solaris server. It is occupying around 95% of the memory.I killed all those defunct processes, but memory is not yet released.Anybody have an idea about how to release that memory without rebooting the system
    Regards
    RPS

    Yup. I believe the "small amount of system memory" that it mentions is in fact the allocation for the exit status.
    You will almost certainly run out of PIDs before you notice the memory consumed by the zombies.
    Heck, I've got a box here I can abuse, let's try it. It's even painfully low on memory, being an Ultra-10 with 192MB and Solaris 10 and I'm logged in with a JDS desktop. "max_nprocs" on this machine is 2922.
    I ran this command:
    # perl -e 'while (1) { $a = fork(); if (!defined $a) {print "Unable to fork.  $! Sleeping.\n" ; sleep 30; exit; } elsif ($a == 0) { $b = 7 ; $b++; exit; } }'
    (The math with $b is just there so that the child does something besides exit, hopefully forcing at least one page allocation that should be returned).
    When it finished, 'prstat' went from 75 processes to 2919 (pretty close to 2922).
    vmstat went crazy during the run (and load was over 50 temporarily), but it settled down.
    0 0 0 413928 34360 0 52 0 0 0 0 0 0 0 0 0 406 979 402 6 4 90
    [job started here...]
    42 0 0 397208 29632 155 3871 117 0 0 0 0 15 0 0 0 440 1058 363 13 46 41
    134 0 0 368048 30256 253 6847 37 335 447 0 237 7 0 0 0 415 1540 324 18 82 0
    [ran a while... and settled down during the 30 second sleep]
    0 0 0 413472 35760 0 52 0 0 0 0 0 0 0 0 0 401 964 249 5 3 92
    0 0 0 413472 35760 0 52 0 0 0 0 0 0 0 0 0 402 984 266 4 3 92
    [parent exits and all the zombies are reaped]
    0 0 0 413800 36736 0 53 0 0 0 0 0 0 0 0 0 402 3267 250 6 16 78
    0 0 0 413888 36984 0 52 0 0 0 0 0 1 0 0 0 406 901 258 4 3 93
    So, yes. A bit of memory was returned. For over 2800 zombies, something on the order of 400 kb was returned on exit. That's about 140 bytes per process.
    'vmstat' isn't necessarily completely accurate and something else on the machine may have affected the output. Assume that the above could be off by 100% or more and it's still not a signifcant amount..
    Darren

  • Problem of executing a process under Linux using Runtime.exec

    Hi, All
    I am having a problem of executing a process under Linux and looking for help.
    I have a simple C program, which just opens a listening port, accept connection request and receive data. What I did is:
    1. I create a script to start this C program
    2. I write a simple java application using Runtime.exec to execute this script
    I can see this C program is started, and it is doing what it supposed to do, opening a listening port, accepting connection request from client and receiving data from client. But if I stop the Java application, then this C program will die when any incoming data or connection request happens. There is nothing wrong with the C program and the script, because if I manually execute this script, everying works fine.
    I am using jre1.4.2_07 and running under Linux fedora 3.0.
    Then I tried similar thing under Windows XP with service pack2, evrything works OK, the C program doesn't die at all.

    Mind reading is not an exact science but I bet that you are not processing either the process stdout or the stderr stream properly. Have you read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html ?

  • Defunct processes

    How do I avoid getting defunct processes when starting weblogic 4.5 on Unix.Thanx

    "kill -9 pid" should do it.
    If it doesn't work then you will get rid of them after rebooting...
    --dejan
    Moses wrote:
    How do I avoid getting defunct processes when starting weblogic 4.5 on Unix.Thanx[dejan_bektchiev.vcf]

  • Solution for defunct processes

    Hi All,
              I am having a problem on how to avoid getting defunct processes when running
              weblogic server 5.1 on Unix.
              All Ideas are welcomed.
              Thanks in advance.
              Regards,
              Swarup
              

    I am not sure which version of Unix are you on? Make sure you have all the
              recommended patches from sun.
              -Narinder
              "Swarup" <[email protected]> wrote in message
              news:3b7bcbc6$[email protected]..
              > Hi All,
              > I am having a problem on how to avoid getting defunct processes when
              running
              > weblogic server 5.1 on Unix.
              >
              > All Ideas are welcomed.
              >
              > Thanks in advance.
              >
              > Regards,
              > Swarup
              >
              >
              

  • Monitor defunct process

    Monitoring defunct process doesn't seem to work
    adding a row in the process monitoring module with
    name pattern "<defunct>"
    doesn't matches any thing (Process count = 0)
    where in fact, there is at least 10 on the host
    how is this module suppose to work?
    thanks

    Hi Phler2,
    Monitoring defunct process doesn't seem to work
    adding a row in the process monitoring module with
    name pattern "<defunct>"
    doesn't matches any thing (Process count = 0)
    where in fact, there is at least 10 on the host
    how is this module suppose to work?I'm don't think the stock Process Monitoring module will pick up a defunct/zombie state. If you're just looking for raw zombie count it's in the SystemMonitor module:
    http://www.halcyoninc.com/products/PlusPack/help/SystemMonitor/HALSolarisSystemAlert-process-h.html
    ...part of PlusPack (free 30-day eval):
    http://www.halcyoninc.com/products/PlusPack/index.php
    Regards,
    [email protected]
    http://www.HalcyonInc.com

  • Process in Linux

    Hello, I am interesting in know what process start up the Oracle WebLogic Server(the admin_server and any managed server) and componentes(OHS, WebCache, etc) in Linux and the specific command to see this process.
    thanks any reply

    try:
    ps -fe | grep "username used to run your WL"
    You'll get lines something like:
    userid ### ### date process
    example:
    ps -fe | grep weblogic
    -- This is the command used to start node manager
    weblogic 26080 1 0 Aug19 ? 00:00:00 /bin/sh ./startNodeManager.sh
    --- This is the node manager process - it was started by the command above ( 26080 )
    weblogic 26103 26080 0 Aug19 ? 00:00:39 /opt/oracle/bea/jdk160_05/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Xverify:none -Djava.security.policy=/opt/oracle/bea/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.nodemanager.javaHome=/opt/oracle/bea/jdk160_05 weblogic.NodeManager -v
    -- This line shows a weblogic server running; it was started by node manager ( 26103 )
    weblogic 32668 26103 1 Nov02 ? 02:53:12 /opt/oracle/bea/jdk160_05/jre/bin/java -Dweblogic.Name=

  • Auto-start OC4J process after Linux reboot

    Oracle 11gR2, OC4J 10g (10.1.3.5.0), RHEL5 64 bit
    Hi All,
    I am trying to figure out how to get my oc4j process start at boot time. I already have a dbora script setup. I tried adding the following line to my dbora/dbstart script but it did not do anything:
    #!/bin/sh
    # chkconfig: 345 99 10
    description: Oracle auto start-stop script.
    ORACLE_OC4J_HOME=/u02/oc4j
    JAVA_HOME=/usr/java/jdk1.6.0_21/
    su - $ORACLE_OWNER -c "$ORACLE_OC4J_HOME/bin/oc4j -start"
    I read somewhere that I may need to put the entire path like:
    /usr/bin/java -jar /path/to/oc4j.jar &
    Just not sure where and how to put that path in the file.
    Thanks for your help all.
    JrOraDBA

    Hi,
    To run oc4j in the background, on Linux
    Execute the following command:
    nohup ./oc4j -start &
    to run oc4j in the background. The 'nohup' command ignores the hangup signal (closing the terminal window) and enables oc4j to continue running in the background.
    In rare cases, oc4j will not shutdown cleanly with the standard command:
    ./oc4j -shutdown -port 23791 -oc4jadmin <admin_pwd>
    In those cases, try the following command:
    java -jar admin_client.jar deployer:oc4j:localhost oc4jadmin <admin_pwd> -shutdown
    to stop the oc4j service.
    Thanks,
    Sharmela

Maybe you are looking for

  • IMAQ 2.5.1 won't load on top of LabVIEW 6.0.2?

    I'm trying to load IMAQ 2.5.1 onto my machine (laptop with Win2k) which already has IMAQ 2.21, and LabVIEW 6.0.2 (working beautifully, mass compiled and all that jazz). In the middle of the installation it requests the disk with lv60.msi on the LV6 i

  • Problem in WAD: export to PDF all the tab panels of a TabPage

    Hi all, I have a problem with WAD and export to PDF. My template (schema): Group --> Container Barraher --> Button Group Container Form --> Tab Pages --> TabPanel1 --> Container1 --> Analysis1 TabPanel2 --> Container2 --> Analysis2 TabPanel3 --> Cont

  • Import/optimize question

    I'm importing videos shot with my digital camera which takes great HD movies. I notice when I import them into iMovie 11, some of them will come out more grainy than the original. I'm selecting the Optimize video checkbox when importing. Is this what

  • Does apple give support

    my macbook pro and my life have been turned upside down by mavericks. not only was my mac corrupted when i downloaded it origianlly (the apple store redownloaded it 3 further times and then had to resolve to WIPE my machine!!!) but the repercussions

  • Posting date for MB52 and MB58 transactions

    Hi, I want to add posting date on the selection screen of standard transaction MB52 and MB58 for selecting the stocks within the posting period. I want the table name and the field name for the posting date. Helpful answers will be rewarded. Thanks a