diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 18:09:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-30 18:09:15 +0300 |
commit | 536aa3a1f4b96abc4ca34489bf2cbe503afcded7 (patch) | |
tree | 88d08f7dfa29a32d6526773c4fe0fefd9f2bc7d1 /doc/development/import_export.md | |
parent | 50ae4065530c4eafbeb7c5ff2c462c48c02947ca (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/import_export.md')
-rw-r--r-- | doc/development/import_export.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/development/import_export.md b/doc/development/import_export.md index 3ee723bc897..323ed48aaf9 100644 --- a/doc/development/import_export.md +++ b/doc/development/import_export.md @@ -14,7 +14,7 @@ Project.find_by_full_path('group/project').import_state.slice(:jid, :status, :la > {"jid"=>"414dec93f941a593ea1a6894", "status"=>"finished", "last_error"=>nil} ``` -```bash +```shell # Logs grep JID /var/log/gitlab/sidekiq/current grep "Import/Export error" /var/log/gitlab/sidekiq/current @@ -30,7 +30,7 @@ Read through the current performance problems using the Import/Export below. Out of memory (OOM) errors are normally caused by the [Sidekiq Memory Killer](../administration/operations/sidekiq_memory_killer.md): -```bash +```shell SIDEKIQ_MEMORY_KILLER_MAX_RSS = 2000000 SIDEKIQ_MEMORY_KILLER_HARD_LIMIT_RSS = 3000000 SIDEKIQ_MEMORY_KILLER_GRACE_TIME = 900 @@ -38,7 +38,7 @@ SIDEKIQ_MEMORY_KILLER_GRACE_TIME = 900 An import status `started`, and the following Sidekiq logs will signal a memory issue: -```bash +```shell WARN: Work still in progress <struct with JID> ``` @@ -59,7 +59,7 @@ class StuckImportJobsWorker ... ``` -```bash +```shell Marked stuck import jobs as failed. JIDs: xyz ``` @@ -219,7 +219,7 @@ We do not need to bump the version up in any of the following cases: Every time we bump the version, the integration specs will fail and can be fixed with: -```bash +```shell bundle exec rake gitlab:import_export:bump_version ``` |