Regarding System Diagnostics for servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 02:19 AM
Hello,
I have a query regarding Service-now instance , when i look into the System Diagnostics it gives the below information.
Can you guys please explain if i will continuously call my instance REST API then it will impact on memory consumption ?
or
which activity cause high CPU consumption ?
Here is my System Diagnostics
Status | online |
Logged in users | 442 |
Last reported | 0 seconds |
Last reported (seconds ago) | 0 |
JVM UP time | 25 days 16 hours 12 minutes |
JVM CPU time | 3 days 11 hours 57 minutes |
Scheduler running | true |
Scheduler queue length | 0 |
Memory (MB) | 394.0 of 1980.0 |
JVM Classes | 21669.0 loaded, 2850.0 unloaded |
Transactions | 9991001 |
Errors | 374 |
GC.ParNew.Count | 241687 (32 per 5 minutes) |
GC.ParNew.TotalTime | 3760155 (1 hour 2 minutes) |
GC.ParNew.AvgTime | 0.015557953 |
GC.ConcurrentMarkSweep.Count | 5461 (0 per 5 minutes) |
GC.ConcurrentMarkSweep.TotalTime | 4146301 (1 hour 9 minutes) |
GC.ConcurrentMarkSweep.AvgTime | 0.7592567 |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 05:35 AM
Hi Rakesh,
The answer is not a straight forward one. You may call continuously your instance via REST and still have no high impact on memory. It all depends on what type of transactions you're doing. if you're transactions are triggering/calling scripts for example that build objects in memory, then yes you can have impact even with small number of REST calls.
As for CPU usage, usually scripts that perform calculations can cause more impact on CPU.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 06:10 AM
sergiu.panaite : Thanks for the above information it helps a lot.
Is there any option, using that we can skip 'script execution' for specific user?
example:
if user=='admin':
don't run any script
else:
check every condition and run scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 06:25 AM
What type of scripts you want to run? Some have a "Condition" field where you can add your user="admin" condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 06:40 AM
I am getting customer's Incident and problem table's records using REST API.
But because of this , he is facing CPU consumptions issue.
As you mentioned above he can face this issue because of script, which he has created on incident and problem table.
so i just want to know is there any option that if a specific user is fetching records using REST API then don't check any other conditions and excute scripts.