Very slow startup of web / http manager
See original GitHub issueHello,
I have configured gitblit on my machine and all was well until now. It seems whenever I start /restart the service it takes very long time to start SSH Manger and the web gui.
As you can see, it takes Started @136214ms
to start =136 seconds
May 16 19:32:39 netdava.com java[2863]: 2016-05-16 19:32:39 [INFO ] ----[com.gitblit.manager.IServicesManager]----
May 16 19:32:39 netdava.com java[2863]: 2016-05-16 19:32:39 [INFO ] Federation passphrase is blank! This server can not be PULLED from.
May 16 19:32:39 netdava.com java[2863]: 2016-05-16 19:32:39 [INFO ] Fanout PubSub service is disabled.
May 16 19:32:39 netdava.com java[2863]: 2016-05-16 19:32:39 [INFO ] Git Daemon is listening on 0.0.0.0:9418
^[^[^[
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] SSH Daemon (NIO2) is listening on 0.0.0.0:29418
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ]
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] ----[com.gitblit.manager.IFilestoreManager]----
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] No filestore metadata file found
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ]
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] ----[com.gitblit.manager.IPluginManager]----
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] PF4J version 1.7.1 in 'deployment' mode
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] Enabled plugins: []
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] Disabled plugins: []
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] No plugins
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ]
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] All managers started.
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ]
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] [GitBlitWebApp] init: Wicket core library initializer
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] [GitBlitWebApp] init: Wicket extensions initializer
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] [GitBlitWebApp] Started Wicket version 1.4.22 in deployment mode
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] Started o.e.j.w.WebAppContext@47da3952{/,file:/opt/gitblit/data/temp/webapp/,AVAILABLE}{file:/opt/gitblit/gitblit-1.7.1/gitblit.jar}
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] Started ServerConnector@4a254d75{HTTP/1.1}{localhost:8197}
May 16 19:34:51 netdava.com java[2863]: 2016-05-16 19:34:51 [INFO ] Started @136214ms
May 16 19:35:25 netdava.com java[2863]: 2016-05-16 19:35:25 [INFO ] Loading properties files from jar:file:/opt/gitblit/gitblit-1.7.1/gitblit.jar!/com/gitblit/wicket/GitBlitWebApp_en.properties
May 16 19:35:25 netdava.com java[2863]: 2016-05-16 19:35:25 [INFO ] Loading properties files from jar:file:/opt/gitblit/gitblit-1.7.1/gitblit.jar!/com/gitblit/wicket/GitBlitWebApp.properties
May 16 19:35:25 netdava.com java[2863]: 2016-05-16 19:35:25 [INFO ] Loading properties files from jar:file:/opt/gitblit/gitblit-1.7.1/ext/wicket-1.4.22.jar!/org/apache/wicket/Application.properties
May 16 19:35:25 netdava.com java[2863]: 2016-05-16 19:35:25 [INFO ] 12 repository models loaded for ieugen in 65 msecs
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Slow web application startup... 'keep alive' page doesn't help
It is only slow on initial startup. After that it runs fine. Here is a guide which provides end-to-end guidance for managing performance....
Read more >8 Ways to Fix Slow Boot Times in Windows 10 - MakeUseOf
1. Disable Fast Startup. One of the most problematic settings that will cause slow boot times in Windows 10 is the fast startup...
Read more >10 Reasons for Slow Website Loading (With Solutions)
10 Reasons for Slow Website Loading · 1. Poor Server Performance · 2. Unsuitable Server Location · 3. Heavy Traffic · 4. Excessive...
Read more >Top 10 Reasons for Slow Loading Websites (And How to Fix It)
Having loads of JavaScript, CSS, and image files can lead to too many HTTP requests. When a user visits your web page, the...
Read more >Fixing slow initial load for IIS - asp.net - Stack Overflow
Using C, setting the idle timeout, should be enough so that subsequent requests to the server are served fast (restarting the app pool...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
web.activityCacheDays
read notes!)I’m pretty sure something’s messed up with caching. On a fresh install (with the existing several hundred repos) it’s like half a minute. Then eventually it slows down. Now I clocked it, 18 minutes.
Then I changed web.activityCacheDays to 3 (from the default 14), and it went down to 16 seconds. From 1113 seconds. Speaking of nonlinear…