Project

General

Profile

Redmine Just Hangs

Added by Zhoran Twalve almost 14 years ago

Hi,
I use Redmine 0.9.4 everyday for a couple of weeks and I'm happy very much!

Our admin deployed Redmine to FreeBSD virtual box.
Everything work ok, but few times every day Redmine just hangs creating new issue. Browser awaits the answer until timeout is over.

Redmine is placed in /usr/local/www/redmine and starts from /usr/local/etc/rc.d/redmine script:

#!/bin/sh

. /etc/rc.subr

name="redmine" 
rcvar=`set_rcvar`
command=ruby18

pidfile="/usr/local/www/redmine/tmp/pids/thin.pid" 

load_rc_config $name

# set defaults
: ${redmine_enable="NO"}
: ${redmine_flags="-a 0.0.0.0 -p 3000 -e production"}

command_args="-d -D -c /usr/local/www/redmine -u www -g www" 
start_cmd="/usr/local/bin/thin ${command_args} ${redmine_flags} start" 

run_rc_command "$1" 

Does that script start Redmine properly?

The log of Thin

...
>> Thin web server (v1.2.4 codename Flaming Astroboy)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
>> Writing PID to tmp/pids/thin.pid
>> Changing process privilege to www:www
>> Using rails adapter
/usr/local/www/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010.  Use #requirement
>> Thin web server (v1.2.4 codename Flaming Astroboy)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop

The last record in development.log contains details about the previous served request.

When a request hangs, all subsequent requests hangs too, until I reboot the box. After reboot it continues to work.

Please direct me where to dig in.

ps
There are only 3 Redmine users yet, and the session in Putty to the FreeBSD box itself is alive, so I guess that is not performance issue.