Unexpected writes to pages/@hased/tmp with pages_local_stor_enabled = false
pages_local_stor_enabled
has been disabled in all gitlab.com environments gitlab-com/gl-infra/production#4307 (closed)
We are seeing writes to /var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp
on the sidekiq-catchall from PagesWorker
gitlab-com&1078 (comment 569269108)
We suspect the writes are comming from CarrierWave and we will need to address them before unmounting NFS which is a prerequisite for unmounting NFS on catchall and decommissioning the pages NFS server.
Output of inotify
on the @hased/tmp
directory:
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/1620376679-28594-0008-4758/ CREATE artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/1620376679-28594-0008-4758/ MODIFY artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/1620376679-28594-0008-4758/ ATTRIB artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/ CREATE,ISDIR 1620376679-28594-0008-4758
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/ OPEN,ISDIR 1620376679-28594-0008-4758
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/ ACCESS,ISDIR 1620376679-28594-0008-4758
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/ CLOSE_NOWRITE,CLOSE,ISDIR 1620376679-28594-0008-4758
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/1620376679-28594-0008-4758/ CLOSE_WRITE,CLOSE artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/ ATTRIB,ISDIR 1620376679-28594-0008-4758
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/1620376679-28594-0008-4758/ ATTRIB,ISDIR
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/1620376679-28594-0008-4758/ MOVED_FROM artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/1620376679-28594-0008-4758/ MOVED_TO artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/1620376679-28594-0008-4758/ ATTRIB artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/ ACCESS,ISDIR 1620376679-28594-0008-4758
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/1620376679-28594-0008-4758/ ACCESS,ISDIR
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/ ACCESS,ISDIR 1620376679-28594-0008-4758
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/1620376679-28594-0008-4758/ ACCESS,ISDIR
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/ DELETE,ISDIR 1620376679-28594-0008-4758
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/ CLOSE_NOWRITE,CLOSE,ISDIR 1620376679-28594-0008-4758
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/1620376679-28594-0008-4758/ CLOSE_NOWRITE,CLOSE,ISDIR
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/work/1620376679-28594-0008-4758/ DELETE_SELF
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/1620376679-28594-0008-4758/ ACCESS artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/1620376679-28594-0008-4758/ ACCESS artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/1620376679-28594-0008-4758/ ACCESS artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/1620376679-28594-0008-4758/ DELETE artifacts.zip
/var/opt/gitlab/gitlab-rails/shared/pages/@hashed/tmp/cache/ DELETE,ISDIR 1620376679-28594-0008-4758