Operating System - HP-UX
1833755 Members
3247 Online
110063 Solutions
New Discussion

Process get killed before it finish

 
soonyee_1
New Member

Process get killed before it finish

When I submit a few processes, some of them will get killed before they finish. I tried a few times and everytime they get killed in different point. Those processes used up a lot of memory. I am using HPUX 10.2.

May I know what is the problem and how can I fix it.

6 REPLIES 6
Michael Tully
Honored Contributor

Re: Process get killed before it finish

Hi,

What type of processes are you submitting?
Are they shell script, command line arguments
or SQL or database related?

Please advise
Anyone for a Mutiny ?
soonyee_1
New Member

Re: Process get killed before it finish

They are command line executable. I create a script to run the executable one after another.
Michael Tully
Honored Contributor

Re: Process get killed before it finish

Please provide an appropriate example.

Thanks
Anyone for a Mutiny ?
soonyee_1
New Member

Re: Process get killed before it finish

Example:
quartus_cmd -f script1.tcl
quartus_cmd -f script2.tcl

quartus_cmd is a PLD development tool.
Laurent Paumier
Trusted Contributor

Re: Process get killed before it finish

What signal do the processes get when they exit ?
If they use too much memory, maybe the system gets out of memory and kills them (SIGTERM) (the "out of memory" message should appear in the syslog (not sure)), or the process is badly written and does not check memory allocation (results in SIGSEGV or SIGBUS)...
Bill Thorsteinson
Honored Contributor

Re: Process get killed before it finish

If you start the processes in the background with
a command like:
myjob &
It will be killed when you log out.

Some shells will warn you when you log out with
jobs running in the background.

Check into the batch and nohup commands.