Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Multiple agents for one report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Multiple agents for one report
 Login/Join
 
Gold member
posted
Hi,

I saw a post for this sort of problem on the forum in the following link All EDA Agents being used up by one report.

There was little feedback on this, has anyone since had a similar problem of a single report using multiple agents. Yesterday a user ran an adhoc report and I watched a new agent 'launch' every 3 minutes (exactly 3 min apart Confused) for the same report. Needless to say I stopped it at 5 agents as the server was being severely hammered.

Does anyone have any idea what might cause this, or is this something to log with IBI?

Thanks,

Jinx.

This message has been edited. Last edited by: Kerry,


7.6.11
Windows
HTML, PDF, Excel etc
DevStudio/Webfocus/Focus IBM
SQL Server 2000 / 2008
DB2
 
Posts: 78 | Location: UK | Registered: February 07, 2008Report This Post
Expert
posted Hide Post
Funny you should bring this up now, as I have just had an issue just like this.

I had a job that ended up in an infinite loop, with code in between, and looks like it spawned 3 other agents. These were hours apart.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Weird!
We had a thought yesterday that maybe it had something to do with our web front end calling the report multiple times (as c# and asp can do - though they would only call the report twice in certain conditions, like a duplicated on-click event) but the fact that it spawned a new agent every 3 minutes on the nose says it is something within webfocus.
I suppose it's down to logging a call with ibi. I just cannot replicate this problem, the user who was affected seems to have no problems now, so it's totally intermittent.

Jinx.


7.6.11
Windows
HTML, PDF, Excel etc
DevStudio/Webfocus/Focus IBM
SQL Server 2000 / 2008
DB2
 
Posts: 78 | Location: UK | Registered: February 07, 2008Report This Post
Expert
posted Hide Post
If it helps, I have seen similar before, and in my case its always been a long running report.

Your problem may be very different.

I would suggest, if it happens again, to gather any info possible from the WF console, to see what master its working on, you may notice it repeating the same master if its looping. Also if you have access to the EDATEMP directory, look at the files


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Jinx,

I have had the exact same problem that you are experiencing although we could never solve it. It started out like with you where it was intermittent and only happened with one or two users (me being one of those, but not the other developers). But it progressively got worse and started affecting more and more users throughout the company. The only common thread that I was ever able to figure out was that it would happen on any report longer then 3 minutes.

This is my post from a couple years ago

http://forums.informationbuild...141067992#8141067992

So this is not a new problem and it will only get worse. I found that this only happened in foreground reports and never happened in defered reports. We had to start telling our users to fire off most things defered because we couldn't solve the issue.

This did eventually go away for us, but not until we outsourced our servers to a third party. My suggestion is to get both your network people involved and IBI. I don't know where the issue lies, but my guess is that it is somewhere with the interaction between the 2.

I hope you can find a resolution where we couldn't.

Eric


Eric Woerle
WF 7.6.7 Reportting Server
ETL 7.6.10
Dev Studio 7.6.7
 
Posts: 95 | Registered: July 31, 2007Report This Post
Gold member
posted Hide Post
Thanks for all of the feedback. We are going to look into it some more and try and identify conditions under which it may occur, and depnding on how often it happens (after checking the report run logs) possibly open a case with IBI.
It's a worrying bug since a user could run a report at the weekend/evening, and the database would basically be hammered, when there is little to no IT support available. *ponder* Not good.
We'll also stop blaming the users for running the same report multiple times! ;-)

Thanks,

Jinx.
 
Posts: 78 | Location: UK | Registered: February 07, 2008Report This Post
Gold member
posted Hide Post
Jinx,

When this was occurring to us, it wasn't as large a problem as it seems like it will be for you because we limit our users to 3 foreground agents and 2 defered agents. Maybe that is something you might want to consider doing as well. Limit the amount of foreground agents that your users can run to 3 or 5 so that the problem can be contained and your systems don't get pegged so bad no one can get any reports.


Eric Woerle
WF 7.6.7 Reportting Server
ETL 7.6.10
Dev Studio 7.6.7
 
Posts: 95 | Registered: July 31, 2007Report This Post
Gold member
posted Hide Post
Hi,

I didn't know that one could do that! So we have several hundred users at any one time, can I limit each user to just 1 or 2 agents? If that is the case it would be great either way - for those times when they do click the submit button multiple times! Also with this bug, it would not be such a major issue since a couple of agents launching won't totally kill it the database server.

Thanks,

Jinx.


7.6.11
Windows
HTML, PDF, Excel etc
DevStudio/Webfocus/Focus IBM
SQL Server 2000 / 2008
DB2
 
Posts: 78 | Location: UK | Registered: February 07, 2008Report This Post
Gold member
posted Hide Post
Jinx,

If you go to your console and click on workspace > Configuration you will see all of your data services. We have it set up so that our default service will allow someone to run 3 agents, Our defered service (DFM_DEFAULT) allows 2 agents and then the rest that a user submits gets put into a queue and fired off as agents are made available. We have a service specifically for report caster reports and then we have what we called a dashboard service. In our dashboard service we opened it up completly, unlimited agents. We did this because all the queries that we put through there are fast queries that take no longer then 30 seconds (thats fast right now in our world). People are in and out of our databases and not causing problems. Also as we started building bigger dashboard applications that needed to fire off more then 3 agents simultaneously. Creating that extra service solved it for us.


One thing to keep in mind though is that when a user utilizes all of their agents, they will receive an error message saying that they are out of agents. I would just make sure you are aware of what the error message says and ok with your users being presented with it. You probably can go into the html for the error message and change it if you want, but I've never tried looking for the file to do that.


Eric Woerle
WF 7.6.7 Reportting Server
ETL 7.6.10
Dev Studio 7.6.7
 
Posts: 95 | Registered: July 31, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Multiple agents for one report

Copyright © 1996-2020 Information Builders