I am having some issues with publishing map services for ArcGIS 10.4 server machine that I recently upgraded. Here are some additional details:
I would still like to know what Is taking the time, appreciate any suggestions. Here are some screenshot.
A service should publish very quickly. I have come across long publish times (and failures) when a shared config-store among a high availability stack was using a crappy disk NAS array...(it was arcgis server file issues). e.g. OpsLock = true
Confirm there are no permissions issues with arcgis server and your publisher account as well as permissions for arcgis server and the data.
Also have you tried using arcgis server manager to bring in the successful SD file?
Are there other services running on the Web Stack without issue? (is this the mxd specific publish or arcgis server web stack?)
Is the Stack Federated?
Is the Stack using Web Tier Windows Auth? (through web adaptors?)
Are you publishing through the web adaptor or direct 6443 (https). ?
of course Im sure you have checked to ensure the publishing GP is running.
Ive done a few 10.4 HA (including HA portal) load balanced installed.
Call me if you have any other questions.
Thanks Michael for your comments. Looking at network traffic, seems like 10.4 shows way more traffic than 10.3 (130/30). With 100+ layers, it explains why publishing is taking lot longer.
I also noticed there is a bug reported in April, 2016 with ESRI support: Bug BUG-000096095
I am curious what the differences are. With the setup I have implemented, we have one service that has 123 layers in one mxd, no issues publishing. (approx 7 minutes). All layers are sourced to a FileGeodatabase on a network pathed mounted virtual disk which can be accessed by the multi node arcgis servers. There are no FeatureAccess enabled for this specific service.
Seeing that you have found a bug, we dont seem to be experiencing it here...(shrug).
Hi Michael, In our case, data is coming from sde. The time to publish the service in 10.3 (from service definition) takes only 12 seconds.You are right, with File GDB, I didn't notice any difference. I came across this on Geonet: Why would services would take 100x longer to publish in 10.4 vs 10.2.