Slow Reponse of ArcGIS Portal

6025
18
01-03-2018 08:31 PM
MatsHardy
Occasional Contributor

I have isntalled a Portal server 10.5.1 and web adaptor (IIS) 10.5.1 in single machine environment. The web adaptor is configured to access the Portal. I have also implemented IWA on Portal.

The porblem is that the performance of Portal is slow after setting up IWA. It takes nearly 2 minutes to open a map application, which has only a basemap layer, a point layer and few buttons e.g. measure distance, filtering. Anyone have ideas? Thanks.

0 Kudos
18 Replies
GISSupport3
Occasional Contributor III

Hmmm ... very broad question. There can be so many variables.

I would start with Googling <mywebserver> performance monitoring.

Good luck

0 Kudos
PanagiotisPapadopoulos
Esri Regular Contributor

try to use the javascript api from esri directly 

<script src="https://js.arcgis.com/3.23/"></script>

what is the result?

0 Kudos
MatsHardy
Occasional Contributor

Thanks for your reply, but my map app is created from WebAppBuilder, where I can find source of the app to modify the javascript?

0 Kudos
PanagiotisPapadopoulos
Esri Regular Contributor

download the application created from web app builder.

 then open the folder and search file env.js.

the highlighted areas showing where you have to focus. 

0 Kudos
MatsHardy
Occasional Contributor

I have modified the arcgis js path and then deployed to IIS, the map app does not work.

0 Kudos
BillHarvey
New Contributor II

Couple of questions:

  • Are you behind the firewall for everything or are the services exposed externally?
  • Are Portal and Server federated?   
  • Is it setup as a hosting server?
  • When you say single server environment, do you mean everything is on the same server?   E.G. Portal, ArcGIS Server, and Web Adapter all the same machine?
0 Kudos
MatsHardy
Occasional Contributor

Thanks for your reply.

  1. All servers are behind firewall
  2. The ArcGIS Server is federated to Portal
  3. The ArcGIS Server is configured to a hosting server
  4. Portal and ArcGIS Server are on separate machines and there is one web adaptor on each machine. Each adaptor is connected to the ArcGIS component on the machine
0 Kudos
BillHarvey
New Contributor II

Sorry for the late response.  If you already got around this, could you detail how?

If all of the servers are behind the firewall I would suggest trying authentication with Active Directory/LDAP at the Portal Tier.   IWA may not be required if web tier authentication (e.g. outside the firewall) is not required, Portal Tier authentication may be quicker.

See:

Configure your portal to use Windows Active Directory

Use Integrated Windows Authentication with your portal—Portal for ArcGIS (10.5.x) | ArcGIS Enterpris... 

You have a lot of overhead on a single server as well.  May see a bit of a performance if you are using a single machine deployment and it is federated, I assume ArcGIS Server is also on this machine.   I would consider adding a server.

If you are hosting Image Server, GeoEvent, and ArcGIS Server on the same box you will also see a performance hit.  Better to segregate if possible.

0 Kudos
AdamCottrell
Occasional Contributor II

Was this ever resolved?  If so, what ended up being the issue?  I have nearly the same experience except mine works as it should under an admin role but users with "Creator" user level without admin role experience this same slow performance with Web Appbuilder apps. These users do have the needed permissions to access these services. If these same users go straight to the rest endpoint, or even the content items page, they do not experience performance issues.  It only happens in Web Appbuilder apps.

Any help would be greatly appreciated!