You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by dh...@lexmark.com on 2008/06/02 21:11:20 UTC
Tomcat sessions in profiler
We've had some performance issues with tomcat, and stuck it in JProfiler,
and seen something strange.
We load our portal page and then log out. After a while, new
StandardSessions appear in the profiler!
Does Tomcat use sessions for some internal stuff? Any other ideas? It's
hard to tell in the profiler what created these sessions...
cheers,
David
Re: Tomcat sessions in profiler
Posted by Pid <p...@pidster.com>.
Hassan Schroeder wrote:
> On Mon, Jun 2, 2008 at 12:45 PM, <dh...@lexmark.com> wrote:
>> This is internal so no spiders, and no monitoring on it. Nothing in the
>> logs either...
>
> OK, that last seems wierd to me, especially since the JavaDoc for
> HttpSession says:
>
> = The servlet container uses this interface to create a session
> = between an HTTP client and an HTTP server.
>
> In the absence of a Request, it's hard to imagine where a Session
> would come from...
>
A thorough examination of the OPs access log at precisely the time of
the creation of the session would illuminate the culprit, one assumes.
David do you have an access log configured?
If not, try to replicate the incident with a log enabled...
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html
p
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat sessions in profiler
Posted by Hassan Schroeder <ha...@gmail.com>.
On Mon, Jun 2, 2008 at 12:45 PM, <dh...@lexmark.com> wrote:
> This is internal so no spiders, and no monitoring on it. Nothing in the
> logs either...
OK, that last seems wierd to me, especially since the JavaDoc for
HttpSession says:
= The servlet container uses this interface to create a session
= between an HTTP client and an HTTP server.
In the absence of a Request, it's hard to imagine where a Session
would come from...
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat sessions in profiler
Posted by dh...@lexmark.com.
This is internal so no spiders, and no monitoring on it. Nothing in the
logs either...
cheers,
David
"Hassan Schroeder" <ha...@gmail.com>
06/02/2008 03:21 PM
Please respond to
"Tomcat Users List" <us...@tomcat.apache.org>
To
"Tomcat Users List" <us...@tomcat.apache.org>
cc
Subject
Re: Tomcat sessions in profiler
On Mon, Jun 2, 2008 at 12:11 PM, <dh...@lexmark.com> wrote:
> We load our portal page and then log out. After a while, new
> StandardSessions appear in the profiler!
>
> ... Any other ideas?
spiders? system monitoring via Nagios or equiv?
Have you tried to correlate your access log entries with the unexpected
session creation?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat sessions in profiler
Posted by Hassan Schroeder <ha...@gmail.com>.
On Mon, Jun 2, 2008 at 12:11 PM, <dh...@lexmark.com> wrote:
> We load our portal page and then log out. After a while, new
> StandardSessions appear in the profiler!
>
> ... Any other ideas?
spiders? system monitoring via Nagios or equiv?
Have you tried to correlate your access log entries with the unexpected
session creation?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org