We created a diskgroup with normal redundancy, and were wasting half the space on the mirror as a result. We are completely striped and mirrored in EMC, so a mirror buys us no additional protection. We wanted to recreate the…
Author: Steve
Gathering information from HotSpot garbage collection logs
What is below is a useful script to print actionable information from garbage collection logs. As shown by the CMS output below, this is built for the CMS collector. Anything with initial-mark or remark in the output is a “stop…
Is “Connection refused” always a network issue?
We are trained to think that if we see “java.net.ConnectException: Connection refused”, we need to talk to our friends in networking. However, below is at least one example where this is not the case. Create a very simple socket server…
Getting count of sessions created by minute
In the wake of a flood of 24,000 application server sessions created per minute at the start of Black Friday week, we wanted to share how we calculated how many sessions were created per minute. This can be obtained from…
When does the CMS collector run by default
Assuming no other flags are set, when the tenured generation heap is 90% full. We have an 7968MB heap, and a 2048MB young generation. As such, our tenured generation is approximately 5920M. Below we show the initial mark starts at…
Difference between InvalidVersionException and ConcurrentUpdateException
ATG is a very cache heavy application. Given its chatty database design, this is a good thing. One area that uses cache heavily and depends upon a proper configuration of the repository layer is the OrderRepository. Two common exceptions that…
Interrupting a thread in java
Often, someone will wish to somehow terminate a thread that is causing issues. These issues could be things such as blocking threads that prevent other threads from doing work, or something that is using a lot of CPU. While the…
AWR like jobs in SQL Server
This morning when I arrived at the office, there were several emails related to a high CPU utilization issue on a SQL Server that occurred around 4:45AM this morning. Since SQL Server 2005 does not have the anticipated performance repository…
Dump ATG publishing cluster state
The ATG publishing infrastructure maintains a cluster state file on each target. This is used to sync up with the Business Control Center (“BCC”) content, and ensure they match. When troubleshooting, it can be helpful to print the contents of…
Finding rows that were locked, after the fact
In the Oracle database, if you have purchased the tuning pack, you have full access to the DBA_HIST_% views. AWR, or Automated Workload Repository, is normally accessed via grid control or another tool. However, the raw data in the DBA_HIST…