Re: Tomcat 8 slow shutdown on Windows 10

2017-08-02 Thread Mark Thomas
On 02/08/17 14:57, Christopher Schultz wrote: > Mark, > > On 8/1/17 4:17 PM, Mark Thomas wrote: Yes. To unlock the *acceptor thread(s)*. >>> >>> (Emphasis mine) >>> >>> I understand, now. Thanks. > >> The acceptor is also unlocked when a Connector is paused (i.e. when >> the server socket is

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/1/17 4:17 PM, Mark Thomas wrote: >>> Yes. To unlock the *acceptor thread(s)*. >> >> (Emphasis mine) >> >> I understand, now. Thanks. > > The acceptor is also unlocked when a Connector is paused (i.e. when > the server socket is NOT clo

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Mark Thomas
On 01/08/17 20:24, Christopher Schultz wrote: > > > On 8/1/17 3:10 PM, Mark Thomas wrote: >> On 01/08/17 20:00, Christopher Schultz wrote: >>> Mark, >>> >>> On 8/1/17 2:23 PM, Mark Thomas wrote: On 01/08/17 16:38, Christopher Schultz wrote: > Mark, > > On 8/1/17 8:01 AM, Mark Tho

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 8/1/17 3:10 PM, Mark Thomas wrote: > On 01/08/17 20:00, Christopher Schultz wrote: >> Mark, >> >> On 8/1/17 2:23 PM, Mark Thomas wrote: >>> On 01/08/17 16:38, Christopher Schultz wrote: Mark, On 8/1/17 8:01 AM, Mark Thomas wrote

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Mark Thomas
On 01/08/17 20:00, Christopher Schultz wrote: > Mark, > > On 8/1/17 2:23 PM, Mark Thomas wrote: >> On 01/08/17 16:38, Christopher Schultz wrote: >>> Mark, >>> >>> On 8/1/17 8:01 AM, Mark Thomas wrote: On 30/07/17 13:39, Lazar Kirchev wrote: > Hello Mark, > > I tried with several t

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/1/17 2:23 PM, Mark Thomas wrote: > On 01/08/17 16:38, Christopher Schultz wrote: >> Mark, >> >> On 8/1/17 8:01 AM, Mark Thomas wrote: >>> On 30/07/17 13:39, Lazar Kirchev wrote: Hello Mark, I tried with several thread dum

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Mark Thomas
On 01/08/17 16:38, Christopher Schultz wrote: > Mark, > > On 8/1/17 8:01 AM, Mark Thomas wrote: >> On 30/07/17 13:39, Lazar Kirchev wrote: >>> Hello Mark, >>> >>> I tried with several thread dumps, but strange - I do not see in >>> them blocked/waiting threads. I attach two text files with thread

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/1/17 8:01 AM, Mark Thomas wrote: > On 30/07/17 13:39, Lazar Kirchev wrote: >> Hello Mark, >> >> I tried with several thread dumps, but strange - I do not see in >> them blocked/waiting threads. I attach two text files with thread >> dump

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Suvendu Sekhar Mondal
Lazar, > I am observing slow shutdown of Tomcat 8 on Windows 10 - some 9 - 11 > seconds. I observed this first with Tomcat 8.5.16, but then checked it on > older versions and I found the same from 8.5.11 onward. Before that it > stops for less than a second. > > > Has anybod

Re: Tomcat 8 slow shutdown on Windows 10

2017-08-01 Thread Mark Thomas
On 30/07/17 13:39, Lazar Kirchev wrote: > Hello Mark, > > I tried with several thread dumps, but strange - I do not see in them > blocked/waiting threads. I attach two text files with thread dumps. In > both there can be seen the main thread in AbstractEndpoint code, but > it's RUNNABLE. I also at

Re: Tomcat 8 slow shutdown on Windows 10

2017-07-28 Thread Mark Thomas
On 28/07/2017 06:53, Lazar Kirchev wrote: > Hello, > > I am observing slow shutdown of Tomcat 8 on Windows 10 - some 9 - 11 > seconds. I observed this first with Tomcat 8.5.16, but then checked it on > older versions and I found the same from 8.5.11 onward. Before that it > sto

Tomcat 8 slow shutdown on Windows 10

2017-07-27 Thread Lazar Kirchev
Hello, I am observing slow shutdown of Tomcat 8 on Windows 10 - some 9 - 11 seconds. I observed this first with Tomcat 8.5.16, but then checked it on older versions and I found the same from 8.5.11 onward. Before that it stops for less than a second. Most time is spent in stopping the protocol

Re: Very slow shutdown - 3 mins

2009-12-16 Thread Wayne Pope
- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Very-slow-shutdown---3-mins-tp26791794

Re: Very slow shutdown - 3 mins

2009-12-15 Thread Elli Albek
You have many threads that are not part of Tomcat, as Chuck mentions. Whatever you start in the webapp you have to close as well. You can close via a shutdown listener (Context listener), or if you use something like Spring which already has built in shutdown hook, implement their shutdown interfac

RE: Very slow shutdown - 3 mins

2009-12-15 Thread Caldarale, Charles R
> From: Wayne Pope [mailto:waynemailingli...@gmail.com] > Subject: Very slow shutdown - 3 mins > > I've done a thread dump, but as far as I can tell all > looks ok. Not to me. You have numerous threads apparently spawned by a webapp that are still sitting around.

Very slow shutdown - 3 mins

2009-12-15 Thread Wayne Pope
f920, 0xfa20, 0xfb00) eden space 8832K, 5% used [0xf920,0xf9272180,0xf9aa) from space 3776K, 66% used [0xf9e5,0xfa0c41e8,0xfa20) to space 3776K, 0% used [0xf9aa,0xf9aa,0xf9e5) PSOldGentotal 116736K, used 91584K [0xeae0, 0xf200, 0xf920) object space 116736K,

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charly, charly wrote: > 2007/9/14, Christopher Schultz > >>> Does anyone use it on Solaris? >> Again, you ought to ask about this on the jakarta-commons forum, where >> the jsvc project lives. > > Ok I have understood that > But my original question

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-15 Thread charly
2007/9/14, Christopher Schultz > > Dos anyone use it on Solaris? > > Again, you ought to ask about this on the jakarta-commons forum, where > the jsvc project lives. Ok I have understood that But my original question was "are there are existing better tools?" and I did not find it appropriate t

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charly, charly wrote: > Ok it seems no problem on Linux. > > Dos anyone use it on Solaris? Again, you ought to ask about this on the jakarta-commons forum, where the jsvc project lives. I'm sure there are Solaris users of jsvc lurking on this list,

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-14 Thread charly
Ok it seems no problem on Linux. Dos anyone use it on Solaris? Charly 2007/9/14, David Smith: > > I use it and have no problem with it. Always thought of it as a no > brainer on my Mandriva Linux server. > > --David > > charly wrote: > > Ok it seems that jsvc seems to be scarcely used. > > So i

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread David Smith
I use it and have no problem with it. Always thought of it as a no brainer on my Mandriva Linux server. --David charly wrote: Ok it seems that jsvc seems to be scarcely used. So it seems that jsvc does not fit sufficiently for tomcat and /or there are better solutions or whatever.. thanks

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread charly
2007/9/13, Gabriel Wong <[EMAIL PROTECTED]>: > > Charly, > > The URL, provided by Christopher, provides some very useful tips for > port 80 binding. > I would also like to add, another option (used in the hosting world) is > to create a VPS for the application server to run under. > So the applicat

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread charly
Ok it seems that jsvc seems to be scarcely used. So it seems that jsvc does not fit sufficiently for tomcat and /or there are better solutions or whatever.. thanks charly 2007/9/13, Christopher Schultz > > Charly, > > charly wrote: > > jsvc seems to be no matter on this mailing list? > > Wel

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread Gabriel Wong
Charly, The URL, provided by Christopher, provides some very useful tips for port 80 binding. I would also like to add, another option (used in the hosting world) is to create a VPS for the application server to run under. So the application server would be able to run as root but yet in a res

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charly, charly wrote: > jsvc seems to be no matter on this mailing list? Well, this is the Tomcat mailing list... not the jsvc mailing list. Try asking on the commons-user mailing list. We can't be experts on all subjects posted to this list, even if

Re: is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread Mark H. Wood
Gentoo Linux comes with its own startup script for Tomcat (using, I believe, tools from Debian) that fits into the Gentoo startup structure, so one doesn't need jsvc there. I suppose that many other distro.s do likewise, although some may use jsvc "under the covers". -- Mark H. Wood, Lead System

is jsvc not used here? Re: slow shutdown with jsvc

2007-09-13 Thread charly
jsvc seems to be no matter on this mailing list? Are there other tools for running tomcat on port 80 with nonroot user on unix/solaris? Running apache only for nonroot port 80 access seems to be oversized/extensive for me (maintenance,complexity,..) Charly 2007/9/8, charly : > > Hi all again, > >

Re: slow shutdown with jsvc

2007-09-08 Thread charly
Hi all again, Now I had look at the source code of jsvc-unix.c. It looks as jsvc always has to wait for the completion of the sleep(60) call: So I changed the code using usleep(20): log_debug("Waiting for a signal to be delivered"); create_tmp_file(args); #ifdef OSD_POSIX log_debu

slow shutdown with jsvc

2007-09-07 Thread deppenfeld auchndeppenfeld
Hi all, I am using jsvc on solaris to run tomcat on port 80 using a non root user. Startup and running seems to be ok. I use the jsvc -stop -pidfile to initiate a shutdown. this command waits until the shutdown is complete. But in my case it lasts very long until jsvc is actually doing

slow shutdown

2006-01-10 Thread tamsin
Hi all, My (development) Tomcat 5.5.12 installation on Windows XP shuts down and restarts in about 30 seconds. My production 5.5.12 installation on Redhat Linux takes several minutes to shutdown, and I'm not sure why. Both servers are running the same web application, the manager application, a