AnsweredAssumed Answered

Problem with Python execution using arcpy - ArcGIS Server

Question asked by on Jun 2, 2016
Latest reply on Jun 3, 2016 by

Hi everyone,


Until yesterday, all my published geoprocessing services and python scripts were working fine.

All of a sudden, during the execution of a script that has lots of calls of geoprocessing services, all python scripts stopped working. After this, every python execution returns the message above:


esriJobMessageTypeError: Traceback (most recent call last): File "", line 4, in import arcpy

File "d:\program files\arcgis\server\arcpy\arcpy\", line 24, in <module>

from arcpy.toolbox import *

File "d:\program files\arcgis\server\arcpy\arcpy\", line 15, in <module>

from .ddd import ASCII3DToFeatureClass as ASCII3DToFeatureClass_3d

File "d:\program files\arcgis\server\arcpy\arcpy\", line 23, in <module>

from arcpy.arcobjects.arcobjectconversion import convertArcObjectToPythonObject

File "d:\program files\arcgis\server\arcpy\arcpy\arcobjects\", line 16, in <module>

from arcobjects import *

File "d:\program files\arcgis\server\arcpy\arcpy\arcobjects\", line 17, in <module>

import mixins

File "d:\program files\arcgis\server\arcpy\arcpy\arcobjects\", line 15, in <module>

import collections

File "D:\Program Files\Python27\ArcGISx6410.3\Lib\", line 10, in <module>

from keyword import iskeyword as _iskeyword

ImportError: cannot import name iskeyword


Looking for some evidence, I found out that in the exact moment the script stopped working, the windows event viewer generated this log message


Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: ArcSOC.exe (21672) consumed 2420084736 bytes, vapm.exe (3748) consumed 2265391104 bytes, and ArcGISPortal.exe (1532) consumed 926019584 bytes.


May this be the source of the problem? Maybe arcpy has been corrupted or something like that.

Can you help me?