aspose file tools*
The moose likes Tomcat and the fly likes lambda probe shows unproportial number of sesssions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "lambda probe shows unproportial number of sesssions" Watch "lambda probe shows unproportial number of sesssions" New topic
Author

lambda probe shows unproportial number of sesssions

Sven Nivsen
Greenhorn

Joined: Nov 20, 2009
Posts: 3
We are running a few tomcat servers. One of those servers runs a number of identical "/webapps".
We are using lambda probe to monitor those /webapps.

Two of those "/webapps" are running crazy on the displayed "sessions" count. (read: 1000 to 10000 sessions for max 50 unique visitors according to Google Analytics.)
Other (identical) apps (on the same server) behave normally.

Right now we are looking for (a) the reason for this or (b) a different way of counting the currently active sessions.
Any ideas, guesses, or pointers that could help us?

(None of us does any java coding. We administer that machine, though. I didn't develop any of the applications running on those servers. Session timeout is 30mins. 3 tomcats are on different ports of the same machine. No connectors involved.)
Sven Nivsen
Greenhorn

Joined: Nov 20, 2009
Posts: 3
I refined my probe'ing ...
1) There is always a number of "private" IPs (they don't look like crawler-bots), which open more than a dozen sessions each. Resulting in a lot of sessions per IP.
2) One new session for the same IP per minute, roughly. (therefore I don't think a single browser is opening that many sessions at once)
Sven Nivsen
Greenhorn

Joined: Nov 20, 2009
Posts: 3
No pointers?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
That sure sounds like some sort of automated crawler-like client to me.

If this was my problem I would look into tracking down the IP source(s) and possibly refusing connections from them.


Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: lambda probe shows unproportial number of sesssions
 
Similar Threads
independant contexts?
How to build a rule based Monitoring Servlet
How number of active Sessions count in Clustered server environment WAS7?
Context in server
MXBean question in regards to tomcat