|
POST
|
dear John Graham, good morning. thank you for the information. regards ravi.
... View more
04-23-2019
08:20 AM
|
0
|
0
|
1515
|
|
POST
|
dear Readers, thank you for taking the time to help me out. we have setup a test AGS monitor inside our firewall. AGS monitor is very quick to point out infrastructure issues. Map and feature server services were published from SQL Server layer/ spatial table w attributes with upwards of 5 million records to 'trigger' meesages on ArcGIS Monitor software. This error was present on ArcGIS server hosting the feature and map server services. SEVERE Apr 22, 2019, 11:15:41 AM Error: Underlying DBMS error [[Microsoft][SQL Server Native Client 11.0][SQL Server]The instance of the SQL Server Database Engine cannot obtain a LOCK resource at this time. Rerun your statement when there are fewer active users. Ask the database administrator to check the lock and memory configuration for this instance, or to check for long-running transactions.] [MyDBName.dbo.VW_LayerName_SHAPE_P_***]. cpDelMe/myServiceName.MapServer When we consumed these services in ArcGIS pro it started behaving inconsistently when the feature server was selected for visibility and panning. Panning and Zooming created the above error messages. ArcGIS monitor did not record any service errors but pointed out that more than 85% of the processor resources have been used and only than 1GB was available at the server's disposal. There were many instances of the above error messages when there was a server request to the database. How to get these messsages to show up on ArcGIS Monitor? We could not locate the config documents to pipe the information to ArcGIS Monitor. thanks for your help. regards ravi Kaushika.
... View more
04-22-2019
02:08 PM
|
0
|
6
|
1751
|
|
POST
|
Andrew, good afternoon. My previous reply was lost. first - thanks for the offer of help. I don't have login privileges to the production servers. I can request them to give a zip version. I can try.. Based on Jonathan Quinn's suggestion and ESRI support staff, we are planning to request a windows job to run every few hours to delete unwanted files. thanks and regards ravi.
... View more
06-08-2018
02:55 PM
|
0
|
0
|
899
|
|
POST
|
Thanks Jonathan Quinn for your help. we are planning to request a Windows job to delete the files every few hours. thanks and regards ravi.
... View more
06-08-2018
02:50 PM
|
0
|
0
|
899
|
|
POST
|
Joris and Andrew, I went through the app when no one was using the app - and watched the network debug on the browser and saw that: 'C:\\Users\\S_SPRD~\\AppData\\Local\\Temp\\geoprocess\\dataextract_gpserver\\j4a463fb27ba448a2a5907f7f571c4c42\\scratch\\15SVA095230_286969_sa6.tif', 'C:\\Users\\S_SPRD~\\AppData\\Local\\Temp\\geoprocess\\dataextract_gpserver\\j4a463fb27ba448a2a5907f7f571c4c42\\scratch\\15SVA095245_286970_sa6.tif', 'C:\\Users\\S_SPRD~\\AppData\\Local\\Temp\\geoprocess\\dataextract_gpserver\\j4a463fb27ba448a2a5907f7f571c4c42\\scratch\\15SVA095260_286971_sa6.tif', 'C:\\Users\\S_SPRD~\\AppData\\Local\\Temp\\geoprocess\\dataextract_gpserver\\j4a463fb27ba448a2a5907f7f571c4c42\\scratch\\15SVA110215_286989_sa6.tif', 'C:\\Users\\S_SPRD~\\AppData\\Local\\Temp\\geoprocess\\dataextract_gpserver\\j4a463fb27ba448a2a5907f7f571c4c42\\scratch\\15SVA110230_286990_sa6.tif', 'C:\\Users\\S_SPRD~\\AppData\\Local\\Temp\\geoprocess\\dataextract_gpserver\\j4a463fb27ba448a2a5907f7f571c4c42\\scratch\\15SVA110245_286991_sa6.tif', 'C:\\Users\\S_SPRD~\\AppData\\Local\\Temp\\geoprocess\\dataextract_gpserver\\j4a463fb27ba448a2a5907f7f571c4c42\\scratch\\15SVA110260_286992_sa6.tif', 'C:\\Users\\S_SPRD~\\AppData\\Local\\Temp\\geoprocess\\dataextract_gpserver\\j4a463fb27ba448a2a5907f7f571c4c42\\scratch\\15SVA125215_287010_sa6.tif', 'C:\\Users\\S_SPRD~\\AppData\\Local\\Temp\\geoprocess\\dataextract_gpserver\\j4a463fb27ba448a2a5907f7f571c4c42\\scratch\\15SVA125230_287011_sa6.tif', Many such rows - the prod support staff member told me that the process were running on a user that had access to the \\networkShare\folders\. As per the previous posting of python script setting a scratchFolder: self._ws = env.scratchFolder I opened pyScripter and was trying to change the arcpy.geoprocessing.env.scratchfolder and I tried to reset or change it to another folder - it would not let me do it. >>> arcpy.geoprocessing.env.scratchFolder = "D:\MyDownload" Traceback (most recent call last): File "<interactive input>", line 1, in <module> File "D:\Program Files\ArcGIS\Server\ArcPy\arcpy\geoprocessing\_base.py", line 541, in set_ self[env] = val File "D:\Program Files\ArcGIS\Server\ArcPy\arcpy\geoprocessing\_base.py", line 601, in __setitem__ ret_ = setattr(self._gp, item, value) AttributeError: Object: Environment <scratchFolder> cannot be set thanks and regards ravi.
... View more
05-30-2018
12:41 PM
|
0
|
5
|
2287
|
|
POST
|
Further to the python environment settings, there is statement in py code: self._ws = env.scratchFolder (line 159 of elevation_async.py) ; i didn't know where to check for the py env being set. i searched the Python27 folder but could not make headway. hope it helps. regards ravi
... View more
05-24-2018
03:22 PM
|
0
|
0
|
2287
|
|
POST
|
About the upgrade process: here is the answer from the support staff member: "This was an In place upgrade 10.4 to 10.5.1, no new machines. Service account was not changed. Service directories were not changed and are all still pointing to the file share."
... View more
05-24-2018
11:28 AM
|
0
|
0
|
2287
|
|
POST
|
Thanks Joris, i will look at the link and do the needful. thanks for your time. regards ravi.
... View more
05-24-2018
10:00 AM
|
0
|
0
|
2287
|
|
POST
|
Thanks Andrew for the offer of help. i have attached PY files. it was written in mid to late 2014 if i am not wrong. thank you for the help. regards ravi.
... View more
05-24-2018
09:59 AM
|
0
|
0
|
2287
|
|
POST
|
Andrew Valenski, good afternoon. the staff member mentioned to me that all 'directories' are pointing to \\MyNetworkShare\folders and no trace of c:\temp anywhere. i asked the staff member to check whether the 'user' running the GP service has write permission to the folder(s). i will update the thread as i make more findings. regards Ravi.
... View more
05-23-2018
11:04 AM
|
0
|
3
|
2287
|
|
POST
|
dear Readers, good afternoon. our production team migrated the ArcGIS server instance to 10.5.1. After the upgrade we observed c:\temp became the 'scratch' or working directory for all the services and GP Functions. as a result of this change, c:\drive was getting filled up quickly and services/apps were throwing errors, on the other hand, we verified that site and all services in load balanced clustered DEV instance to be set to: cache: \\myShare_das\GeoData_FS\directories\arcgiscahe jobs: \\myShare_das\GeoData_FS\directories\arcgisjobs output: : \\myShare_das\GeoData_FS\directories\arcgisoutput system: : \\myShare_das\GeoData_FS\directories\arcgissystem cache (tiles): \\myCacheServer\arcgiscache the values are consistent at the site and individual service level. Since we don't have direct access to the prod servers, we are not able to check this. we have placed a request for the prod support team to look into it. Are there any other settings that could be causing the working folders to be set to c:\temp? the GP service created using python (10.3?) was working well before the upgrade. we are working closely with prod support team - we wanted to get more ideas while requesting them to make changes if necessary (all in 1 shot if possible). regards ravi.
... View more
05-21-2018
01:57 PM
|
0
|
14
|
3564
|
|
POST
|
Thanks Munachiso O and Balaji Veera, good afternoon. thanks for the clarifications. I uninstalled Python Interpreter/runtime 3.x 64 bit and I installed PyScripter 3.3.x 64 bit and it is able to see the arcPy objects in the command line interpreter. Message for other newbies: as indicated above by both of them, 10.6 and higher ArcServer objects like 3.x python interpreter; where as 10.5.1, ArcServer components work ONLY with Py 2.7.x. hope it helps. thanks for your guidance. regards ravi.
... View more
05-01-2018
03:22 PM
|
0
|
0
|
1801
|
|
POST
|
Balaji Veera, good afternoon. Thank you for the prompt reply. I presume you approve of pyScripter's 64 bit version - compared to the 2015 pages that insisted on a 32 bit version. i will check these tomorrow n let you know. regards ravi kaushika
... View more
04-23-2018
03:16 PM
|
0
|
1
|
1801
|
|
POST
|
dear Readers, good afternoon. I have a VM with AGS server 10.5.1 and Arc desktop 10.5.1. I have 2 versions of Python present in the VM Win 2012 R2 server OS. I am a newbie to Python - I have 15+ years of working in ArcObjects (VB n C#), Silverlight, and JS. I am trying to get a handle on the 'environment' for python and support existing code and develop new gp functions as needed. before sitting in acgis geoprocessing course, I took the time to set up Anaconda and Jupyter to learn most of the syntax basics. the training was in Pyscripter and for some reason, it did not cause hiccups because it was a training machine on esri cloud. Anaconda and Jupyter worked fine then and now. https://www.youtube.com/watch?v=WSXzlpVZM50&index=9&list=PLaPDDLTCmy4aA6oxJVe1YsJlxJO_0psyv&t=0s - (from 2018 dev summit) at 6+ minutes, it clearly indicates 2.x for ArcGIS desktop and 3.x for ArcGIS pro and server objects. i am trying to 'debug' / support a ArcGIS server geoprocessing python script done for 10.1 or 10.2 (currently in production) and sooner or later, that will be 'migrated' to 10.6. there are many pages that talk about using PyScripter 32 bit version - most of these pages/blogs were written in 2015 and no updates (most of non-ESRI pages). Are there newer 'how to' pages? OS: Win 2012 R2 Py: 2.7.14 and 3.6.5 (64 bit) Pyscripter - 3.3.1.0 x64 ; PyCharm community ed - 2017.3.4 arcgis (10.5.1) and arcgis 10.5.1 Both Pyscripter and Pycharm do not like "import arcpy" statement or any of the "from arcpy import AddMessage, ..." - all red squiggly lines in Pycharm and no intellisense or suggestions in Python Interpreter in Pyscript. thanks for taking the time to read through this. regards ravi kaushika
... View more
04-23-2018
02:07 PM
|
0
|
5
|
2261
|
|
POST
|
Rene, good afternoon. thanks a lot for the awesome videos. it helped me a quite a bit. regards ravi.
... View more
04-04-2018
03:16 PM
|
0
|
0
|
2125
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-13-2013 07:52 AM | |
| 1 | 09-10-2013 02:15 PM | |
| 1 | 03-20-2023 06:38 AM | |
| 1 | 05-17-2022 07:41 AM | |
| 1 | 01-04-2021 10:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-10-2025
08:54 PM
|