Project

General

Profile

Actions

Defect #12284

closed

Redmine has a slow startup

Added by Allen Wyma over 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

I was trying to setup so Redmine would go over a socket connection using unicorn and nginx, but it always timed out. I increased the timeout to 300 seconds on Unicorn and moved the connection over to port 3000. It finally connects and goes rather quickly after the first request, but it seems that the first request does take some time to load up.

Right now, my solution is to keep port 3000 open, when I first restart the server, I have to hit it over port 3000, wait for about 2-5 minutes (didn't time how long it takes) and after it finally works, then hit it over https afterwards and it works fine.

Can we look into how the start time is so slow and why and make it speed up? I woudln't mind if nginx would let you set the proxy timeout past 120s, but that isn't possible.

Actions #1

Updated by Allen Wyma over 12 years ago

BTW, I forgot to say, you can see this happen with WEBrick, too when you run it over production mode. So, it's not a unicorn only problem. I've tested it on 12.04.1 LTS and 11.10 on ubuntu.

Actions #2

Updated by Jean-Philippe Lang over 12 years ago

  • Resolution set to Cant reproduce

Redmine starts in a few seconds on my dev or production machines.

Actions #3

Updated by Allen Wyma over 12 years ago

If I can reproduce it, do you want a log and/or video or something? For some strange reason, now on my production server it works right away, before that it wasn't. But I think I can reproduce it again in a VM if you want.

Actions #4

Updated by Jean-Philippe Lang over 12 years ago

I'm afraid that a video won't help to understand what is going wrong with your setup.

Actions #5

Updated by Go MAEDA over 6 years ago

  • Status changed from New to Closed

Please reopen this issue if you still experience the problem with the latest versions of Redmine.

Actions

Also available in: Atom PDF