
Identify and resolve application server performance bottlenecks by addressing thread starvation, excessive GC activity, memory pressure, out-of-memory errors, blocked connections from connection pool limits, and high CPU usage in WebSphere.
Learn how WebSphere routes http, https, soap, and rmi over iop requests to web or ejb containers and manages thread pools and their lifecycles.
Explore how web server and application server thread pools handle requests in IBM WebSphere, detailing listener and execution threads, kernel threads, web container, ejb, work manager, and jms threads.
Explain how WebSphere selects and dispatches worker threads from web, container, EJB/ORB, and JMS pools, handles waiting for resources, and returns threads to the pool after processing requests.
Explore how WebSphere allocates Java heap per thread for requests and session data; relate thread dumps to heap dumps and tune GC and pools to reduce OOM and pauses.
Understand the java heap architecture, including eden space, survivor spaces, young and old generations, minor and major gc, and metaspace as the non-heap memory.
Explain how objects move from stack to heap, become garbage when unreferenced, and are reclaimed by garbage collection cycles across eden, survivor spaces, and old generation.
Explore how garbage collection works in the JVM, including minor and major GC, eden and survivor spaces, and GC policies.
Diagnose Java out-of-memory issues by analyzing logs, heap dumps, and GC logs to identify memory mismanagement, insufficient heap, or excessive GC, then optimize object allocation and tuning.
Diagnose memory leaks in Java apps caused by unclosed streams, JDBC connections, and lingering references, and apply fixes like proper closing, weak/soft references, and GC/metaspace tuning.
Diagnose excessive garbage collection by examining the young and old generations, adjust eden space and survivor ratios, adopt G1 GC, and enable string deduplication to reduce pauses.
Understand heap fragmentation from varying object sizes and apply gc policies like G1, G2, and gc-ms to reduce it, and remove thread local objects after use to prevent memory lingering.
Explore session replication across cluster servers, including memory-to-memory, database, and file-based methods, plus session persistence, and session affinity with J session id cookies in WebSphere.
Understand session affinity (sticky sessions) and its role in directing requests to a single server, enabling memory-based session replication for high availability, with cookie, plugin, and load balancer roles.
Learn how WebSphere replicates user sessions across a cluster to enable failover and high availability through memory-to-memory, database, or file-based replication, ensuring persistence during server failures.
Discover DynaCache, a distributed in-memory caching system in WebSphere that stores servlet and EJB results, JSP outputs, and edge side includes fragments to boost performance.
Learn how session affinity, replication, and persistence function in IBM WebSphere, configure cookies and sticky sessions via front-end load balancers, and enable data caching to improve standalone server performance.
Configure a two-node IBM WebSphere cluster with session replication and dynamic caching. Enable memory to memory HTTP session replication and create a replication domain to support failover and performance.
Explore configuring session replication and dynamic caching in a distributed environment using JDBC session persistence, data sources, and deployment descriptors to optimize performance and survive server restarts.
Configure JDBC session persistence by creating and mapping a data source with credentials to store sessions in the database, enabling persistence across server restarts in distributed and standalone WebSphere environments.
Explore how WebSphere uses JNDI to look up data sources, manages JDBC connections via per data source pools, and serves applications with deployment descriptors and the data source lookup.
Explore how data sources are looked up with JNDI, how thread pools and connection pools operate, and how to tune heap memory, garbage collection, and system resources for WebSphere performance.
Explore purge policies that remove stale or dead connections from the pool and compare entire pool versus failing connections only. Practice enabling connection validation to maintain pool integrity and performance.
Learn how WebSphere manages a database connection pool, tuning minimum and maximum pool sizes, timeouts (connection, unused, aged), and maintenance checks to prevent contention and ensure fast, reliable database access.
Detect leaked connections in WebSphere's pool and reclaim them after a configured timeout; ensure developers close connections via DS.dataSource.getConnection to prevent leaks.
Increase the statement cache size per WebSphere connection to cache prepared statements, reuse frequent SQL, and reduce parsing and compilation overhead; default is ten per connection.
Understand the two types of data sources in WebSphere, non xa for single databases and xa for distributed transactions with two-phase commit across multiple systems.
Increase WebSphere connection pool parameters for a high-traffic e-commerce site to reduce timeouts and database CPU pressure, improve response times, and ensure healthy connections through validation and monitoring.
Align WebSphere thread pool with expected DB calls per request using the formula thread pool max divided by expected DB calls per request into 1.5, with data source tuning.
Learn how to create a jdbc provider, a java authentication and authorization service alias, and an oracle data source in websphere, including scope decisions and connection pool mapping.
Configure an Oracle jdbc provider, create a data source, and tune connection pool properties—connection timeout, maximum and minimum connections, read time, unused timeout, and purge policy—to optimize performance.
Understand how a heap dump snapshot captures a JVM memory, including heap and metaspace, live objects, and gc data, to diagnose memory leaks and allocation patterns.
Learn to capture heap dumps with multiple methods, including automatic dumps on out-of-memory events via JVM properties and a defined dump path, and using dbus admin, dcmd, and gmap.
IBM Deep Analyzer loads the heap dump to show memory usage and the dominator tree. It flags leaks with the leak suspect report and shows large objects via histogram views.
Investigate common WebSphere heap memory issues by analyzing dumps for leaks, identify root causes, and learn fixes such as weak hash maps and thread-local cleanup.
Learn how a WebSphere server memory dump reveals a 2.5 million-entry HashMap holding user sessions, and how switching to a weak HashMap with TTL cleanup stabilizes memory.
Learn to open and analyze a heap dump with IBM's heap dump analyzer, downloaded from the IBM portal, and compare with open-source tools to gain insights and possible fixes.
Analyze a heap dump with the analyzer to identify memory leaks. Trace roots like zero-parent objects, stack overflow, unbounded collections, and static variables in WebSphere.
Learn how to tune heap memory in WebSphere by selecting appropriate GC policies and algorithms, such as CMS mark-and-sweep and parallel GC, to suit low-latency vs high-throughput apps.
Analyze GC throughput and JVM/server throughput to show time spent on garbage collection versus application work, and outline baselines, GC policies, and WebSphere heap allocation for optimization.
Analyze parallel GC and concurrent GC in IBM WebSphere, balancing stop-the-world pauses and throughput for batch ETL tasks versus low-latency APIs and microservices.
Learn about the six gc policies WebSphere supports across jdk versions and how startup arguments select a policy. See how parallel scavenge and mark-sweep affect throughput and pauses.
Explain the optavgpause gc policy, which lowers stop-the-world pauses at the cost of slightly reduced throughput, balancing latency and throughput for moderate traffic apps like online booking systems.
Use gencon gc policy to quickly collect short lived objects in the end generation, with global concurrent mark and sweep for the old generation in the background.
Apply region-based garbage collection to balance memory across regions, reducing fragmentation in large heaps. Balance throughput and latency for enterprise apps, banking systems and long-running jvms, with consistent response times.
Explore metronome real-time GC with incremental collection for predictable pauses, weigh ultra-low latency against higher CPU overhead, and decide when manual external GC suits debugging over production use.
Explain Oracle JDK 1.8 GC policies for WebLogic, covering serial, parallel (throughput), CMS (low latency, deprecated after Java 9), and G1 for large heaps, plus load testing and monitoring tips.
Learn how to configure garbage collection in WebSphere with gc policy parameters, including x minimum f and x max f, to control heap resizing, prevent heap thrashing, and optimize performance.
Analyze gc logs with the GCEasy interface to tune jvm parameters and enable verbose gc, assessing gc throughput, reclaimed memory, and pause durations.
Understand how heap resizing in the JVM causes CPU spikes, GC cycles, and memory fragmentation. Learn why fixed heap sizing avoids resizing and stabilizes performance in WebSphere.
Explore how heap fragmentation and resizing cause CPU spikes and long GC pauses, seen as allocation failures in GC logs. Stabilize performance by keeping min and max heap values identical.
Tune Eden and survivor spaces by adjusting the survivor ratio to distribute memory between Eden, S0, and S1, reducing premature promotion and minor GC frequency for better performance.
Analyze thread dumps and thread states to diagnose performance issues and understand how thread pools, work managers, and lifecycles affect heap usage per request.
Learn to optimize IBM WebSphere performance by tuning thread pools, heap and garbage collection, session management with sticky sessions and replication, and efficient JDBC and JMS/MQ connectivity.
Capture a thread dump to snapshot all active JVM threads and diagnose deadlocks, cpu utilization, thread leaks, and hangs by examining thread states, blocked resources, and stack traces.
Capture thread dumps via jstack and other methods, noting IBM SDK limitations, then analyze thread states, stack traces, and lock info using VisualVM, JMC, Java Flight Recorder, and admin console.
Identify high CPU consuming threads in runnable state, blocked and waiting conditions, and deadlocks; learn how to detect zombie processes and lock contention from thread dumps to optimize WebSphere performance.
Compare multiple thread dumps to identify patterns, such as stuck threads and lock contention; detect thread leaks and use tools like VisualVM, IBM thread analyzer, and monitoring for analysis.
Identify high cpu usage from runnable threads in WebSphere by analyzing thread dumps, pinpointing cpu-intensive code, and tuning thread pools to prevent contention and deadlocks.
Learn to monitor and collect performance data using Java VisualVM and Java Mission Control, including heap and thread dumps, GC analysis, and CPU/memory insights across JDK distributions.
Demonstrate why wsadmin is essential for middleware admins, enabling automation and offline administration. Leverage scripting with Jython or Jackal for batch operations, troubleshooting, and DevOps–CI/CD integration.
Explore wsadmin's admin objects (admin config, admin control, admin app, admin task) and modes (offline configuration and online runtime) using jython or python scripting, noting Jackal is deprecated.
Learn to use wsadmin offline mode to modify jvm heap settings, create jdbc providers and data sources, and manage configurations with admin config and admin task, saving changes.
Demonstrate wsadmin online mode in WebSphere, using query names, get attribute, and invoke to monitor and control JVMs, thread pools, and applications via MBean object names.
Learn to monitor system performance for a JVM by collecting CPU, memory, and disk metrics, and build a bash script to report top five CPU and memory processes.
Master wsadmin in offline and online modes with Jython, learn to verify federated DMG cells and app server profiles, and connect using soap, rmi, or none for admin tasks.
start and stop a server using wsadmin and admin control, verify status, list deployed applications, and confirm ports 9081 and 9444 on the app server node.
Check the WebSphere server status with wsadmin by retrieving the server and node attributes via adminControl for the complete object name, then print that the server is started.
Review wsadmin queryNames commands to locate server objects, then use admin config to retrieve a server’s MBean id and JVM attributes such as heap size and class path.
Do you want to learn how to troubleshoot JVM crashes, analyze dumps, tune memory, and optimize clusters like a true L2/L3 administrator?
This course – WebSphere Performance Tuning – L2 & L3 – is designed to take you deep into the real-world tuning and troubleshooting techniques that every middleware engineer, administrator, and support professional must master.
You’ll gain hands-on knowledge on:
Understanding and tuning threads and thread pools for different workloads.
Identifying and resolving stuck threads, deadlocks, and contention issues.
Configuring and troubleshooting Dynamic Cache Service, Replication Domains, Session Affinity, and Sticky Sessions.
Managing memory and JVM heap, selecting the right GC policies, and tuning garbage collection.
Performing thread dump and heap dump analysis to find bottlenecks and memory leaks.
Using profiler tools to detect inefficiencies and optimize application performance.
Configuring JDBC connection pools and datasources, including tuning connection pool parameters for stability and throughput.
Applying best practices for real-time troubleshooting and performance tuning in clustered WebSphere environments.
This course is filled with step-by-step demos, real-world use cases, and production-grade scenarios to prepare you for L2 & L3 support challenges.
By the end of this course, you’ll be able to:
Troubleshoot performance issues confidently in live environments.
Analyze dumps and logs to find the root cause of JVM and application slowdowns.
Tune JVM, threads, caches, and JDBC pools for high performance.
Handle WebSphere performance like an expert administrator.