05-03-2011
I'm coming back with my problem.
Quote:
root@gen1445/home/root> ps -ef|grep defunct
root 66686 14450 1 0:00 <defunct>
root 77106 14450 0 0:00 <defunct>
root@gen1445/home/root> ps -ef|grep 14450
root 14450 8046 0 14:52:52 - 0:00 /usr/dt/bin/dtlogin
root 66686 14450 1 0:00 <defunct>
root 77106 14450 0 0:00 <defunct>
root 98148 51824 0 14:56:00 pts/5 0:00 grep 14450
root@gen1445/home/root> /usr/bin/stopsrc -s dtsrc; sleep 3 ; /usr/bin/startsrc -s dtsrc (stop/start of dtlogin)
0513-044 L'arrêt du sous-système dtsrc a été demandé.
0513-059 Le sous-système dtsrc a été démarré. PID du sous-système : 48426.
root@gen1445/home/root> ps -ef|grep defunct
root@gen1445/home/root> date
mar 3 mai 14:58:11 DFT 2011
root@gen1445/home/root> ps -ef|grep defunct
root 47870 51824 0 14:58:17 pts/5 0:00 grep defunct
root@gen1445/home/root> ps -ef|grep defunct
root 63560 51824 0 14:58:26 pts/5 0:00 grep defunct
root@gen1445/home/root> ps -ef|grep defunct
root 102110 48426 1 0:00 <defunct>
root@gen1445/home/root> ps -ef|grep defunct
root 62554 51824 0 14:58:49 pts/5 0:00 grep defunct
root 102110 48426 1 0:00 <defunct>
root@gen1445/home/root> ps -ef|grep defunct
root 45718 51824 0 14:59:06 pts/5 0:00 grep defunct
root 79850 48426 0 0:00 <defunct>
root 102110 48426 1 0:00 <defunct>
root@gen1445/home/root> ps -ef|grep 48426
root 48426 8046 0 14:57:50 - 0:00 /usr/dt/bin/dtlogin
root 79850 48426 0 0:00 <defunct>
root 102110 48426 1 0:00 <defunct>
stopsrc and startsrc, stop the defunct process but after a while (one minute) some other defunct process are coming back.
Do you have any ideas why they come back?
10 More Discussions You Might Find Interesting
1. SCO
Hello ,
I've got 2 defunct processes due to scohttp process :
# ps -ef | grep 460
root 460 1 0 Sep-21 ?
00:00:00 /var/scohttp/scohttpd -d /var/scohttp
root 15399 15228 2 09:06:23 ttyp1 00:00:00 grep 460
nouser 14600 460 0 - - 00:00:00... (0 Replies)
Discussion started by: npn35
0 Replies
2. Programming
how can i assure that daemon process which is being run as init child,can be removed immediately from system when it goes defunct or to avoid daemon process becoming defunt? (5 Replies)
Discussion started by: rish2005
5 Replies
3. UNIX for Advanced & Expert Users
Hi unix lovers,
i have question about defunt process on HP-UX. Are there any side-effects of defunct process?
Can a parent process get killed because there are lot of defunct processes? say 50 defunct childs??
-Ashish (1 Reply)
Discussion started by: shriashishpatil
1 Replies
4. Programming
Hi!
I'm newbi in the Unix. I've a C++ Program from where one shell gets executed. Sample C++ code is --
transactionID = 1199;
case 1199:
//*************************************************
// Received the suspend signal.... (2 Replies)
Discussion started by: satyakide
2 Replies
5. Solaris
Hello out there!
I'm using dtlogin with my SunRay 2 and SunRay Server Software 4.0.
Now I want to customize the look an funcionality of the dtlogin. e.g. disable the Options - Button or change the Helptext.
Can anybody give me a hint where to find a good manual for dtlogin or which files I... (2 Replies)
Discussion started by: Blang
2 Replies
6. Solaris
My system is running solaris zones and oracle dbs in all the zones .. and now i find more then 4500 defunct processes in ps output. Can anyone know about this how to kill these
# ps -ef | grep defunct | wc -l
4899
And when i do ptree on one of the pid it shows most of the defunct... (3 Replies)
Discussion started by: fugitive
3 Replies
7. Programming
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <stdint.h>
#define LINE_MAX 80
int main()
{
pid_t pid, pid1;
char line;
char *lines;
char *key, *data,... (2 Replies)
Discussion started by: p00ndawg
2 Replies
8. UNIX for Dummies Questions & Answers
All,
I am getting a wired scenario, Not all times but some times i am getting the defunct process for a program. If i rerun the same program it is working fine.This defunct scenario is not occuring often. And this is happening only for the one program in my system that to sometimes
Can you... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
9. HP-UX
I'd like to remove this defunct processes without rebooting. Or, I could remove this defuncts when the maximum allowable process is nearly reached, then send an email to the user/team. How can I determine the maximum allowable process that a server can handle? Any thoughts?
Jin@PRODUCTION: >... (3 Replies)
Discussion started by: Jin_
3 Replies
10. Solaris
Hi everyone,
I'm working on continous integration with Jenkins.
I’m facing an issue while connecting a slave (solaris sparc 8) with Jenkins ver. 1.532.2
This slave is connected via the option “Launch slave via execution of command on the Master”.
Connection is established with:
-... (1 Reply)
Discussion started by: javaPIC
1 Replies
LEARN ABOUT OPENSOLARIS
sulog
sulog(4) File Formats sulog(4)
NAME
sulog - su command log file
SYNOPSIS
/var/adm/sulog
DESCRIPTION
The sulog file is a record of all attempts by users on the system to execute the su(1M) command. Each time su(1M) is executed, an entry
is added to the sulog file.
Each entry in the sulog file is a single line of the form:
SU date time
result port user-newuser
where
date The month and date su(1M) was executed. date is displayed in the form mm/dd where mm is the month number and dd is the day
number in the month.
time The time su(1M) was executed. time is displayed in the form HH/MM where HH is the hour number (24 hour system) and MM is the
minute number.
result The result of the su(1M) command. A ` + ' sign is displayed in this field if the su attempt was successful; otherwise a ` - '
sign is displayed.
port The name of the terminal device from which su(1M) was executed.
user The user id of the user executing the su(1M) command.
newuser The user id being switched to with su(1M).
EXAMPLES
Example 1 A sample sulog file.
Here is a sample sulog file:
SU 02/25 09:29 + console root-sys
SU 02/25 09:32 + pts/3 user1-root
SU 03/02 08:03 + pts/5 user1-root
SU 03/03 08:19 + pts/5 user1-root
SU 03/09 14:24 - pts/5 guest3-root
SU 03/09 14:24 - pts/5 guest3-root
SU 03/14 08:31 + pts/4 user1-root
FILES
/var/adm/sulog su log file
/etc/default/su contains the default location of sulog
SEE ALSO
su(1M)
SunOS 5.11 6 Jun 1994 sulog(4)