Ruby 1.9.3-p362 randomly crashing
Created by: zx1986
I had search all the issue about 502 here. but there are all about memory issue. I'm running a VM with 2048MB memory, and I keep watching htop in console. I thought my memory is enough for Gitlab.
AND! THIS ERROR APPEARED SOMETIMES! that's weird!
here is my env:
System information
System: RedHatEnterpriseServer 6.3 (x86_64)
Current User: gitlab
Using RVM: yes
RVM Version: 1.17.6
Ruby Version: 1.9.3p362
Gem Version: 1.8.24
Bundler Version:1.2.3
Rake Version: 10.0.1
GitLab information
Version: 4.0.0
Revision: 708a0d4
Directory: /home/gitlab/gitlab
DB Adapter: mysql2
URL: http://my_host
HTTP Clone URL: http://my_host/some-project.git
SSH Clone URL: git@my_host:some-project.git
Using LDAP: no
Using Omniauth: no
Gitolite information
Version: v3.2-gitlab-patched-0-g2d29cf7-dt
Admin URI: git@localhost:gitolite-admin
Admin Key: gitlab
Repositories: /home/git/repositories/
Hooks: /home/git/.gitolite/hooks/
Git: /usr/bin/git
here is my check report:
Checking Environment ...
gitlab user is in git group? ... yes
Has no "-e" in ~git/.profile ... yes
Git configured for gitlab user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking Gitolite ...
Using recommended version ... no
Try fixing it:
We strongly recommend using the version pointed out in the installation guide.
For more information see:
doc/install/installation.md in section "Gitolite"
Repo umask is 0007 in .gitolite.rc? ... yes
Allow all Git config keys in .gitolite.rc ... yes
Config directory exists? ... yes
Config directory owned by git:git ... yes
Config directory access is drwxr-x---? ... yes
Repo base directory exists? ... yes
Repo base owned by git:git? ... yes
Repo base access is drwsrws---? ... yes
Can clone gitolite-admin? ... Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
yes
Can commit to gitolite-admin? ... yes
post-receive hook exists? ... yes
post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ...
zx1986 / hello ... ok
Git config in repos: ...
zx1986 / hello ... ok
Checking Gitolite ... Finished
Checking Resque ...
Running? ... no
Try fixing it:
sudo service gitlab restart
or
sudo /etc/init.d/gitlab restart
For more information see:
doc/install/installation.md in section "Install Init Script"
see log/resque.log for possible errors
Please fix the error above and rerun the checks.
Checking Resque ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
Projects have satellites? ...
zx1986 / hello ... yes
Checking GitLab ... Finished
Nginx error log:
2013/01/04 08:52:51 [error] 2560#0: *269 upstream prematurely closed connection while reading response header from upstream, cl
ient: 163.29.179.201, server: mfcgit.cwb.gov.tw, request: "GET /zx1986/hello/merge_requests HTTP/1.0", upstream: "http://unix:/
home/gitlab/gitlab/tmp/sockets/gitlab.socket:/zx1986/hello/merge_requests", host: "my_host", referrer: "http://my_host/zx1986/hello/graph"
Unicron stderr.log:
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
E, [2013-01-04T08:52:51.076288 #2590] ERROR -- : reaped #<Process::Status: pid 29301 SIGIOT (signal 6) (core dumped)> worker=1
I, [2013-01-04T08:52:51.188813 #29822] INFO -- : worker=1 ready
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.9/lib/active_record/relation.rb:241: [BUG] Segmentation fault ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux]
I'm using RVM with Ruby 1.9.3, but there is something about 1.9.1 in Unicron error log, is that alright? by the way, I'm running RHEL 6.3 x86_64.
[BUG] Segmentation fault ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux]