Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

High CPU usage and high EXCP count in "idle" z/OS Connect EE server

1000004JHC gravatar image
Question by BillBulfin  (11793) | Apr 30, 2018 at 11:59 AM performancezosconnectzcee

What is causing my z/OS Connect EE server use a large amount of CPU time and perform millions of EXCPs even though the server is essentially idle? I am running z/OS Connect Enterprise Edition V3 CD.

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
1000004JHC gravatar image
Accepted answer

Answer by BillBulfin (11793) | Feb 11 at 11:41 AM

There are several monitors within a z/OS Connect EE server that poll resources periodically looking for updates or new resources. The CICS Service Provider using IPIC connections, also periodically heartbeats the CICS region connections. Both of those can drive up CPU and EXCP counts.

If the high CPU and EXCPs only occur when the CICS Service Provider is initializing, that could be due to security SSL handshake activity on all the configured connections. You can check your server.xml (as well as any include xml files) for polling activity and pollingRate for the following configuration elements. If any of the updateTrigger attributes defaults or specified "polled" is causing too much CPU or EXCPs, consult the IBM documentation Configuration elements for those elements to determine other values that would reduce the polling rate or disable the polling altogether and consider alternatively manually refreshing the configuration on-demand using the command /MODIFY <jobname>.<identifier>,ZCON,REFRESH.

Here are the default update methods and for z/OS Connect EE configuration elements:

  • config element defaults to: monitorInterval="500ms" updateTrigger="polled"

  • applicationMonitor element defaults to: pollingRate="500ms" updateTrigger="polled"

  • keyStore element defaults to: updateTrigger="mbean" (applicable for some security configurations)

  • zosconnect_zosConnectAPIs element defaults to: pollingRate="5s" updateTrigger="disabled"

  • zosconnect_services element defaults to: pollingRate="5s" updateTrigger="disabled"

  • zosconnect_apiRequesters element defaults to: pollingRate="5s" updateTrigger="disabled"

  • zosconnect_policy element defaults to: pollingRate="1m" updateTrigger="disabled"

  • zosconnect_zosConnectDataXform element defaults to: pollingRate="2s" updateTrigger="polled"

By default, the only ones that are not updateTrigger="disabled" are for 'config', 'applicationMonitor' (which should not be used), and 'zosconnect_zosConnectDataXform'.

If you update your server.xml to disable all updateTrigger attributes in all the configuration elements you use, except for the config element where updateTrigger="mbean", then with the zosConnectCommands feature...

  <feature>zosconnect:zosConnectCommands-1.0</feature>

...you should be able use the command...

 MODIFY <jobname>.<identifier>,zcon,refresh

This should allow you to dynamically update the server artifacts.

Then update the attribute values of these configuration elements as follows:

  • config element set: updateTrigger="mbean"

  • applicationMonitor element set: updateTrigger="disabled

  • zosconnect_zosConnectAPIs element set: updateTrigger="disabled" (the default)

  • zosconnect_services element set: updateTrigger="disabled" (the default)

  • zosconnect_apiRequesters element set: updateTrigger="disabled" (the default)

  • zosconnect_policy element set: updateTrigger="disabled" (the default)

  • zosconnect_zosConnectDataXform element set: updateTrigger="disabled"

See The MODIFY command and REFRESH MODIFY command syntax in the z/OS Connect EE V3 IBM documentation for a description and the syntax of the MODIFY command.

If using the CICS service provider, it has a default heartbeatinterval of 30s (second precision). However, you should review the heartbeatinterval setting to ensure it is not too low or that the time unit qualifier has not been omitted. For example, if you specify "heartbeatinterval=15" (no second or millisecond time unit qualifier) the default time unit is in milliseconds and will result in high CPU and EXCP counts in an idle server if CICS IPIC connections have been established.

This heartbeatinterval is described in topic Configuration elements of the z/OS Connect EE documentation.

If updating the heartbeatinterval does not change the observed high-CPU, you might also want to try modifying the heartbeatInterval attribute to a value of 0 to disable the heartbeats and monitor the CPU using SDSF DISPLAY ACTIVE.

If after setting heartbeatInterval=0 in the zosconnect_cicsIpicConnection config element in the server.xml, you still see high CPU in the idle z/OS Connect EE server and all file monitors have been disabled, update your server.xml to add tracing for:

  <logging traceSpecification="zosConnectFileMonitor=all"/>

After you restart the z/OS Connect EE server with the --clean option, when you observe high CPU and high EXCP activity, enter command:

 /MODIFY <server>,DUMP

to produce a compressed .zip dump and contact IBM Support for assistance.

Bill Bulfin
IBM zCEE L2 Support

Comment
87Q0_Anthony_Randolph

People who like this

  1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

139 people are following this question.

Answers

Answers & comments

Related questions

Configuring IMS to access z/OS Connect EE for API calls. 2 Answers

ZOS connect EE API requester issue : Unable to invoke external API from a CICS transaction program 1 Answer

CWWKE0702E Could not resolve module com.ibm.zosconnect.logger.fs, after upgrading z/OS Connect to v3.0.9 (PI96947) 1 Answer

[zosconnect] - API/Services path/name standards 1 Answer

CWWKO0801E Error while executing a COBOL Program that call an IMS RESTful API. 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges