AppCrawler

Tying data to business excellence

Main menu

Skip to content
  • Who Is This Guy?
Java, Java Performance, Networking

What does web service do when client has socket timeout exceeded?

by Steve • August 4, 2017 • 0 Comments

It should throw a broken pipe exception. Below shows an strace of a server socket when the client has timed out after not receiving a response in the time period it specified (setTimeout() method)… 13125 12:19:13.666786 ) = 1 ([{fd=7,…

Read more →

JBOSS, Splunk

Splunk query to extract JSP from stack trace in error log

by Steve • July 31, 2017 • 0 Comments

We used what is below to parse through stack traces that had been logged in JBOSS. We were looking for the page most frequently impacted by a persistent transaction blocking issue. host=cmhlpecomecm* (ORA-00060 OR ORA-02049) AND org.apache.jsp | rex field=_raw…

Read more →

JBOSS, Splunk

Splunk – Histogram/distribution of JBOSS session length

by Steve • July 3, 2017 • 0 Comments

As you can see below, 95% of our sessions are less than five minutes in length. This is very useful in sizing the session timeout variable in your context.xml file. host=cmhlpecomweb* sourcetype=access* | rex mode=sed field=_raw “s/\t/~/g” | eval tmp=split(_raw,”~”)…

Read more →

Apache, JBOSS, Splunk

Splunk calculating JBOSS session time statistics

by Steve • June 29, 2017 • 0 Comments

We used this to produce a distribution of how long our sessions last. We print the median, average, and maximum session length based on the first and last occurrence of a given JSESSIONID. We also filter out those sessions less…

Read more →

Apache, Ecommerce, Splunk

Splunk – Query to print distribution of requests by device type

by Steve • June 23, 2017 • 0 Comments

We had a need to understand what type of devices our customers were using; specifically, Apple or Android. We came up with what is below… host=cmhlpecomweb* sourcetype=access* (“iphone” OR “ipad” OR “android”) | rex mode=sed field=_raw “s/\t/~/g” | eval tmp=split(_raw,”~”)…

Read more →

Linux, Shell scripting

awk statistical functions

by Steve • June 15, 2017 • 0 Comments

We had already written an awk script to pull durations for a particularly slow web service call. We wanted to understand the distribution of the response times. Often, the average is high, but it is skewed by a number of…

Read more →

Page 9 of 77
« 1 … 7 8 9 10 11 … 77 »

Search

Links

  • LinkedIn Profile

Archives

Copyright © 2025 AppCrawler. All Rights Reserved. The Magazine Basic Theme by bavotasan.com.