Geo: File descriptor leak with geo.log
I noticed on the Geo testbed, there are a lot of open file descriptors in Sidekiq for geo.log:
stanhu@sync:~$ sudo lsof -p 7183 | grep geo.log | more
bundle 7183 git 11w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 18w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 19w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 21w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 22w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 24w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 25w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 37w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 38w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 39w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 41w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 42w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 43w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 45w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 46w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 48w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 49w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 50w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 51w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 59w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 61w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 63w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 70w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
bundle 7183 git 71w REG 8,1 19073539 768566 /var/log/gitlab/gitlab-rails/geo.log
It looks like this number is increasing:
stanhu@sync:~$ sudo lsof -p 7183 | grep geo.log | wc -l
1078
stanhu@sync:~$ sudo lsof -p 7183 | grep geo.log | wc -l
1141