8.11 runsvdir errors
I'm currently testing 8.11 on a few machines and have seen that when looking at the running processes runsvdir is now showing errors and not the usual .'s. This happens with the gitlab built package for 8.11.2 and my own custom built packages for 8.11.2 and 8.11.3.
PS on a machine running the GitLab built RPM for 8.11.2 on Oracle Enterprise 6.5, a clean machine that was rebuilt last week and only has GitLab installed on it:
cloud@gitlab:~> ps -ef | grep runs
root 1975 1 0 Aug26 ? 00:00:36 runsvdir -P /opt/gitlab/service log: logd: fatal: no functional log directories.?svlogd: warning: unable to open log directory: []: file does not exist?svlogd: fatal: no functional log directories.?svlogd: warning: unable to open log directory: []: file does not exist?svlogd: fatal: no functional log directories.?svlogd: warning: unable to open log directory: []: file does not exist?svlogd: fatal: no functional log directories.?
root 1995 1975 0 Aug26 ? 00:00:00 runsv redis
root 2078 1975 0 Aug26 ? 00:00:00 runsv postgresql
root 2187 1975 0 Aug26 ? 00:00:00 runsv unicorn
root 2218 1975 0 Aug26 ? 00:00:00 runsv sidekiq
root 2228 1975 0 Aug26 ? 00:00:00 runsv gitlab-workhorse
root 2239 1975 0 Aug26 ? 00:00:00 runsv nginx
root 2253 1975 0 Aug26 ? 00:03:40 runsv log rotate
And also:
cloud@gitlab4:~> ps -ef | grep svlog
root 1975 1 0 Aug26 ? 00:00:36 runsvdir -P /opt/gitlab/service log: logd: fatal: no functional log directories.?svlogd: warning: unable to open log directory: []: file does not exist?svlogd: fatal: no functional log directories.?svlogd: warning: unable to open log directory: []: file does not exist?svlogd: fatal: no functional log directories.?svlogd: warning: unable to open log directory: []: file does not exist?svlogd: fatal: no functional log directories.?
root 1996 1995 0 Aug26 ? 00:00:00 svlogd -tt /var/log/gitlab/redis
root 2079 2078 0 Aug26 ? 00:00:00 svlogd -tt /var/log/gitlab/postgresql
root 2188 2187 0 Aug26 ? 00:00:00 svlogd -tt /var/log/gitlab/unicorn
root 2219 2218 0 Aug26 ? 00:00:00 svlogd -tt /var/log/gitlab/sidekiq
root 2229 2228 0 Aug26 ? 00:00:00 svlogd -tt /var/log/gitlab/gitlab-workhorse
root 2240 2239 0 Aug26 ? 00:00:00 svlogd -tt /var/log/gitlab/nginx
As you can see the svlogd processes are running and the path is valid and for sidekiq the svnlog is being updated:
cloud@gitlab4:~> sudo ls -la /var/log/gitlab/sidekiq
total 64
drwx------ 2 git root 4096 Aug 30 08:49 .
drwxr-xr-x 12 git root 4096 Aug 26 08:49 ..
-rwxr--r-- 1 root root 17896 Aug 27 08:49 @4000000057c154292f13b06c.s
-rwxr--r-- 1 root root 6057 Aug 28 08:49 @4000000057c2a5a93625abe4.s
-rwxr--r-- 1 root root 5939 Aug 29 08:49 @4000000057c3f72a00867fa4.s
-rwxr--r-- 1 root root 5987 Aug 30 08:49 @4000000057c548aa05e4acb4.s
-rw-r--r-- 1 root root 30 Aug 26 08:49 config
-rw-r--r-- 1 root root 7961 Aug 30 13:00 current
-rw------- 1 root root 0 Aug 26 08:49 lock
-rw-r--r-- 1 root root 0 Aug 30 08:49 state
For reference this is what I see on my production machine running 8.10.6:
stevenorman@git1.dtc.prod:
~ $ ps -ef | grep runs
root 1026 1 0 Aug06 ? 00:00:10 runsvdir -P /opt/gitlab/service log: ...........................................................................................................................................................................................................................................................................................................................................................................................................
root 1059 1026 0 Aug06 ? 00:00:00 runsv sidekiq
root 1060 1026 0 Aug06 ? 00:00:00 runsv unicorn
root 1061 1026 0 Aug06 ? 00:00:00 runsv nginx
root 1062 1026 0 Aug06 ? 00:00:00 runsv gitlab-workhorse
root 1063 1026 0 Aug06 ? 00:00:00 runsv logrotate
stevenorman@git1.dtc.prod:
~ $ ps -ef | grep svlog
root 1064 1063 0 Aug06 ? 00:00:00 svlogd -tt /var/log/gitlab/logrotate
root 1066 1062 0 Aug06 ? 00:19:04 svlogd -tt /var/log/gitlab/gitlab-workhorse
root 1077 1059 0 Aug06 ? 00:00:15 svlogd -tt /var/log/gitlab/sidekiq
root 1078 1060 0 Aug06 ? 00:00:00 svlogd -tt /var/log/gitlab/unicorn
root 1081 1061 0 Aug06 ? 00:00:00 svlogd -tt /var/log/gitlab/nginx