how does deadlock occur?
Answers were Sorted based on User's Feedback
It is the condition, where the graph will stop processing
due to mutual dependency of data.
For Ex:
Let’s consider a concatenate component, having three
inputs. Let’s say first i/p receives 20 million records,
second i/p receives 1000 records, third i/p receives 500
records.
Now even though the concatenate receives i/p’s at second
and third i/p port, the concatenate won’t work until it
receives all the i/p’s at it’s first i/p port. So the
graph’ll stop processing until the first i/p port receives
all its data. This condition is called DEADLOCK.
This is now minimised (not prevented) by “Automated flow
buffering”. This will in turn provide more workspace in
network resource allocation. So that the processing’ll be
faster.
The Automated flow buffering is available from 1.8 version.
Is This Answer Correct ? | 17 Yes | 1 No |
Answer / gita
Deadlock occurs when a program cannot progress, causing a
graph to hang. The likelihood of deadlock occurring depends
on the patterns of data flows. A graph carries a potential
for deadlock when flows diverge and converge within a single
phase. If the flows converge at a component that reads its
input flows in a particular order, that component may wait
for records to arrive on one flow even as the unread data
accumulates on others, because components have a limited
buffering capacity. Before GDE version 1.8, deadlock was a
common problem. It is now a rare occurrence due to the
automatic flow buffering feature added in version 1.8.
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / prakash
when two or more components using the same resource, then u
will get dead lock
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / quesanswer
Hi kanaga
M asking for abinitio grpahs
when does deadlock occur
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / babu
If two or more components are waiting for the same resource apart from using some other resource then deadlock occurs
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kanaga
IF TWO ARE MORE THREADS WAITING TO RELEASE A RESOURCE,WHEN
DEADLOCK IS OCCUR.
Is This Answer Correct ? | 4 Yes | 8 No |
How to process records in batches like 1-20 records in first execution and 21-40 records in second run.. so on
State the relation between EME, GDE and Co-operating system?
What is the significance of ‘mp run’ command ?
what is the use of stdenv in abinitio and what the main concept belongs to is?what is env?
How to implement the funtionality in the custom component to use in the graph?
How you can run a graph infinitely in ab initio?
What are the primary keys and foreign keys?
After completion of graph what is the next process to perform? who will perform the later process?
What are the key elements of a data processing system?
how to insert/update a csv file by comparing it with another csv file?
Explain the methods to improve the performance of a graph?
explain checkin and checkout?