gitlab排障-不能合并代码(could not merge)

默认安装gitlab

1、查看状态

cd /opt/gitlab/bin
./gitlab-ctl status
###### 输出
run: logrotate: (pid 29511) 1260s; run: log: (pid 1131) 5934120s
run: nginx: (pid 1135) 5934120s; run: log: (pid 1128) 5934120s
run: postgresql: (pid 1132) 5934120s; run: log: (pid 1126) 5934120s
run: redis: (pid 1127) 5934120s; run: log: (pid 1124) 5934120s
run: sidekiq: (pid 3294) 91s; run: log: (pid 1129) 5934120s
run: unicorn: (pid 1130) 5934120s; run: log: (pid 1125) 5934120s

2、不能合并代码原因(could not merge)

ps -ef | grep sidekiq
####### 输出
git      19536  1123  0 Jun13 ?        00:07:48 sidekiq 3.3.0 **gitlab-rails [0 of 25 busy] stopping**
####### stopping字样表示此进程有异常,杀掉即可
kill -9 19536

### 杀掉会自动重启,如果没启动就手工启动
./gitlab-ctl start sidekiq

你可能感兴趣的:(git)