Quantcast

shutdown taking a long time

classic Classic list List threaded Threaded
3 messages Options
lvm
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

shutdown taking a long time

lvm
I turned off automatic updates, yet it's still taking a couple of minutes to shut down.  Most of the delay is occurring between first and second log entries, but it's not clear what is occurring at that time.

thx,
lvm

2013-07-11 11:14:41,594 [AWT-EventQueue-1] INFO  net.sourceforge.squirrel_sql.client.Application  - Application shutting down 7/11/13 11:14 AM.
2013-07-11 11:17:04,940 [AWT-EventQueue-1] INFO  org.springframework.context.support.ClassPathXmlApplicationContext  - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1a81bd5: display name [org.springframework.context.support.ClassPathXmlApplicationContext@1a81bd5]; startup date [Thu Jul 11 11:17:04 EDT 2013]; root of context hierarchy
...
2013-07-11 11:17:06,284 [AWT-EventQueue-1] INFO  net.sourceforge.squirrel_sql.client.update.gui.installer.PreLaunchHelperImpl  - Applying updates to launch script: squirrel-sql.bat
2013-07-11 11:17:06,550 [AWT-EventQueue-1] INFO  net.sourceforge.squirrel_sql.client.update.gui.installer.PreLaunchHelperImpl  - Applying updates to launch script: squirrel-sql.sh
...
2013-07-11 11:17:07,128 [AWT-EventQueue-1] INFO  net.sourceforge.squirrel_sql.client.Application  - Application shutdown complete 7/11/13 11:17 AM.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: shutdown taking a long time

Gerd Wagner-3

On 11.07.2013 17:46, lvm wrote:
> I turned off automatic updates, yet it's still taking a couple of minutes to
> shut down.  Most of the delay is occurring between first and second log
> entries, but it's not clear what is occurring at that time.

Did you try the following:

"Logging of application shutdown:
   Sometimes closing SQuirreL can take some time. From looking at the
log file
   one can find out which shutdown actions take long:
   Choose log level: info
   Search the log file for: "Application.shutdown"
   The first Global preferences tab tells where log and log
configuration files are."


This is quoted from our change log.


Note: Long shut down time may occur if you have a lot of Aliases.

Gerd



------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Squirrel-sql-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
lvm
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: shutdown taking a long time

lvm
Thanks Gerd.  I will take a look when I get a chance, but it appears I'm already getting INFO level log messages, no?

2013-07-11 11:14:41,594 [AWT-EventQueue-1] INFO  net.sourceforge.squirrel_sql.client.Application  - Application shutting down 7/11/13 11:14 AM.
Loading...