background requests from a browser tab with youtrack, or REST API calls), it will eventualy start to boot, and in this case there is no need to manually refresh YouTrack page, since the first request that has passed through would trigger the startup anyway. So, basically, if there are any requests perdiodically coming in to the application port (e.g. There are two "phases" of application startup: 1) before it opens the http port 2) everything after that.ġ) Under normal conditions, ~20s (if given enough CPUs) would pass from the moment the process was started to the point when application port starts accepting connections (though the actual cpu time spent is indeed close to 1m).Ģ) According to current design (and for historical reasons), youtrack application continues to boot once it has opened the port AND any http request to this port was made (said request would hang until the app starts), that includes REST calls. can I change something in the config so it will start up properly on it's own? Now every time we reboot a server with YouTrack we need to ask the admin to refresh the YouTrack page a few times to get it to fully start up, but this seems like a silly thing to need to do. So for the first ~2 minutes after the first HTTP connection after rebooting a server, you can't actually access it, which causes a number of our REST API calls into the server to fail. When you try to connect to the server, the first 2-3 connections time out, and eventually the server stabilizes showing about 3 minutes of CPU time:ġ854 youtrack 20 0 4105056 715396 13072 S 0.0 36.2 3:13.35 java When I boot the server and let things settle down, the youtrack process shows about 1min:20sec of CPU time (from top):ġ854 youtrack 20 0 3965488 499008 13888 S 0.0 25.3 1:20.22 java This mostly works, but it has a significant limitation in that it only partially starts the server, so the first few clients just get server timeouts when they try to connect. The YouTrack server is configured to start automatically on server restarts using the method recommended in the documentation under the "YouTrack JAR as a Service on Linux" method. I'm running YouTrack 2017.1 on a Centos 7.3 server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |