Error: “Packaging succeeded, but publishing failed”,

16558
59
Jump to solution
10-05-2014 01:21 PM
JamalNUMAN
Legendary Contributor

Error: “Packaging succeeded, but publishing failed”,

I couldn’t figure out why I’m getting the error below

“Packaging succeeded, but publishing failed”

Clip_685.jpg

What might be the issue here?

Thank you

Best

Jamal

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
59 Replies
MohammedAbdulMateen
New Contributor II

ESRI has released new patch for this issue 10.3, just download and install

click link below

ArcGIS 10.3 for Server Site Creation Failure and Service Startup Performance Patch | Samples and Uti...

AaronKreag
Occasional Contributor

We are having the exact same issue at 10.2.2!  If we reboot the server and then publish it  works, if the number of SOC processes increase and the server is under load it fails.  This seems a bit ridiculous given at version 10sp5 we had twice the number of SOC processes and half the server!!   Would love to discuss further.  When calling ESRI, they do not have an answer and despite the CPU at 15% and RAM at less than 50% it still fails.  This is an application issue and it needs to be fixed.  Version 10sp5 was much more stable.  My email is akreag at bisconsultants dot com.

AaronKreag
Occasional Contributor

As a follow up.  We fixed this issue.  After confirming that physical resources were not under stress, we set min process to 1 and max to 13, also went and adjusted the windows virtual memory to best and system managed.  This did the trick.  Contact me if you would like to discuss.

JamalNUMAN
Legendary Contributor

Thank you very much guys for the help

Then I have two solutions here:

  1. Upgrading to 10.3
  2. Service settings\Machine settings

  • Do I need to set all my services to have the 1\13 scenario?

Clip_48.jpg

  • What might be the best setting for the virtual memory?

Clip_49.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
AaronKreag
Occasional Contributor

You have a 16 core server so optimal setting for the min is 1 and max is 17 (cores plus 1).

Virtual memory setting is good.

You may also want to check under the arcgis server admin, edit, adjust your soc process HEAP to double the current setting.

Aaron

JamalNUMAN
Legendary Contributor

Thank you Aaron Kreag for the prompt help,

How to approach the “heap” option?

Clip_53.jpg

Clip_54.jpg

Clip_55.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
AaronKreag
Occasional Contributor

Go here on your esri arcgis server

http://localhost:6080/arcgis/admin/login

login with your admin.

The under Resources: Click on Machines

The click your server name.

Then under supported options: Click on edit

Then edit the values below…. And hit save edits. This will cycle down your arcgis server and restart all services so best to do during low load time.

App server maximum heap size (in MB): 512

SOC maximum heap size (in MB): 128

This was an ESRI suggestion so I am not assuming any liability here. ☺

Aaron Kreag, GISP

GIS Director

<http://www.bisconsultants.com/>

(800) 247-9045 ext. 123 | C: (972) 213-6819

(888) 882-7911

14802 Venture Dr. | Farmers Branch, TX 75234

Connect with us! [cid:image005.png@01D06188.4A5C64C0] <http://www.facebook.com/#!/pages/BIS-Consulting/165742880159940> <http://twitter.com/#!/BISConsultants> <http://www.linkedin.com/company/bis-consulting-llc>

Email: akreag@bisconsultants.com<mailto:akreag@bisconsultants.com> | My LinkedIn<http://www.linkedin.com/in/aaronkreag/>

<http://www.bisconsultants.com/bis-consulting-technology-conference/>

JamalNUMAN
Legendary Contributor

Very much appreciated Aaron,

I have switched the “App server maximum heap size” and “SOC maximum heap size” to the values you have recommended. I’ll be reporting if I get the same error in the future.

Clip_75.jpg

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
JayantaPoddar
MVP Esteemed Contributor

Hi Jamal,

Did you come across the "Packaging succeeded but publishing failed" issue again? What would be your suggested steps to resolve the issue?



Think Location
0 Kudos
JamalNUMAN
Legendary Contributor

Unfortunately, I got no root solution for this issue. Each time I got this error, I manage to apply multiple methods as described above.

Best

Jamal

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine