|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Process Instance not running properly.
I have run 10 instances of the process eg, process name is BG Code:
nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 1 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>a.txt & nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 2 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>b.txt & nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 3 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>c.txt & nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 4 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>d.txt & nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 5 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>1.txt & nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 6 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>2.txt & nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 7 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>22.txt & nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 8 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>3.txt & nohup /WP01IRB1_irbapp/IRBWPROD/RB/bin/BG -c 9 -t 23 -a '-caTop TESTBILLCYCLE='5FEB13_81PT19NPT''>4.txt & These instances supposed to completed within 8 hrs. But the problem is 7 instances completed within a time and the last instance is taking to long too complete. Plz guide on this. Why the last instance is taking more time as compared to others. Thanx in advance Last edited by Scrutinizer; 02-05-2013 at 06:06 AM.. Reason: code tags |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Based on what you presented there is no way to tell what is going on. I am guessing you are running cycle billing, and that you divided accounts from one cycle or group into sub-cycles.
As a wild guess, did you flatten out the the number of accounts in each sub-cycle, e.g., do they all contain approximately the same number of accounts, e.g. say 500 accounts? |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
yes i have set this bill cycle for 5 lac accounts .
|
|
#4
|
||||
|
||||
|
So you are saying 500K accounts are there is each cycle. But if this is cycle billing then you have to consider the account total usages count as well. May be the total usages are much higher compared to the instances that are getting completed early.
If your process BG is connecting to DB, then I suggest you to monitor the SQL sessions and see at what stage it is taking time. Like Jim mentioned it is really difficult to tell what exactly is the reason behind because we have no idea about your process BG and what volume of data it is dealing with! |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Print available running instance out of total | panchpan | Shell Programming and Scripting | 3 | 08-16-2010 01:40 AM |
| Multiple Instance Of Same Process | glamo_2312 | UNIX for Advanced & Expert Users | 5 | 04-26-2009 07:25 AM |
| Multiple instance of same process | glamo_2312 | UNIX for Dummies Questions & Answers | 0 | 04-23-2009 10:21 AM |
| Script not running properly | chris1234 | UNIX for Dummies Questions & Answers | 5 | 02-22-2008 02:51 PM |
| How to check if another instance of the process is running | sim | Shell Programming and Scripting | 8 | 06-30-2005 07:24 AM |
|
|