07-03-2008
Problem due to Fork Error
Hi,
I have developed a datastage job...which has many process running in parallel..but because of
Fork Error my job is not working
Can any body help me out to solve this Fork error problem.
My Os is SUNOS.
IS there any setting in Unix through admin where in if i set some paramter my process will get atomatically killed when specific duration has elapsed...
Thanks in Advance!!
10 More Discussions You Might Find Interesting
1. Programming
Hi,
Consider the following piece of code:
int main(void) {
int i;
pid_t pidp;
for (i=0;i<4;i++) {
switch (pidp=fork()) {
case -1:
fprintf(stdout, "Error during fork.\n");
exit (1);
case 0:
fprintf(stdout, "From child: I am... (4 Replies)
Discussion started by: qntmteleporter
4 Replies
2. Programming
i'm just trying to make 2 process read from the same 1 line a time. For some reason only the child reads.
#include<stdio.h>
#include <sys/types.h>
void getlinefromfilep(void);
void getlinefromfilec(void);
int see=0;
FILE * fileptr1;
//need globe variable to tell pro3 to stop
main()... (3 Replies)
Discussion started by: ddx08
3 Replies
3. Filesystems, Disks and Memory
Hi All,
Is there any way to use mv command and
that should apply ACL on the moved files that is already set in distination location
This mv command is running in a solaris system. File system is NFS.
Problem I am facing : Currently mv command removes ACL from moved files
and also it... (0 Replies)
Discussion started by: Tlogine
0 Replies
4. Shell Programming and Scripting
Hello everyone , I am looking for a better solution then the one I have created for the my Task
The task is:
Create an automated script that will check for Uploads in a specified Directory and move them to another specified Directory if the files are completely uploaded.
Files are FTP'd to... (2 Replies)
Discussion started by: robertmcol
2 Replies
5. Programming
Hi,
I was honing my linux programming skill when this nuisance started bugging me. I wanted to create an empty file creator program. While creating a large file it must print # for progress bar. But the output shows it happening reverse way. ie. first it copies file and shows the progress... (7 Replies)
Discussion started by: dheerajsuthar
7 Replies
6. SCO
I have tried to (unsuccessfully) add an old drive to get drivers (for the 3Com network card) onto a Sco Openserver 5.1 server. Now it wont boot:
I used Sco Admin to do this.
It have 3 scuzzi drives
I added an IDE
I think what I did wrong was add the IDE to existing space, and I should not have... (6 Replies)
Discussion started by: lappies67
6 Replies
7. IP Networking
Hi,
I've been searching through out this forum to find the exact message when during the on-going FTP, suddenly the network went down but i cannot find some. Could anyone provide me the exact return codes when FTP failed during FTP or prior to FTP the network went down and you still proceeded to... (3 Replies)
Discussion started by: vibora
3 Replies
8. Programming
i am a beginner of C, and i tired to fork multiple child and all of them belongs to same parents and each of child responsible for printing individual data.
but i don't have any idea how to do......
Can any body help? thanks a lot really. (7 Replies)
Discussion started by: wendy1089
7 Replies
9. Programming
Hi, can someone please help me with creating mutltiple fork.. I was expecting something like this:
I am a child: 1 PID: 1215
I am a child: 2 PID: 1216
I am a child: 3 PID: 1217
I am a child: 4 PID: 1218
I am a child: 5 PID: 1219
I am a child: 6 PID: 1215
I am a child: 7 PID: 1216
I am a... (4 Replies)
Discussion started by: Placenzo
4 Replies
10. UNIX for Dummies Questions & Answers
Hi guys,
I have the following code:
int main(int argc, char *argv)
{
int pid1,pid2,i=0;
pid1=fork();
i+=2;
if(!pid1) i++;
if(i%3) pid2=fork();
if (pid2==0)
{
printf("sea \n ");
i-=1;
}
if(i>=2)... (4 Replies)
Discussion started by: pfpietro
4 Replies
LEARN ABOUT DEBIAN
orte-restart
OMPI-RESTART(1) Open MPI OMPI-RESTART(1)
NAME
ompi-restart, orte-restart - Restart a previously checkpointed parallel job using the Open PAL Checkpoint/Restart Service (CRS)
NOTE: ompi-restart, and orte-restart are all exact synonyms for each other. Using any of the names will result in exactly identical behav-
ior.
SYNOPSIS
ompi-restart [ options ] <GLOBAL SNAPSHOT HANDLE>
Options
ompi-restart will attempt to restart a previously checkpointed parallel job from the global snapshot handle reference returned by
ompi_checkpoint.
<GLOBAL SNAPSHOT HANDLE>
The global snapshot handle reference returned by ompi_checkpoint, used to restart the job. This is required to be the last argu-
ment to this command.
-h | --help
Display help for this command
-p | --preload
Preload the checkpoint files on the remote systems before restarting the application. Disabled by default.
--fork Fork off a new process, which is the restarted process. By default, the restarted process will replace ompi-restart.
-s | --seq
The sequence number of the checkpoint to restart from. By default, the most recent sequence number is used (specified by -1).
-hostfile | --hostfile
The hostfile from which to restart the application. Useful in unscheduled environments. (Same behavior as --machinefile option)
-machinefile | --machinefile
The machinefile from which to restart the application. Useful in unscheduled environments. (Same behavior as --hostfile option)
-v | --verbose
Enable verbose output for debugging.
-gmca | --gmca <key> <value>
Pass global MCA parameters that are applicable to all contexts. <key> is the parameter name; <value> is the parameter value.
-mca | --mca <key> <value>
Send arguments to various MCA modules.
DESCRIPTION
ompi-restart can be invoked multiple, non-overlapping times. This allows the user to restart a previously running parallel job.
SEE ALSO
orte-ps(1), orte-clean(1), ompi-checkpoint(1), opal-checkpoint(1), opal-restart(1), opal_crs(7)
1.4.5 Feb 10, 2012 OMPI-RESTART(1)