the server should have enough ram/cpu the server has 24cores 64gb or ram
I tried disabling Memorykiller using an env variable in the config file + reconfigure
gitlab_rails['env'] = {
'SIDEKIQ_MEMORY_KILLER_MAX_RSS' => "0"
}
Memorykiller is not showing up in the log anymore but the sidekiq still seems to be constantly rebooting
{"severity":"INFO","time":"2022-07-20T15:33:33.296Z","message":"Cron Jobs - add job with name: geo_sidekiq_cron_config_worker"}
{"severity":"WARN","time":"2022-07-20T15:33:36.022Z","message":"Creating scope :without_statuses. Overwriting existing method Ci::Pipeline.without_statuses."}
{"severity":"WARN","time":"2022-07-20T15:33:37.134Z","message":"Creating scope :of_projects. Overwriting existing method MergeRequest.of_projects."}
{"severity":"WARN","time":"2022-07-20T15:33:37.136Z","message":"Creating scope :join_project. Overwriting existing method MergeRequest.join_project."}
{"severity":"WARN","time":"2022-07-20T15:33:37.136Z","message":"Creating scope :references_project. Overwriting existing method MergeRequest.references_project."}
{"severity":"WARN","time":"2022-07-20T15:33:37.217Z","message":"Creating scope :opened. Overwriting existing method Epic.opened."}
{"severity":"WARN","time":"2022-07-20T15:33:37.217Z","message":"Creating scope :closed. Overwriting existing method Epic.closed."}
{"severity":"WARN","time":"2022-07-20T15:33:37.238Z","message":"Creating scope :with_api_entity_associations. Overwriting existing method Epic.with_api_entity_associations."}
{"severity":"WARN","time":"2022-07-20T15:33:37.552Z","message":"Creating scope :system. Overwriting existing method Note.system."}
{"severity":"WARN","time":"2022-07-20T15:33:37.949Z","message":"Creating scope :order_created_desc. Overwriting existing method Packages::Package.order_created_desc."}
{"severity":"WARN","time":"2022-07-20T15:33:37.949Z","message":"Creating scope :order_name_desc. Overwriting existing method Packages::Package.order_name_desc."}
{"severity":"WARN","time":"2022-07-20T15:33:38.412Z","message":"Creating scope :closed. Overwriting existing method Iteration.closed."}
{"severity":"WARN","time":"2022-07-20T15:33:38.413Z","message":"Creating scope :within_timeframe. Overwriting existing method Iteration.within_timeframe."}
{"severity":"WARN","time":"2022-07-20T15:33:41.533Z","message":"Creating scope :open. Overwriting existing method AlertManagement::Alert.open."}
{"severity":"WARN","time":"2022-07-20T15:33:41.596Z","message":"Creating scope :open. Overwriting existing method IncidentManagement::IssuableEscalationStatus.open."}
{"severity":"WARN","time":"2022-07-20T15:33:41.744Z","message":"Creating scope :with_associations. Overwriting existing method Board.with_associations."}
{"severity":"WARN","time":"2022-07-20T15:33:41.910Z","message":"Creating scope :movable. Overwriting existing method Boards::EpicList.movable."}
{"severity":"WARN","time":"2022-07-20T15:33:42.869Z","message":"Creating scope :order_name_asc. Overwriting existing method Label.order_name_asc."}
{"severity":"WARN","time":"2022-07-20T15:33:42.870Z","message":"Creating scope :order_name_desc. Overwriting existing method Label.order_name_desc."}
{"severity":"WARN","time":"2022-07-20T15:33:43.920Z","message":"Creating scope :open. Overwriting existing method ExternalPullRequest.open."}
{"severity":"WARN","time":"2022-07-20T15:33:44.146Z","message":"Creating scope :order_name_asc. Overwriting existing method Member.order_name_asc."}
{"severity":"WARN","time":"2022-07-20T15:33:44.146Z","message":"Creating scope :order_name_desc. Overwriting existing method Member.order_name_desc."}
{"severity":"WARN","time":"2022-07-20T15:33:44.329Z","message":"Creating scope :with_logging_info. Overwriting existing method PagesDomain.with_logging_info."}
{"severity":"WARN","time":"2022-07-20T15:33:44.619Z","message":"Creating scope :system. Overwriting existing method PrometheusMetric.system."}
{"severity":"WARN","time":"2022-07-20T15:33:45.176Z","message":"Creating scope :with_user. Overwriting existing method GroupMember.with_user."}
{"severity":"WARN","time":"2022-07-20T15:33:45.178Z","message":"Creating scope :reporters. Overwriting existing method GroupMember.reporters."}
{"severity":"WARN","time":"2022-07-20T15:33:45.179Z","message":"Creating scope :guests. Overwriting existing method GroupMember.guests."}
{"severity":"WARN","time":"2022-07-20T15:33:45.549Z","message":"Creating scope :extended. Overwriting existing method GitlabSubscription.extended."}
{"severity":"WARN","time":"2022-07-20T15:33:46.363Z","message":"Creating scope :without_statuses. Overwriting existing method Ci::Stage.without_statuses."}
{"severity":"WARN","time":"2022-07-20T15:33:46.364Z","message":"Creating scope :created. Overwriting existing method Ci::Stage.created."}
{"severity":"WARN","time":"2022-07-20T15:33:46.365Z","message":"Creating scope :pending. Overwriting existing method Ci::Stage.pending."}
{"severity":"WARN","time":"2022-07-20T15:33:46.365Z","message":"Creating scope :running. Overwriting existing method Ci::Stage.running."}
{"severity":"WARN","time":"2022-07-20T15:33:46.365Z","message":"Creating scope :success. Overwriting existing method Ci::Stage.success."}
{"severity":"WARN","time":"2022-07-20T15:33:46.366Z","message":"Creating scope :failed. Overwriting existing method Ci::Stage.failed."}
{"severity":"WARN","time":"2022-07-20T15:33:46.366Z","message":"Creating scope :canceled. Overwriting existing method Ci::Stage.canceled."}
{"severity":"WARN","time":"2022-07-20T15:33:46.366Z","message":"Creating scope :skipped. Overwriting existing method Ci::Stage.skipped."}
{"severity":"WARN","time":"2022-07-20T15:33:46.367Z","message":"Creating scope :manual. Overwriting existing method Ci::Stage.manual."}
{"severity":"WARN","time":"2022-07-20T15:33:46.367Z","message":"Creating scope :scheduled. Overwriting existing method Ci::Stage.scheduled."}
{"severity":"WARN","time":"2022-07-20T15:33:46.368Z","message":"Creating scope :preparing. Overwriting existing method Ci::Stage.preparing."}
{"severity":"WARN","time":"2022-07-20T15:33:46.368Z","message":"Creating scope :waiting_for_resource. Overwriting existing method Ci::Stage.waiting_for_resource."}
{"severity":"WARN","time":"2022-07-20T15:33:46.406Z","message":"Creating scope :database. Overwriting existing method Ci::BuildTraceChunk.database."}
{"severity":"WARN","time":"2022-07-20T15:33:48.213Z","message":"Creating scope :order_created_desc. Overwriting existing method RequirementsManagement::Requirement.order_created_desc."}
{"severity":"WARN","time":"2022-07-20T15:33:48.214Z","message":"Creating scope :order_created_asc. Overwriting existing method RequirementsManagement::Requirement.order_created_asc."}
{"severity":"WARN","time":"2022-07-20T15:33:48.214Z","message":"Creating scope :order_updated_desc. Overwriting existing method RequirementsManagement::Requirement.order_updated_desc."}
{"severity":"WARN","time":"2022-07-20T15:33:48.214Z","message":"Creating scope :order_updated_asc. Overwriting existing method RequirementsManagement::Requirement.order_updated_asc."}
{"severity":"WARN","time":"2022-07-20T15:33:48.236Z","message":"Creating scope :runnable_schedules. Overwriting existing method Security::OrchestrationPolicyRuleSchedule.runnable_schedules."}
{"severity":"WARN","time":"2022-07-20T15:33:49.886Z","message":"Creating scope :regular. Overwriting existing method EE::Gitlab::BackgroundMigration::MigrateApproverToApprovalRules::ApprovalMergeRequestRule.regular."}
{"severity":"WARN","time":"2022-07-20T15:33:49.887Z","message":"Creating scope :code_owner. Overwriting existing method EE::Gitlab::BackgroundMigration::MigrateApproverToApprovalRules::ApprovalMergeRequestRule.code_owner."}
{"severity":"WARN","time":"2022-07-20T15:33:54.206Z","message":"Creating scope :system. Overwriting existing method Gitlab::DatabaseImporters::CommonMetrics::PrometheusMetric.system."}
{"severity":"INFO","time":"2022-07-20T15:34:15.958Z","message":"Booted Rails 6.1.4.7 application in production environment"}
{"severity":"INFO","time":"2022-07-20T15:34:15.959Z","message":"Running in ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]"}
{"severity":"INFO","time":"2022-07-20T15:34:15.959Z","message":"See LICENSE and the LGPL-3.0 for licensing details."}
{"severity":"INFO","time":"2022-07-20T15:34:15.959Z","message":"Upgrade to Sidekiq Pro for more features and support: https://sidekiq.org"}
[2022-07-20 16:34:15] INFO WEBrick 1.6.1
[2022-07-20 16:34:15] INFO ruby 2.7.5 (2021-11-24) [x86_64-linux]
{"severity":"INFO","time":"2022-07-20T15:34:18.722Z","message":"A worker terminated, shutting down the cluster"}
{"severity":"INFO","time":"2022-07-20T15:34:25.318Z","message":"Starting cluster with 1 processes"}
{"severity":"INFO","time":"2022-07-20T15:34:46.734Z","message":"Listening on queues [\"adjourned_project_deletion\", \"a
I added more of the log in case you know what those warnings are
also when I check the background tasks form the command line :
sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
then it shows 4 but then the rest of the doc is not working