Controller Problem with Multi Instance Jobs

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Vishvas
Participant
Posts: 34
Joined: Sat Jun 21, 2003 3:52 am

Controller Problem with Multi Instance Jobs

Post by Vishvas »

We have 5 projects under one server. There are 7 jobs that are common for all the projects. These are multi instance jobs. They are designed in such a way that one calls the other in sequence. We have around 10 streams (i.e. 10 instances) in each project. So each of those 7 jobs will be triggered for each stream with different instance name. So at a time there may be 50 instances (10 instance/project) of the same job running on one server.

The problem is when we start all the jobs at the same time we are facing controller problem (-14). But if we start only 4 projects (any 4), then there is no problem. I don't know where there is any limitation on the number of jobs that a server can handle. Can anybody help us in solving this issue.

Vishvas
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

There are limitation for max number of processors involved for each user in Unix. You can speak to you admin to increase the value.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Post by gateleys »

Whenever I have multiple job instances, I make sure that the number of instances running concurrently does not exceed the number of CPUs in my DataStage server.

gateleys
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Try to execute the jobs with two or more different userid parallely. If this goes, you need to alter your default settings.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

You administrator may use

Code: Select all

chdev -l sys0 -a maxuproc='nnn'
command to increase the max number of process per id.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Vishvas
Participant
Posts: 34
Joined: Sat Jun 21, 2003 3:52 am

Post by Vishvas »

Sorry I didn't mention about the users. All the five projects are started with different unix users and each user has the process limit of 8000. So its not a problem with the max no of process/user. Also DS server runs on a 16 CPU HP box.

Is there any limitation that the number of instance of a single job should not exceed the number of CPU's?

Vishvas
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

The problem is not in the number of processes per CPU or user. It is that you need to add delays in between the job starts. We the sever starts jobs it takes up a lot of resources. The server needs more time to recover. Add a sleep between starting these jobs. You can easily overwhelm a computer with type of processing.
Mamu Kim
Post Reply