Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tsm-orchestration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UFZ TSM
tsm-orchestration
Commits
814cee17
Commit
814cee17
authored
11 months ago
by
Bert Palm
Browse files
Options
Downloads
Patches
Plain Diff
limited both scheduler to 1 CPU fix
parent
7cff8c5d
No related branches found
No related tags found
1 merge request
!154
limited both scheduler to 1 CPU fix
Pipeline
#383141
passed
11 months ago
Stage: integration
Stage: end-to-end
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.env.example
+0
-3
0 additions, 3 deletions
.env.example
docker-compose.yml
+6
-3
6 additions, 3 deletions
docker-compose.yml
with
6 additions
and
6 deletions
.env.example
+
0
−
3
View file @
814cee17
...
...
@@ -223,9 +223,6 @@ TOMCAT_PROXY_URL=${PROXY_URL}/sta/
SCHEDULER_IMAGE_TAG=latest
# This is used in the Dockerfile of basic-demo-scheduler
EXTRACTOR_IMAGE_TAG=latest
# Adjust to your local machine [max: CPUS-1]
SCHEDULER_CPU_COUNT=2
############################################################
# cron-scheduler (debian, python)
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
6
−
3
View file @
814cee17
...
...
@@ -743,9 +743,9 @@ services:
basic-demo-scheduler
:
image
:
"
registry.hzdr.de/ufz-tsm/tsm-basic-demo-scheduler/basic_demo_scheduler:${SCHEDULER_IMAGE_TAG}"
restart
:
"
${RESTART}"
#
p
revent blocking/slowing-down of other services
#
if many scheduler jobs occur at the same time
cpu
_count
:
${SCHEDULER_CPU_COUNT}
#
P
revent blocking/slowing-down of other services
if many scheduler jobs occur at
#
the same time. Cap the processing power to equivalent of one CPU of the system.
cpu
s
:
1.0
healthcheck
:
test
:
[
"
CMD-SHELL"
,
"
curl
--fail
http://localhost:5000/health
||
exit
1"
]
interval
:
10s
...
...
@@ -768,6 +768,9 @@ services:
UID
:
"
${UID}"
DEBIAN_IMAGE_TAG
:
"
${CRON_DEBIAN_IMAGE_TAG}"
restart
:
"
${RESTART}"
# Prevent blocking/slowing-down of other services if many scheduler jobs occur at
# the same time. Cap the processing power to equivalent of one CPU of the system.
cpus
:
1.0
environment
:
SETUP_SERVICE
:
"
${CRON_SETUP_SERVICE}"
CREATEDB_POSTGRES_USER
:
"
${CRON_CREATEDB_POSTGRES_USER}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment