AIX 4.3.3: Child proces always hanged


 
Thread Tools Search this Thread
Operating Systems AIX AIX 4.3.3: Child proces always hanged
# 1  
Old 09-07-2005
Network AIX 4.3.3: Child proces always hanged

Hi,

Can anyone help me to find out how I can get more detail about child process where it hanged and what information it needs to end. Same scripts runs on Solaris work fine!

Thanks for the help
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Sfmdb proces at top of tops

Good day, I do have a HP-UX B.11.31 U ia64 machine. If I check top a proces called sfmdb is high in use en cpu. It is a postgres-command. Full name is System Fault Management. Google gives an option to restart it in: /sbin/init.d via sfmdb stop en start. But if I now look on the machine I... (2 Replies)
Discussion started by: velde_van_der_a
2 Replies

2. UNIX for Advanced & Expert Users

Solaris Server getting hanged

Hi, I have recently changed the port speed to 1000 Mbps, auto negotiation ON from 100 Mbps auto negotiation OFF. At a particular time in the night, various other nodes FTP few big file to this node. At that particular moment when the other node start FTPing, the server becomes slow and is kind... (1 Reply)
Discussion started by: brij123
1 Replies

3. Homework & Coursework Questions

Need help with deleting childīs parent and child subprocess

1. The problem statement, all variables and given/known data: I need to make an program that in a loop creates one parent and five children with fork(). The problem i'm trying to solve is how to delete the parent and child of the childīs process. 2. Relevant commands, code, scripts,... (0 Replies)
Discussion started by: WhiteFace
0 Replies

4. UNIX for Dummies Questions & Answers

Server getting hanged becomming very slow

Hi guyes our linux server is very slow today and load average is more than 16 .I m new in linux request you to kindly help resolving the issue. Where can i find the log for the cause. # lsb_release -a LSB Version: ... (2 Replies)
Discussion started by: pinga123
2 Replies

5. Solaris

How to know about a hanged process

Hi, My process is visible in 'ps' command but actually it is not working or it got hanged. This process is not generating any log. Now How can I know that my process got hanged. Please help. (2 Replies)
Discussion started by: sanjay1979
2 Replies

6. UNIX and Linux Applications

Binary Get Hanged

Hi, In our product we have use binary that fork the child process to make proxy the connection to device.But recently when we try to connect new configured device several times it get handed and binary stop making further new connection to device.it required to RESTART the services to make binary... (1 Reply)
Discussion started by: Anand Prakash
1 Replies

7. Linux

Binary Get Hanged

Hi, In our product we have use binary that fork the child process to make proxy the connection to device.But recently when we try to connect new configured device several times it get handed and binary stop making further new connection to device.it required to RESTART the services to make... (1 Reply)
Discussion started by: Anand Prakash
1 Replies

8. UNIX for Advanced & Expert Users

System hanged. help required.

HI, I have a Fedora running box. I am not able to ping/login. I guess it got hanged. Can any one help me how to login to that box with out restart? (8 Replies)
Discussion started by: praveen_b744
8 Replies

9. Shell Programming and Scripting

Outlook is getting hanged - sendmail

Hi, Problem with Sendmail When I receive the mail in my outlook, (sent using sendmail ) , Outlook is not working properly( its getting hanged).I am using the script which is available in this forum. The following are the headers that are getting generated . Sendmail is running on SunOS... (5 Replies)
Discussion started by: Srini75
5 Replies
Login or Register to Ask a Question
Child(3pm)						User Contributed Perl Documentation						Child(3pm)

NAME
Child - Object oriented simple interface to fork() DESCRIPTION
Fork is too low level, and difficult to manage. Often people forget to exit at the end, reap their children, and check exit status. The problem is the low level functions provided to do these things. Throw in pipes for IPC and you just have a pile of things nobody wants to think about. Child is an Object Oriented interface to fork. It provides a clean way to start a child process, and manage it afterwords. It provides methods for running, waiting, killing, checking, and even communicating with a child process. NOTE: kill() is unpredictable on windows, strawberry perl sends the kill signal to the parent as well as the child. SYNOPSIS
BASIC use Child; my $child = Child->new(sub { my ( $parent ) = @_; .... # exit() is called for you at the end. }); my $proc = $child->start # Kill the child if it is not done $proc->complete || $proc->kill(9); $proc->wait; #blocking IPC # Build with IPC my $child2 = Child->new(sub { my $self = shift; $self->say("message1"); $self->say("message2"); my $reply = $self->read(1); }, pipe => 1 ); my $proc2 = $child2->start; # Read (blocking) my $message1 = $proc2->read(); my $message2 = $proc2->read(); $proc2->say("reply"); SHORTCUT Child can export the child() shortcut function when requested. This function creates and starts the child process in one action. use Child qw/child/; my $proc = child { my $parent = shift; ... }; You can also request IPC: use Child qw/child/; my $child = child { my $parent = shift; ... } pipe => 1; DETAILS
First you define a child, you do this by constructing a Child object. Defining a child does not start a new process, it is just the way to define what the new process will look like. Once you have defined the child you can start the process by calling $child->start(). One child object can start as many processes as you like. When you start a child an Child::Link::Proc object is returned. This object provides multiple useful methods for interacting with your process. Within the process itself an Child::Link::Parent is created and passed as the only parameter to the function used to define the child. The parent object is how the child interacts with its parent. PROCESS MANAGEMENT METHODS
@procs = Child->all_procs() Get a list of all the processes that have been started. This list is cleared in processes when they are started; that is a child will not list its siblings. @pids = Child->all_proc_pids() Get a list of all the pids of processes that have been started. Child->wait_all() Call wait() on all processes. EXPORTS
$proc = child( sub { ... } ) $proc = child { ... } $proc = child( sub { ... }, $plugin, @data ) $proc = child { ... } $plugin => @data Create and start a process in one action. CONSTRUCTOR
$child = Child->new( sub { ... } ) $child = Child->new( sub { ... }, $plugin, @plugin_data ) Create a new Child object. Does not start the child. OBJECT METHODS
$proc = $child->start() Start the child process. SEE ALSO
Child::Link::Proc The proc object that is returned by $child->start() Child::Link::Parent The parent object that is provided as the argumunt to the function used to define the child. Child::Link::IPC The base class for IPC plugin link objects. This provides the IPC methods. HISTORY
Most of this was part of Parrallel::Runner intended for use in the Fennec project. Fennec is being broken into multiple parts, this is one such part. FENNEC PROJECT
This module is part of the Fennec project. See Fennec for more details. Fennec is a project to develop an extendable and powerful testing framework. Together the tools that make up the Fennec framework provide a potent testing environment. The tools provided by Fennec are also useful on their own. Sometimes a tool created for Fennec is useful outside the greator framework. Such tools are turned into their own projects. This is one such project. Fennec - The core framework The primary Fennec project that ties them all together. AUTHORS
Chad Granum exodist7@gmail.com COPYRIGHT
Copyright (C) 2010 Chad Granum Child is free software; Standard perl licence. Child is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details. perl v5.10.1 2011-03-07 Child(3pm)