SlideShare a Scribd company logo
All trademarks and registered trademarks are the property of their respective owners.© HelpSystems LLC. All rights reserved.
How Robot Monitor can help you pen up runaway
processes before they cause problems
Stop Feeding IBM i
Performance Hogs
HelpSystems LLC. All rights reserved.
YOUR HOSTS
Chuck Losinski
Director of Automation Technology
HelpSystems
Broadcasting live from Eden Prairie, Minnesota USA
and Düsseldorf, Germany
Kurt Thomas
System Engineer
HelpSystems
HelpSystems LLC. All rights reserved.
• Resource-hogging scenarios and jobs
• Qualify impact on CPU,
memory, and storage
• Identify and address resource
hogs automatically
AGENDA
HelpSystems LLC. All rights reserved.
MOST COMMON HOGS
What types are most common?
• CPU hogs
• Main storage hogs
• Temporary storage hogs
How can you locate them and take action?
• A reactive solution: WRKACTJOB, WRKSYSACT, iNAV
• A proactive solution: Robot Monitor
These impact job run time
HelpSystems LLC. All rights reserved.
Why are these issues so problematic to an IBM i environment?
• Rapid resource consumption
• Need to be found quickly
Resource
Hogs
• Limited
• Expensive
Resources
PROBLEM PROBLEM PROBLEM
User
impact
Demand
for more
resources
System
failure
CHALLENGES
UP NEXT...
CPU Hogs
HelpSystems LLC. All rights reserved.
What is the impact on your enterprise?
System symptoms:
• CPU is being rapidly consumed
Impact:
• Until the job(s) causing
this are identified and
the issue resolved,
expect:
o Additional resource expenditure
o Impairment of user productivity
o Impact on many systems
o POS, web, DB, GUI, credit cards
Rapid CPU
consumption
Operators in
race against the
clock to identify
CPU hogs
System productivity
is maintained only
by feeding extra
resources
All of which
consumes more
resources
Underlying issue
remains until the
team runs out
of resources or
resolves it!
CPU HOGS
HelpSystems LLC. All rights reserved.
QZDASOINIT and QSQSRVR Jobs
What are they?
• DB2 database server jobs
What do they do?
• Let applications pull information from, and modify, information in DB2 on IBM i
• QZDASOINIT jobs implement ODBC, JDBC
• QSQSRVR implements Server Mode = IBM-flavor ODBC
Why so problematic?
• The issue with QZDASOINIT and QSQSRVR jobs is not the jobs themselves—
it is poorly-written SQL code running in them that causes the issues.
CPU HOGS
HelpSystems LLC. All rights reserved.
CPU HOGS
How to find the maximum number of QZDASOINIT jobs in QUSRWRK
Step 1: Run DSPSBSD SBSD(QUSRWRK)
HelpSystems LLC. All rights reserved.
CPU HOGS
How to find the maximum number of QZDASOINIT jobs in QUSRWRK
Step 2: Select Option 10 (Display Prestart Job Entries)
HelpSystems LLC. All rights reserved.
CPU HOGS
How to find the maximum number of QZDASOINIT jobs in QUSRWRK
Step 3: Select Option 5 (Display Details on QZDASOINIT)
Result: The maximum number of jobs and uses
HelpSystems LLC. All rights reserved.
CPU HOGS
How to display Active Prestart Jobs
Step 1: Run DSPACTPJ SBS(QUSRWRK) PGM(QZDASOINIT)
Result: Shows the current number of prestart jobs and how many are still in use
HelpSystems LLC. All rights reserved.
CPU HOGS
How do we find the offending job FAST?
Common example:
• QZDASOINIT jobs
Challenges to identification:
• Jobs all share the same name
• Potentially hundreds of jobs could be contributing to the issue
• The longer this process takes, the more CPU is consumed and the greater
the risks and impact on resources
HelpSystems LLC. All rights reserved.
CPU HOGS
Reactive approach
Step 1: WRKACTJOB followed by manual batch investigation and resolution at
the job level on each LPAR you manage
HelpSystems LLC. All rights reserved.
CPU HOGS
Troubleshooting
Big picture questions:
• Who is running these jobs?
• What proportion of overall CPU are these jobs consuming?
Conclusion:
• Greater insight will provide deeper understanding and context to any issues,
which will result in faster problem resolution.
HelpSystems LLC. All rights reserved.
CPU HOGS
Proactive approach
• Step 1: Real-time visibility
• Step 2: Immediate access to jobs for resolution and threshold levels
for early detection
HelpSystems LLC. All rights reserved.
CPU HOGS
Proactive approach
Data definitions: Define by any/all systems + Define by job name
HelpSystems LLC. All rights reserved.
CPU HOGS
Proactive approach
Thresholds: Custom thresholds and proactive alerts
HelpSystems LLC. All rights reserved.
CPU HOGS
Proactive approach
Monitored groups: Granular monitoring can extend to subsystem, accounting
code, user, current user, job, and function
HelpSystems LLC. All rights reserved.
• Identify and manage CPU hogs
LIVE DEMO
UP NEXT...
Main Storage Hogs
HelpSystems LLC. All rights reserved.
Page faults
System symptoms:
• The number of paging faults rapidly increases, a condition known as “thrashing”
Impact:
• Until the job(s) causing this
are identified and the issue
resolved, expect:
o Number of page faults
to rapidly rise
o Jobs to take longer
and longer to execute
o Impairment of user productivity
Data loaded/
re-loaded into
memory
Batch job begins
to process
Interactive job
flushes memory
records
Batch job can’t
access the
records (faulting
occurs) and...
Thrashing
Cycle
MAIN STORAGE HOGS (RAM)
HelpSystems LLC. All rights reserved.
Reactive approach
Step 1: Access the Work with System Status screen to show number of page
faults in each memory pool
MAIN STORAGE HOGS
HelpSystems LLC. All rights reserved.
Troubleshooting
Big picture questions:
• Which jobs are responsible for causing problems in these memory pools?
• Which subsystem(s) are using these memory pools?
Conclusion:
• Greater insight will give more meaningful understanding and context to any
issues for faster problem resolution.
MAIN STORAGE HOGS
HelpSystems LLC. All rights reserved.
Proactive approach
Step 1: Real-time visibility of dedicated NDB bar shows us the overall system
faults/second.
Stage 2: Immediate access to offending jobs for resolution. Threshold levels
for early detection.
MAIN STORAGE HOGS
HelpSystems LLC. All rights reserved.
• Identify and manage main storage hogs (thrashing)
LIVE DEMO
UP NEXT...
Disk Hogs
HelpSystems LLC. All rights reserved.
What is temporary storage?
• Storage allocated by the OS in the system ASP (disk). Its contents will be
cleaned up when an IPL is performed.
• Programs loaded into the activation group and the
associated variables, heap space (Java as well
as other HLL APIs, i.e., malloc, calloc), open data
paths, etc.
Temporary storage?
YES!
• Objects in QTEMP libraries
Temporary storage?
NO!
DISK HOGS
Temporary storage
HelpSystems LLC. All rights reserved.
DISK HOGS
System symptoms:
• Overall system DASD is rapidly being consumed as a result of underlying temporary
storage being used by a runaway job
Impact:
• Until the job(s) causing this are identified and the issue resolved, expect:
o Additional disk requirement
o Potential system failure if left unchecked
Runaway
job
Temporary
storage
Overall
DASD
Temporary storage
HelpSystems LLC. All rights reserved.
Common example:
• Java memory leak—Java job allocates memory to run tasks, but never
returns memory to OS after finishing task
Challenges to identification:
• Where is storage being used?
• Which jobs are consuming temporary storage?
DISK HOGS
Temporary storage
HelpSystems LLC. All rights reserved.
Step 1: Use the command WRKSYSSTS to determine 2 values:
• Current temporary storage consumption
• Peak temporary storage consumption
DISK HOGS
Reactive approach
HelpSystems LLC. All rights reserved.
Step 2: Run the WRKSYSACT command as follows: WRKSYSACT
SEQ(*STGNET) to determine which jobs are using the most temporary storage
• Only shows jobs that have had activity since the last collection
• Can also include permanent storage
DISK HOGS
Reactive approach
HelpSystems LLC. All rights reserved.
Step 1:
• Real-time visibility of the temporary storage being used by each subsystem
Step 2:
• Immediate access
to offending jobs
for resolution
• Threshold levels
for early detection
DISK HOGS
Proactive approach
HelpSystems LLC. All rights reserved.
• Identify and manage temporary storage hogs
LIVE DEMO
HelpSystems LLC. All rights reserved.
• Resource-hogging scenarios and jobs
– How to identify them
• Qualify impact on CPU,
memory, and storage
– How this will affect users and applications
• Identify and address resource
hogs automatically
– Thresholds and notification
RECAP and Q&A
HelpSystems LLC. All rights reserved.
Upcoming Performance Monitoring Webinars
• SQL-Based Monitoring
– September 7
• Real-Time Disk Monitoring
– September 28
Integrating Robot Monitor into your infrastructure
HelpSystems LLC. All rights reserved.
Thank you for attending!
Contact Information
Website:
www.helpsystems.com/robot
Telephone:
800-328-1000 sales
+1 952-933-0609 support
Presenters:
chuck.losinski@helpsystems.com
kurt.thomas@helpsystems.com

More Related Content

What's hot

The 5 Minute MySQL DBA
The 5 Minute MySQL DBAThe 5 Minute MySQL DBA
The 5 Minute MySQL DBA
Irawan Soetomo
 
Five Cliches of Online Game Development
Five Cliches of Online Game DevelopmentFive Cliches of Online Game Development
Five Cliches of Online Game Development
iandundore
 
Performance Analysis of Idle Programs
Performance Analysis of Idle ProgramsPerformance Analysis of Idle Programs
Performance Analysis of Idle Programs
greenwop
 
Survey of task scheduler
Survey of task schedulerSurvey of task scheduler
Survey of task schedulerelisha25
 
2016-04-28 - VU Amsterdam - testing safety critical systems
2016-04-28 - VU Amsterdam - testing safety critical systems2016-04-28 - VU Amsterdam - testing safety critical systems
2016-04-28 - VU Amsterdam - testing safety critical systems
Jaap van Ekris
 
Infrastructure as Code to Maintain your Sanity
Infrastructure as Code to Maintain your SanityInfrastructure as Code to Maintain your Sanity
Infrastructure as Code to Maintain your Sanity
Dewey Sasser
 
Self healing data
Self healing dataSelf healing data
Self healing data
Uwe Friedrichsen
 
Devops for Developers
Devops for DevelopersDevops for Developers
Devops for Developers
Uwe Friedrichsen
 
Managing Performance in a Virtual Environment
Managing Performance in a Virtual EnvironmentManaging Performance in a Virtual Environment
Managing Performance in a Virtual Environment
SolarWinds
 

What's hot (11)

Rtos
RtosRtos
Rtos
 
The 5 Minute MySQL DBA
The 5 Minute MySQL DBAThe 5 Minute MySQL DBA
The 5 Minute MySQL DBA
 
Five Cliches of Online Game Development
Five Cliches of Online Game DevelopmentFive Cliches of Online Game Development
Five Cliches of Online Game Development
 
Performance Analysis of Idle Programs
Performance Analysis of Idle ProgramsPerformance Analysis of Idle Programs
Performance Analysis of Idle Programs
 
Survey of task scheduler
Survey of task schedulerSurvey of task scheduler
Survey of task scheduler
 
2016-04-28 - VU Amsterdam - testing safety critical systems
2016-04-28 - VU Amsterdam - testing safety critical systems2016-04-28 - VU Amsterdam - testing safety critical systems
2016-04-28 - VU Amsterdam - testing safety critical systems
 
Infrastructure as Code to Maintain your Sanity
Infrastructure as Code to Maintain your SanityInfrastructure as Code to Maintain your Sanity
Infrastructure as Code to Maintain your Sanity
 
Self healing data
Self healing dataSelf healing data
Self healing data
 
Devops for Developers
Devops for DevelopersDevops for Developers
Devops for Developers
 
Managing Performance in a Virtual Environment
Managing Performance in a Virtual EnvironmentManaging Performance in a Virtual Environment
Managing Performance in a Virtual Environment
 
Desk Maintenance
Desk MaintenanceDesk Maintenance
Desk Maintenance
 

Similar to Stop Feeding IBM i Performance Hogs - Robot

Open source: Top issues in the top enterprise packages
Open source: Top issues in the top enterprise packagesOpen source: Top issues in the top enterprise packages
Open source: Top issues in the top enterprise packages
Rogue Wave Software
 
IBM i Resources Retiring?
IBM i Resources Retiring?IBM i Resources Retiring?
IBM i Resources Retiring?
HelpSystems
 
The Diabolical Developers Guide to Performance Tuning
The Diabolical Developers Guide to Performance TuningThe Diabolical Developers Guide to Performance Tuning
The Diabolical Developers Guide to Performance Tuning
jClarity
 
Techno-Fest-15nov16
Techno-Fest-15nov16Techno-Fest-15nov16
Techno-Fest-15nov16
Satish Navkar
 
How to manage and monitor large sql server estates
How to manage and monitor large sql server estatesHow to manage and monitor large sql server estates
How to manage and monitor large sql server estates
Red Gate Software
 
Automate Server Mastery by Stack Advisors - Automation Nation 2018
Automate Server Mastery by Stack Advisors - Automation Nation 2018Automate Server Mastery by Stack Advisors - Automation Nation 2018
Automate Server Mastery by Stack Advisors - Automation Nation 2018
Scott Wilson
 
WebSphere Technical University: Introduction to the Java Diagnostic Tools
WebSphere Technical University: Introduction to the Java Diagnostic ToolsWebSphere Technical University: Introduction to the Java Diagnostic Tools
WebSphere Technical University: Introduction to the Java Diagnostic Tools
Chris Bailey
 
Autosar Basics hand book_v1
Autosar Basics  hand book_v1Autosar Basics  hand book_v1
Autosar Basics hand book_v1
Keroles karam khalil
 
Velocity 2015 linux perf tools
Velocity 2015 linux perf toolsVelocity 2015 linux perf tools
Velocity 2015 linux perf tools
Brendan Gregg
 
Lec 3
Lec 3 Lec 3
Lec 3
mohamed ali
 
Performance tuning Grails applications
Performance tuning Grails applicationsPerformance tuning Grails applications
Performance tuning Grails applications
Lari Hotari
 
Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar
Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent OzarGeek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar
Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar
IDERA Software
 
TechGIG_Memory leaks in_java_webnair_26th_july_2012
TechGIG_Memory leaks in_java_webnair_26th_july_2012TechGIG_Memory leaks in_java_webnair_26th_july_2012
TechGIG_Memory leaks in_java_webnair_26th_july_2012
Ashish Bhasin
 
Raising ux bar with offline first design
Raising ux bar with offline first designRaising ux bar with offline first design
Raising ux bar with offline first design
Kyrylo Reznykov
 
Performance Analysis: The USE Method
Performance Analysis: The USE MethodPerformance Analysis: The USE Method
Performance Analysis: The USE Method
Brendan Gregg
 
Got Problems? Let's Do a Health Check
Got Problems? Let's Do a Health CheckGot Problems? Let's Do a Health Check
Got Problems? Let's Do a Health CheckLuis Guirigay
 
Scaling a Web Site - OSCON Tutorial
Scaling a Web Site - OSCON TutorialScaling a Web Site - OSCON Tutorial
Scaling a Web Site - OSCON Tutorial
duleepa
 
Performance tuning Grails Applications GR8Conf US 2014
Performance tuning Grails Applications GR8Conf US 2014Performance tuning Grails Applications GR8Conf US 2014
Performance tuning Grails Applications GR8Conf US 2014
Lari Hotari
 
Performance tuning Grails applications
 Performance tuning Grails applications Performance tuning Grails applications
Performance tuning Grails applications
GR8Conf
 
Computer system organization
Computer system organizationComputer system organization
Computer system organization
Syed Zaid Irshad
 

Similar to Stop Feeding IBM i Performance Hogs - Robot (20)

Open source: Top issues in the top enterprise packages
Open source: Top issues in the top enterprise packagesOpen source: Top issues in the top enterprise packages
Open source: Top issues in the top enterprise packages
 
IBM i Resources Retiring?
IBM i Resources Retiring?IBM i Resources Retiring?
IBM i Resources Retiring?
 
The Diabolical Developers Guide to Performance Tuning
The Diabolical Developers Guide to Performance TuningThe Diabolical Developers Guide to Performance Tuning
The Diabolical Developers Guide to Performance Tuning
 
Techno-Fest-15nov16
Techno-Fest-15nov16Techno-Fest-15nov16
Techno-Fest-15nov16
 
How to manage and monitor large sql server estates
How to manage and monitor large sql server estatesHow to manage and monitor large sql server estates
How to manage and monitor large sql server estates
 
Automate Server Mastery by Stack Advisors - Automation Nation 2018
Automate Server Mastery by Stack Advisors - Automation Nation 2018Automate Server Mastery by Stack Advisors - Automation Nation 2018
Automate Server Mastery by Stack Advisors - Automation Nation 2018
 
WebSphere Technical University: Introduction to the Java Diagnostic Tools
WebSphere Technical University: Introduction to the Java Diagnostic ToolsWebSphere Technical University: Introduction to the Java Diagnostic Tools
WebSphere Technical University: Introduction to the Java Diagnostic Tools
 
Autosar Basics hand book_v1
Autosar Basics  hand book_v1Autosar Basics  hand book_v1
Autosar Basics hand book_v1
 
Velocity 2015 linux perf tools
Velocity 2015 linux perf toolsVelocity 2015 linux perf tools
Velocity 2015 linux perf tools
 
Lec 3
Lec 3 Lec 3
Lec 3
 
Performance tuning Grails applications
Performance tuning Grails applicationsPerformance tuning Grails applications
Performance tuning Grails applications
 
Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar
Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent OzarGeek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar
Geek Sync | Planning a SQL Server to Azure Migration in 2021 - Brent Ozar
 
TechGIG_Memory leaks in_java_webnair_26th_july_2012
TechGIG_Memory leaks in_java_webnair_26th_july_2012TechGIG_Memory leaks in_java_webnair_26th_july_2012
TechGIG_Memory leaks in_java_webnair_26th_july_2012
 
Raising ux bar with offline first design
Raising ux bar with offline first designRaising ux bar with offline first design
Raising ux bar with offline first design
 
Performance Analysis: The USE Method
Performance Analysis: The USE MethodPerformance Analysis: The USE Method
Performance Analysis: The USE Method
 
Got Problems? Let's Do a Health Check
Got Problems? Let's Do a Health CheckGot Problems? Let's Do a Health Check
Got Problems? Let's Do a Health Check
 
Scaling a Web Site - OSCON Tutorial
Scaling a Web Site - OSCON TutorialScaling a Web Site - OSCON Tutorial
Scaling a Web Site - OSCON Tutorial
 
Performance tuning Grails Applications GR8Conf US 2014
Performance tuning Grails Applications GR8Conf US 2014Performance tuning Grails Applications GR8Conf US 2014
Performance tuning Grails Applications GR8Conf US 2014
 
Performance tuning Grails applications
 Performance tuning Grails applications Performance tuning Grails applications
Performance tuning Grails applications
 
Computer system organization
Computer system organizationComputer system organization
Computer system organization
 

More from HelpSystems

El Estado de la Seguridad de IBM i en 2020
El Estado de la Seguridad de IBM i en 2020El Estado de la Seguridad de IBM i en 2020
El Estado de la Seguridad de IBM i en 2020
HelpSystems
 
Ciberseguridad Cómo identificar con certeza dispositivos comprometidos en la...
Ciberseguridad  Cómo identificar con certeza dispositivos comprometidos en la...Ciberseguridad  Cómo identificar con certeza dispositivos comprometidos en la...
Ciberseguridad Cómo identificar con certeza dispositivos comprometidos en la...
HelpSystems
 
Rbt jdbc odbc webinar
Rbt jdbc odbc webinar Rbt jdbc odbc webinar
Rbt jdbc odbc webinar
HelpSystems
 
RPA en 45 minutos
RPA en 45 minutos RPA en 45 minutos
RPA en 45 minutos
HelpSystems
 
Webinar go anywhere_mft_scripts
Webinar go anywhere_mft_scriptsWebinar go anywhere_mft_scripts
Webinar go anywhere_mft_scripts
HelpSystems
 
Automatización de Procesos de IT
Automatización de Procesos de ITAutomatización de Procesos de IT
Automatización de Procesos de IT
HelpSystems
 
Hs 2020-ibmi-marketplace-spanish v3
Hs 2020-ibmi-marketplace-spanish v3Hs 2020-ibmi-marketplace-spanish v3
Hs 2020-ibmi-marketplace-spanish v3
HelpSystems
 
Mft 45 minutos
Mft 45 minutosMft 45 minutos
Mft 45 minutos
HelpSystems
 
Caso de éxito Zurich automatiza sus procesos críticos de Negocio con RPA
Caso de éxito  Zurich automatiza sus procesos críticos de Negocio con RPACaso de éxito  Zurich automatiza sus procesos críticos de Negocio con RPA
Caso de éxito Zurich automatiza sus procesos críticos de Negocio con RPA
HelpSystems
 
Centro de Excelencia en Automatización 3
Centro de Excelencia en Automatización 3Centro de Excelencia en Automatización 3
Centro de Excelencia en Automatización 3
HelpSystems
 
Cómo crear un Centro de Excelencia de Automatización 2
Cómo crear un Centro de Excelencia de Automatización 2Cómo crear un Centro de Excelencia de Automatización 2
Cómo crear un Centro de Excelencia de Automatización 2
HelpSystems
 
Construyendo un Centro de Excelencia de Automatización PARTE 1
Construyendo un Centro de Excelencia de Automatización PARTE 1Construyendo un Centro de Excelencia de Automatización PARTE 1
Construyendo un Centro de Excelencia de Automatización PARTE 1
HelpSystems
 
Webinar Vityl IT & Business Monitoring
Webinar Vityl IT & Business MonitoringWebinar Vityl IT & Business Monitoring
Webinar Vityl IT & Business Monitoring
HelpSystems
 
1 año de RGPD: 3 formas en las que HelpSystems puede ayudar
1 año de RGPD:  3 formas en las que HelpSystems puede ayudar1 año de RGPD:  3 formas en las que HelpSystems puede ayudar
1 año de RGPD: 3 formas en las que HelpSystems puede ayudar
HelpSystems
 
Mft 45 minutos
Mft 45 minutosMft 45 minutos
Mft 45 minutos
HelpSystems
 
Automate feature tour
Automate feature tourAutomate feature tour
Automate feature tour
HelpSystems
 
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
HelpSystems
 
5 problemas del intercambio de archivos mediante scripts
5 problemas del intercambio de archivos mediante scripts5 problemas del intercambio de archivos mediante scripts
5 problemas del intercambio de archivos mediante scripts
HelpSystems
 
CASO DE ÉXITO: Grupo Banco San Juan
CASO DE ÉXITO: Grupo Banco San JuanCASO DE ÉXITO: Grupo Banco San Juan
CASO DE ÉXITO: Grupo Banco San Juan
HelpSystems
 
Webinar Security Scan
Webinar Security ScanWebinar Security Scan
Webinar Security Scan
HelpSystems
 

More from HelpSystems (20)

El Estado de la Seguridad de IBM i en 2020
El Estado de la Seguridad de IBM i en 2020El Estado de la Seguridad de IBM i en 2020
El Estado de la Seguridad de IBM i en 2020
 
Ciberseguridad Cómo identificar con certeza dispositivos comprometidos en la...
Ciberseguridad  Cómo identificar con certeza dispositivos comprometidos en la...Ciberseguridad  Cómo identificar con certeza dispositivos comprometidos en la...
Ciberseguridad Cómo identificar con certeza dispositivos comprometidos en la...
 
Rbt jdbc odbc webinar
Rbt jdbc odbc webinar Rbt jdbc odbc webinar
Rbt jdbc odbc webinar
 
RPA en 45 minutos
RPA en 45 minutos RPA en 45 minutos
RPA en 45 minutos
 
Webinar go anywhere_mft_scripts
Webinar go anywhere_mft_scriptsWebinar go anywhere_mft_scripts
Webinar go anywhere_mft_scripts
 
Automatización de Procesos de IT
Automatización de Procesos de ITAutomatización de Procesos de IT
Automatización de Procesos de IT
 
Hs 2020-ibmi-marketplace-spanish v3
Hs 2020-ibmi-marketplace-spanish v3Hs 2020-ibmi-marketplace-spanish v3
Hs 2020-ibmi-marketplace-spanish v3
 
Mft 45 minutos
Mft 45 minutosMft 45 minutos
Mft 45 minutos
 
Caso de éxito Zurich automatiza sus procesos críticos de Negocio con RPA
Caso de éxito  Zurich automatiza sus procesos críticos de Negocio con RPACaso de éxito  Zurich automatiza sus procesos críticos de Negocio con RPA
Caso de éxito Zurich automatiza sus procesos críticos de Negocio con RPA
 
Centro de Excelencia en Automatización 3
Centro de Excelencia en Automatización 3Centro de Excelencia en Automatización 3
Centro de Excelencia en Automatización 3
 
Cómo crear un Centro de Excelencia de Automatización 2
Cómo crear un Centro de Excelencia de Automatización 2Cómo crear un Centro de Excelencia de Automatización 2
Cómo crear un Centro de Excelencia de Automatización 2
 
Construyendo un Centro de Excelencia de Automatización PARTE 1
Construyendo un Centro de Excelencia de Automatización PARTE 1Construyendo un Centro de Excelencia de Automatización PARTE 1
Construyendo un Centro de Excelencia de Automatización PARTE 1
 
Webinar Vityl IT & Business Monitoring
Webinar Vityl IT & Business MonitoringWebinar Vityl IT & Business Monitoring
Webinar Vityl IT & Business Monitoring
 
1 año de RGPD: 3 formas en las que HelpSystems puede ayudar
1 año de RGPD:  3 formas en las que HelpSystems puede ayudar1 año de RGPD:  3 formas en las que HelpSystems puede ayudar
1 año de RGPD: 3 formas en las que HelpSystems puede ayudar
 
Mft 45 minutos
Mft 45 minutosMft 45 minutos
Mft 45 minutos
 
Automate feature tour
Automate feature tourAutomate feature tour
Automate feature tour
 
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
 
5 problemas del intercambio de archivos mediante scripts
5 problemas del intercambio de archivos mediante scripts5 problemas del intercambio de archivos mediante scripts
5 problemas del intercambio de archivos mediante scripts
 
CASO DE ÉXITO: Grupo Banco San Juan
CASO DE ÉXITO: Grupo Banco San JuanCASO DE ÉXITO: Grupo Banco San Juan
CASO DE ÉXITO: Grupo Banco San Juan
 
Webinar Security Scan
Webinar Security ScanWebinar Security Scan
Webinar Security Scan
 

Recently uploaded

TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Hivelance Technology
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
Jelle | Nordend
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
Sharepoint Designs
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
Peter Caitens
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 

Recently uploaded (20)

TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 

Stop Feeding IBM i Performance Hogs - Robot

  • 1. All trademarks and registered trademarks are the property of their respective owners.© HelpSystems LLC. All rights reserved. How Robot Monitor can help you pen up runaway processes before they cause problems Stop Feeding IBM i Performance Hogs
  • 2. HelpSystems LLC. All rights reserved. YOUR HOSTS Chuck Losinski Director of Automation Technology HelpSystems Broadcasting live from Eden Prairie, Minnesota USA and Düsseldorf, Germany Kurt Thomas System Engineer HelpSystems
  • 3. HelpSystems LLC. All rights reserved. • Resource-hogging scenarios and jobs • Qualify impact on CPU, memory, and storage • Identify and address resource hogs automatically AGENDA
  • 4. HelpSystems LLC. All rights reserved. MOST COMMON HOGS What types are most common? • CPU hogs • Main storage hogs • Temporary storage hogs How can you locate them and take action? • A reactive solution: WRKACTJOB, WRKSYSACT, iNAV • A proactive solution: Robot Monitor These impact job run time
  • 5. HelpSystems LLC. All rights reserved. Why are these issues so problematic to an IBM i environment? • Rapid resource consumption • Need to be found quickly Resource Hogs • Limited • Expensive Resources PROBLEM PROBLEM PROBLEM User impact Demand for more resources System failure CHALLENGES
  • 7. HelpSystems LLC. All rights reserved. What is the impact on your enterprise? System symptoms: • CPU is being rapidly consumed Impact: • Until the job(s) causing this are identified and the issue resolved, expect: o Additional resource expenditure o Impairment of user productivity o Impact on many systems o POS, web, DB, GUI, credit cards Rapid CPU consumption Operators in race against the clock to identify CPU hogs System productivity is maintained only by feeding extra resources All of which consumes more resources Underlying issue remains until the team runs out of resources or resolves it! CPU HOGS
  • 8. HelpSystems LLC. All rights reserved. QZDASOINIT and QSQSRVR Jobs What are they? • DB2 database server jobs What do they do? • Let applications pull information from, and modify, information in DB2 on IBM i • QZDASOINIT jobs implement ODBC, JDBC • QSQSRVR implements Server Mode = IBM-flavor ODBC Why so problematic? • The issue with QZDASOINIT and QSQSRVR jobs is not the jobs themselves— it is poorly-written SQL code running in them that causes the issues. CPU HOGS
  • 9. HelpSystems LLC. All rights reserved. CPU HOGS How to find the maximum number of QZDASOINIT jobs in QUSRWRK Step 1: Run DSPSBSD SBSD(QUSRWRK)
  • 10. HelpSystems LLC. All rights reserved. CPU HOGS How to find the maximum number of QZDASOINIT jobs in QUSRWRK Step 2: Select Option 10 (Display Prestart Job Entries)
  • 11. HelpSystems LLC. All rights reserved. CPU HOGS How to find the maximum number of QZDASOINIT jobs in QUSRWRK Step 3: Select Option 5 (Display Details on QZDASOINIT) Result: The maximum number of jobs and uses
  • 12. HelpSystems LLC. All rights reserved. CPU HOGS How to display Active Prestart Jobs Step 1: Run DSPACTPJ SBS(QUSRWRK) PGM(QZDASOINIT) Result: Shows the current number of prestart jobs and how many are still in use
  • 13. HelpSystems LLC. All rights reserved. CPU HOGS How do we find the offending job FAST? Common example: • QZDASOINIT jobs Challenges to identification: • Jobs all share the same name • Potentially hundreds of jobs could be contributing to the issue • The longer this process takes, the more CPU is consumed and the greater the risks and impact on resources
  • 14. HelpSystems LLC. All rights reserved. CPU HOGS Reactive approach Step 1: WRKACTJOB followed by manual batch investigation and resolution at the job level on each LPAR you manage
  • 15. HelpSystems LLC. All rights reserved. CPU HOGS Troubleshooting Big picture questions: • Who is running these jobs? • What proportion of overall CPU are these jobs consuming? Conclusion: • Greater insight will provide deeper understanding and context to any issues, which will result in faster problem resolution.
  • 16. HelpSystems LLC. All rights reserved. CPU HOGS Proactive approach • Step 1: Real-time visibility • Step 2: Immediate access to jobs for resolution and threshold levels for early detection
  • 17. HelpSystems LLC. All rights reserved. CPU HOGS Proactive approach Data definitions: Define by any/all systems + Define by job name
  • 18. HelpSystems LLC. All rights reserved. CPU HOGS Proactive approach Thresholds: Custom thresholds and proactive alerts
  • 19. HelpSystems LLC. All rights reserved. CPU HOGS Proactive approach Monitored groups: Granular monitoring can extend to subsystem, accounting code, user, current user, job, and function
  • 20. HelpSystems LLC. All rights reserved. • Identify and manage CPU hogs LIVE DEMO
  • 22. HelpSystems LLC. All rights reserved. Page faults System symptoms: • The number of paging faults rapidly increases, a condition known as “thrashing” Impact: • Until the job(s) causing this are identified and the issue resolved, expect: o Number of page faults to rapidly rise o Jobs to take longer and longer to execute o Impairment of user productivity Data loaded/ re-loaded into memory Batch job begins to process Interactive job flushes memory records Batch job can’t access the records (faulting occurs) and... Thrashing Cycle MAIN STORAGE HOGS (RAM)
  • 23. HelpSystems LLC. All rights reserved. Reactive approach Step 1: Access the Work with System Status screen to show number of page faults in each memory pool MAIN STORAGE HOGS
  • 24. HelpSystems LLC. All rights reserved. Troubleshooting Big picture questions: • Which jobs are responsible for causing problems in these memory pools? • Which subsystem(s) are using these memory pools? Conclusion: • Greater insight will give more meaningful understanding and context to any issues for faster problem resolution. MAIN STORAGE HOGS
  • 25. HelpSystems LLC. All rights reserved. Proactive approach Step 1: Real-time visibility of dedicated NDB bar shows us the overall system faults/second. Stage 2: Immediate access to offending jobs for resolution. Threshold levels for early detection. MAIN STORAGE HOGS
  • 26. HelpSystems LLC. All rights reserved. • Identify and manage main storage hogs (thrashing) LIVE DEMO
  • 28. HelpSystems LLC. All rights reserved. What is temporary storage? • Storage allocated by the OS in the system ASP (disk). Its contents will be cleaned up when an IPL is performed. • Programs loaded into the activation group and the associated variables, heap space (Java as well as other HLL APIs, i.e., malloc, calloc), open data paths, etc. Temporary storage? YES! • Objects in QTEMP libraries Temporary storage? NO! DISK HOGS Temporary storage
  • 29. HelpSystems LLC. All rights reserved. DISK HOGS System symptoms: • Overall system DASD is rapidly being consumed as a result of underlying temporary storage being used by a runaway job Impact: • Until the job(s) causing this are identified and the issue resolved, expect: o Additional disk requirement o Potential system failure if left unchecked Runaway job Temporary storage Overall DASD Temporary storage
  • 30. HelpSystems LLC. All rights reserved. Common example: • Java memory leak—Java job allocates memory to run tasks, but never returns memory to OS after finishing task Challenges to identification: • Where is storage being used? • Which jobs are consuming temporary storage? DISK HOGS Temporary storage
  • 31. HelpSystems LLC. All rights reserved. Step 1: Use the command WRKSYSSTS to determine 2 values: • Current temporary storage consumption • Peak temporary storage consumption DISK HOGS Reactive approach
  • 32. HelpSystems LLC. All rights reserved. Step 2: Run the WRKSYSACT command as follows: WRKSYSACT SEQ(*STGNET) to determine which jobs are using the most temporary storage • Only shows jobs that have had activity since the last collection • Can also include permanent storage DISK HOGS Reactive approach
  • 33. HelpSystems LLC. All rights reserved. Step 1: • Real-time visibility of the temporary storage being used by each subsystem Step 2: • Immediate access to offending jobs for resolution • Threshold levels for early detection DISK HOGS Proactive approach
  • 34. HelpSystems LLC. All rights reserved. • Identify and manage temporary storage hogs LIVE DEMO
  • 35. HelpSystems LLC. All rights reserved. • Resource-hogging scenarios and jobs – How to identify them • Qualify impact on CPU, memory, and storage – How this will affect users and applications • Identify and address resource hogs automatically – Thresholds and notification RECAP and Q&A
  • 36. HelpSystems LLC. All rights reserved. Upcoming Performance Monitoring Webinars • SQL-Based Monitoring – September 7 • Real-Time Disk Monitoring – September 28 Integrating Robot Monitor into your infrastructure
  • 37. HelpSystems LLC. All rights reserved. Thank you for attending! Contact Information Website: www.helpsystems.com/robot Telephone: 800-328-1000 sales +1 952-933-0609 support Presenters: chuck.losinski@helpsystems.com kurt.thomas@helpsystems.com