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     [Solved] Running more then 2 agents at once

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Running more then 2 agents at once
 Login/Join
 
Gold member
posted
I have a dashboard that I have recently set up that is supposed to run 6 concurrent reports at once. All of these reports run off of a Service separate from our normal Service (normal service allows 3 agents to be run concurrently to limit adhoc queries by user) We have the Service set up as such in the edaserve.cfg file


SERVICE = DASH_SRV
BEGIN
  maximum = 30
  agent_refresh = 5
  cpu_limit = -1
  number_ready = 4
  max_connections_per_user = 10
END
  


As you can see from the config file we allow up to 10 connections per user on this Service (originally we had this set to unlimited but for testing purposes set it to 10).

In the HTML I have the reports set up to run off of a javascript function so that everything will fire off together and give the user a loading message while they wait.

 

	clearFrm(graph1);
	clearFrm(graph2);
	clearFrm(graph3);
	clearFrm(graph4);
	clearFrm(report1);

	OnExecute(exec_banner)
	OnExecute(exec_grf2)
	OnExecute(exec_grf3)
	OnExecute(exec_grf4)

	if(document.getElementById('INIT_LOAD').value=='Y' || document.getElementById('combobox2').value == 6){
		document.getElementById('pickAnalysis').style.display = 'inline' ;
		OnExecute(exec_grf1)
		OnExecute(exec_rpt1)
	}
	else{
		document.getElementById('pickAnalysis').style.display = 'none' ;
	}
 


When I run the dashboard and look at the console, I notice that only 2 will run and the rest will come in as if they were queued in the background. How can I adjust my settings so that all 6 reports run together instead of two at a time?

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


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
Expert
posted Hide Post
Eric,

Just a suggestion to check that the JS is not involved with your limitation, but have you created an iframe equivalent with the iframe.src set to the urls as required? If you have more than 2 agents running at a time doing this then the problem would be JS related?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
Eric

I assume you are using IE6 or IE7. I found that these browsers limit the maximum number of AJAX calls that can run asynchronously to 2 in any one browser session. I believe Firefox increases this to 5 and IE8 to 18.

In my experience the order of running is relatively random, so do not expect the calls to run in exactly the same order as called, or to return in that order actually sent, due to differences in agent process time.

I have some js to control the sending and return of multiple calls, holding all output until everything is returned, for use in a self-service application.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Gold member
posted Hide Post
Alan,

Thanks for that insight into how IE handles ajax calls. I am using IE7 on my machine and we don't support anything outside of IE (We have found many things to not work properly in Firefox and Chrome like AHTML, certain passings of variables, report assistant etc etc...). I tried the dashboard in Firefox, and as you stated all the calls fired off at once like I wanted them to. I guess I will need to do some testing with IE8 and see how compliant its is with FOCUS.


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     [Solved] Running more then 2 agents at once

Copyright © 1996-2020 Information Builders