-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Vicky,
On 6/16/15 1:38 PM, vicky wrote:
> When you say "the number of open sockets and the number of
> Tomcatrequest-processing threads will be the same". Does that mean
> all sockets states whether its in Closed_wait,listening, stop
> etc... will
Thanks Chris for an insight.
When you say "the number of open sockets and the number of
Tomcatrequest-processing threads will be the same". Does that mean all sockets
states whether its in Closed_wait,listening, stop etc... will consume a thread
individually.If yes then does that imply if i coun
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Vicky,
On 6/16/15 12:50 PM, vicky wrote:
> Server version: Apache Tomcat/7.0.22 Server built: Sep 27 2011
> 09:40:50
Oh, wow, you really need to upgrade. There are a number of really
*really* important security updates that need to be applied.
P
Chirs - Below are the required details as your requested :-
Server version: Apache Tomcat/7.0.22Server built: Sep 27 2011 09:40:50Server
number: 7.0.22.0OS Name: LinuxOS Version:
3.4.48-45.46.amzn1.x86_64Architecture: amd64JVM Version: 1.6.0_24-b24JVM
Vendor: Sun Microsyst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Vicky,
On 6/16/15 12:25 PM, vicky wrote:
> connectionTimeout="2" redirectPort="8443" />
Also, what Tomcat version? I'm guessing 6.0.x or 7.0.x. Can you give
us the whole version number, including the "x" at the end?
- -chris
-BEGIN PGP SI
Hi Chris- I;ve below config :-
- vicky
On Tuesday, 16 June 2015 9:37 PM, Christopher Schultz
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Vicky,
On 6/16/15 10:34 AM, vicky wrote:
> In tomcat does the no . of open sockets on http port (netstat
> -anlp|grep 8080) is i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Vicky,
On 6/16/15 10:34 AM, vicky wrote:
> In tomcat does the no . of open sockets on http port (netstat
> -anlp|grep 8080) is it equal to number of threads in use in tomcat
> .
>
> Actually i want to understand how & when i can say that the all
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
David,
On 3/10/15 8:15 PM, David Bullock wrote:
> On 11 March 2015 at 04:43, Christopher Schultz
> > wrote:
>
> Basically, making a
>> servlet threadsafe only requires you to avoid any non-threadsafe
>> class members in the servlet itself...
>
> S
On 11 March 2015 at 04:43, Christopher Schultz wrote:
Basically, making a
> servlet threadsafe only requires you to avoid any non-threadsafe class
> members in the servlet itself...
>
Since we're tossing pennies, I've often wondered how the app-server
achieves the effect that any instance-level
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Carl,
Others have already responded, but I figured I'd add my two cents, too.
On 3/10/15 11:25 AM, Carl Dreher wrote:
>> If I write a servlet such as the above, is there ever only once
>> instance of it running?
>
>>> Don't confuse objects with t
Unsubscribe.
Please?!
-- Kaydell
kayd...@yahoo.com
On Mar 10, 2015, at 9:25 AM, Carl Dreher wrote:
>> If I write a servlet such as the above, is there ever only once instance of
>> it running?
>
>>> Don't confuse objects with threads. There is one instance of a particular
>>> servlet, bu
Hey Carl,
On Tue, Mar 10, 2015 at 11:25 AM, Carl Dreher wrote:
> If I write a servlet such as the above, is there ever only once instance
>> of it running?
>>
>
> Don't confuse objects with threads. There is one instance of a
>>> particular servlet, but many threads may be executing in it conc
> From: Carl Dreher [mailto:focus...@arn.net]
> Subject: Re: threads vs. servlets
> > > If I write a servlet such as the above, is there ever only once instance
> > > of it running?
> > Don't confuse objects with threads. There is one instance of a par
If I write a servlet such as the above, is there ever only once instance of it
running?
Don't confuse objects with threads. There is one instance of a particular
servlet, but many threads may be executing in it concurrently, with each thread
processing a separate request.
I understand tha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vance,
On 5/18/12 12:29 PM, Vance - wrote:
> The servlet I have in mind for modification is the one responsible
> for performing the search as well as for getting the next page of
> search results. If one or more of the wikis is unavailable, I want
>
database).
Med venlig hilsen/Kind regards
Casper/Kalle
-Original Message-
From: Tim Watts [mailto:t...@cliftonfarm.org]
Sent: 18. maj 2012 21:54
To: Tomcat Users List
Subject: Re: Threads in Tomcat
On Fri, 2012-05-18 at 12:14 -0400, Vance - wrote:
> I'm maintaining a W
On Fri, 2012-05-18 at 12:14 -0400, Vance - wrote:
> I'm maintaining a Web application for searching multiple wikis, this app
> runs under Tomcat 6. I need to modify a servlet so it instantiates a
> 'Thread' subclass to perform a wiki availability check every so often, say
> every 30 minutes. Given
Chris, thanks for responding.
The servlet I have in mind for modification is the one responsible for
performing the search as well as for getting the next page of search
results. If one or more of the wikis is unavailable, I want to display an
error message on the search results page.
The wiki av
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vance,
On 5/18/12 12:14 PM, Vance - wrote:
> I'm maintaining a Web application for searching multiple wikis,
> this app runs under Tomcat 6. I need to modify a servlet so it
> instantiates a 'Thread' subclass to perform a wiki availability
> check eve
I am having tomcat version 6.0.26.
Let me know if you need further information
From: "Caldarale, Charles R"
To: Tomcat Users List
Sent: Thursday, February 23, 2012 7:44 PM
Subject: RE: Threads Locking Monitors(61 Threads Locking)
> From
> From: Amol Puglia [mailto:amolcpug...@yahoo.com]
> Subject: Threads Locking Monitors(61 Threads Locking)
> I am analyzing thread dumps of tomcat
What version?
> Below is the description of the thread which is locking on monitor.
> I do not understand what is causing this.
The thread in ques
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
On 12/17/2010 5:20 PM, Tony Anecito wrote:
> I was running a load test against Tomcat 6.0.16 and noticed that when the
> load
> test was done the thread count stayed over 600.
> Is there some delay for the threads to ramp down internal to Tomc
After some research I found the tags in the server.xml for controlling this and
will check with someone about the current settings.
Regards,
-Tony
- Original Message
From: Tony Anecito
To: Tomcat Users Group
Sent: Fri, December 17, 2010 3:20:07 PM
Subject: Threads not freed up after
> From: Stefano Nichele [mailto:[EMAIL PROTECTED]
> Subject: Threads and blocked count value
>
> I'm running tomcat 6.0.13 + jdk 1.5 in my production system and I'm a
> bit wondering about the number of times the "Reference Handler" thread
> has been blocked in just 3 days: 9500835 (checked using j
PM
Subject
Re: Threads are busy...but my
Please respond to application is moderately used!!
&q
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thangavel,
Thangavel Sankaranarayanan wrote:
| I am facing a problem with Tomcat 4.1.27.
Note that everything you are using is very out of date. Tomcat just
released 6.0.18, mod_jk is at version 1.2.26 (and JK2 is dead, dead,
dead), and win2k, well.
Yong,
Add to here:
export JAVA_OPTS="-d64 -Xms1024m -Xmx1024m -XX:+MaxFDLimit -server -
Djava.awt.headless=false"
Thank you.
Stephen
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PRO
On 3-Apr-08, at 11:27 AM, Stephen Caine wrote:
Yong,
Are you running on 32-bit or 64-bit JVM on OS X 10.5.2?
If you are running java without -d64, it would be running 32-bit by
default.
Typicaly around 2000 or so is the thread number limit on 32-bit
process due to its virtual address spa
Chuck,
There are some thread-specific parameters you can play with, in
particular -Xss. But as others have pointed out, changing one
factor moves the limits on others. Your best bet (assuming you
really, really need that many threads) is to run in a 64-bit
process, also as previously s
Yong,
Are you running on 32-bit or 64-bit JVM on OS X 10.5.2?
If you are running java without -d64, it would be running 32-bit by
default.
Typicaly around 2000 or so is the thread number limit on 32-bit
process due to its virtual address space limit (1 thread may claim
1MB of virtual spa
From: Stephen Caine [mailto:[EMAIL PROTECTED]
I have a process that generates hundreds of threads. Running on Mac
OS X 10.5.2 Server, the thread count tops out at approximately 2500.
After which, the process is terminated. The heap size is set to 1
gigabyte. My question is how to increase the c
> From: Stephen Caine [mailto:[EMAIL PROTECTED]
> Subject: Re: Threads
>
> I am asking if there is any way to increase the number of
> threads that can be handled by decreasing the thread size
> allocation (a java option)
There are some thread-specific parameters you
Chuck,
There's no limit within the JVM itself on the number of threads,
other than heap space required to hold the Thread objects. It's the
underlying OS that imposes the actual limit, including the amount of
process space available for stacks and other thread-specific
structures. If y
Are you running on 32-bit or 64-bit JVM on OS X 10.5.2?
If you are running java without -d64, it would be running 32-bit by
default.
Typicaly around 2000 or so is the thread number limit on 32-bit
process due to its virtual address space limit (1 thread may claim 1MB
of virtual space for s
Actually another question is what is it in your application that NEEDS
2500 threads? What does the application do? Is it 3rd party or in house?
Normally the creation of a thread is considered an expensive operation
and typically one tries to avoid creating new threads all over the
place. Hence
nt: Thursday, April 03, 2008 11:34 AM
> To: 'Tomcat Users List'
> Subject: RE: Threads
>
> > From: Stephen Caine [mailto:[EMAIL PROTECTED] I have
> a process
> > that generates hundreds of threads. Running on Mac OS X 10.5.2
> > Server, the thread count
> From: Stephen Caine [mailto:[EMAIL PROTECTED]
> I have a process that generates hundreds of threads. Running on Mac
> OS X 10.5.2 Server, the thread count tops out at approximately 2500.
> After which, the process is terminated. The heap size is set to 1
> gigabyte. My question is how to incre
> From: Stephen Caine [mailto:[EMAIL PROTECTED]
> Subject: Threads
>
> My question is how to increase the capacity of the JVM to
> handle more threads.
There's no limit within the JVM itself on the number of threads, other
than heap space required to hold the Thread objects. It's the
underlyi
Manivannan Palanichamy wrote:
> I need to design a web application that may use threads. Thats, the web
> application might have to read some 200 files from network. In order to
> speed up the process, I've decided to use threads/thread pooling. But,
> however I know it is not a good practice to us
Hmm,
I would suggest you stop having continuos connections. 30 seconds is a
lot of time, maybe you should re-establish connections on request. I
know re-establishing costs 3 additional tcp packets, but it negligible
since you have small packets sent seldomly.
I assume your chat is an applet, since
You may want to try turning off keepalives in your tomcat. (I assume
you are only using tomcat, and not proxying through mod_jk and
apache/ IIS).
In your connector settings have a look at 'maxKeepAliveRequests="1"'
If you really have that many threads, you will probably be best of
using Li
On Thu, 16 Mar 2006 13:11:17 +0100
Morten Andersen <[EMAIL PROTECTED]> wrote:
Is there any problems with running a thread every night
updating ressources and sending out emails from within
tomcat. Any tools available?
short answer: if you're willing to live with (or
just don't really care a
yes, Quartz, is a nice open source scheduler.
best place to start it, is in an init method of a servlet.
Filip
Leon Rosenberg wrote:
On 3/17/06, Morten Andersen <[EMAIL PROTECTED]> wrote:
I need a thread that will write some emails and stuff every night.
why not using scheduler?
On 3/17/06, Morten Andersen <[EMAIL PROTECTED]> wrote:
> I need a thread that will write some emails and stuff every night.
why not using scheduler?
>
> Can this be started from within tomcat. (I'm thinking about starting it
> from loadOnStartup)
>
you can start a thread from nearly everywhere,
> From: Thom Hehl [mailto:[EMAIL PROTECTED]
> Subject: Re: Threads and SocketException
>
> The issue is that this works just fine when not running inside of
> Tomcat. Any ideas what runing inside of a servlet
> context-spawned thread can cause this kind of error?
A connecti
The issue is that this works just fine when not running inside of
Tomcat. Any ideas what runing inside of a servlet context-spawned thread
can cause this kind of error?
Wade Chandler wrote:
--- Thom Hehl <[EMAIL PROTECTED]> wrote:
OK, I'm using tomcat and a sevlet to launch a
background
--- Thom Hehl <[EMAIL PROTECTED]> wrote:
> OK, I'm using tomcat and a sevlet to launch a
> background process in a
> separate thread. It seems to launch just fine, but
> after it runs for
> maybe 30 seconds it dies, spitting out this error:
>
> java.net.SocketException: Connection reset
> a
Bruno Georges wrote:
> Hi Thomas
> A quick note:
> Correct me if I am wrong , but it looks like this happens not intentionally
> when the spell checker modify the spelling in the Subject line.
>
> Bruno Georges
It depends on the mail client. Some use the subject, some use the
"In-Reply-To" header
48 matches
Mail list logo