WIP: convert GORM to sqlc, for jobs/tasks #104304
13
CHANGELOG.md
13
CHANGELOG.md
@ -4,14 +4,23 @@ This file contains the history of changes to Flamenco. Only changes that might
|
|||||||
be interesting for users are listed here, such as new features and fixes for
|
be interesting for users are listed here, such as new features and fixes for
|
||||||
bugs in actually-released versions.
|
bugs in actually-released versions.
|
||||||
|
|
||||||
## 3.5 - in development
|
## 3.6 - in development
|
||||||
|
|
||||||
- Add MQTT support. Flamenco Manager can now send internal events to an MQTT broker.
|
## 3.5 - released 2024-04-16
|
||||||
|
|
||||||
|
- Add MQTT support ([docs](https://flamenco.blender.org/usage/manager-configuration/mqtt/)). Flamenco Manager can now send internal events to an MQTT broker.
|
||||||
- Simplify the preview video filename when a complex set of frames rendered ([#104285](https://projects.blender.org/studio/flamenco/issues/104285)). Instead of `video-1, 4, 10.mp4` it is now simply `video-1-10.mp4`.
|
- Simplify the preview video filename when a complex set of frames rendered ([#104285](https://projects.blender.org/studio/flamenco/issues/104285)). Instead of `video-1, 4, 10.mp4` it is now simply `video-1-10.mp4`.
|
||||||
- Make the `blendfile` parameter of a `blender-render` command optional. This makes it possible to pass, for example, a Python file that loads/constructs the blend file, instead of loading one straight from disk.
|
- Make the `blendfile` parameter of a `blender-render` command optional. This makes it possible to pass, for example, a Python file that loads/constructs the blend file, instead of loading one straight from disk.
|
||||||
- Show the farm status in the web frontend. This shows whether the farm is actively working on a job, idle, asleep (all workers are sleeping and no work is queued), waiting (all workers are sleeping, and work is queued), or inoperable (no workers, or all workers are offline). This status is also broadcast as event via the event bus, and thus available via SocketIO and MQTT.
|
- Show the farm status in the web frontend. This shows whether the farm is actively working on a job, idle, asleep (all workers are sleeping and no work is queued), waiting (all workers are sleeping, and work is queued), or inoperable (no workers, or all workers are offline). This status is also broadcast as event via the event bus, and thus available via SocketIO and MQTT.
|
||||||
- Fix an issue where the columns in the web interface wouldn't correctly resize when the shown information changed.
|
- Fix an issue where the columns in the web interface wouldn't correctly resize when the shown information changed.
|
||||||
- Add-on: replace the different 'refresh' buttons (for Manager info & storage location, job types, and worker tags) with a single button that just refreshes everything in one go. The information obtained from Flamenco Manager is now stored in a JSON file on disk, making it independent from Blender auto-saving the user preferences.
|
- Add-on: replace the different 'refresh' buttons (for Manager info & storage location, job types, and worker tags) with a single button that just refreshes everything in one go. The information obtained from Flamenco Manager is now stored in a JSON file on disk, making it independent from Blender auto-saving the user preferences.
|
||||||
|
- Ensure the web frontend connects to the backend correctly when served over HTTPS ([#104296](https://projects.blender.org/studio/flamenco/pulls/104296)).
|
||||||
|
- For Workers running on Linux, it is now possible to configure the "OOM score adjustment" for sub-processes. This makes it possible for the out-of-memory killer to target Blender, and not Flamenco Worker itself.
|
||||||
|
- Security updates of some dependencies:
|
||||||
|
- [Incorrect forwarding of sensitive headers and cookies on HTTP redirect in net/http](https://pkg.go.dev/vuln/GO-2024-2600)
|
||||||
|
- [Memory exhaustion in multipart form parsing in net/textproto and net/http](https://pkg.go.dev/vuln/GO-2024-2599)
|
||||||
|
- [Verify panics on certificates with an unknown public key algorithm in crypto/x509](https://pkg.go.dev/vuln/GO-2024-2600)
|
||||||
|
- [HTTP/2 CONTINUATION flood in net/http](https://pkg.go.dev/vuln/GO-2024-2687)
|
||||||
|
|
||||||
## 3.4 - released 2024-01-12
|
## 3.4 - released 2024-01-12
|
||||||
|
|
||||||
|
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ PKG := projects.blender.org/studio/flamenco
|
|||||||
|
|
||||||
# To update the version number in all the relevant places, update the VERSION
|
# To update the version number in all the relevant places, update the VERSION
|
||||||
# variable below and run `make update-version`.
|
# variable below and run `make update-version`.
|
||||||
VERSION := 3.5-alpha1
|
VERSION := 3.6-alpha0
|
||||||
# "alpha", "beta", or "release".
|
# "alpha", "beta", or "release".
|
||||||
RELEASE_CYCLE := alpha
|
RELEASE_CYCLE := alpha
|
||||||
|
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
bl_info = {
|
bl_info = {
|
||||||
"name": "Flamenco 3",
|
"name": "Flamenco 3",
|
||||||
"author": "Sybren A. Stüvel",
|
"author": "Sybren A. Stüvel",
|
||||||
"version": (3, 5),
|
"version": (3, 6),
|
||||||
"blender": (3, 1, 0),
|
"blender": (3, 1, 0),
|
||||||
"description": "Flamenco client for Blender.",
|
"description": "Flamenco client for Blender.",
|
||||||
"location": "Output Properties > Flamenco",
|
"location": "Output Properties > Flamenco",
|
||||||
"doc_url": "https://flamenco.blender.org/",
|
"doc_url": "https://flamenco.blender.org/",
|
||||||
"category": "System",
|
"category": "System",
|
||||||
"support": "COMMUNITY",
|
"support": "COMMUNITY",
|
||||||
"warning": "This is version 3.5-alpha1 of the add-on, which is not a stable release",
|
"warning": "This is version 3.6-alpha0 of the add-on, which is not a stable release",
|
||||||
}
|
}
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
@ -286,12 +286,12 @@ class Transferrer(submodules.transfer.FileTransferer): # type: ignore
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
self.log.debug(" %s: %s", file_spec.status, file_spec.path)
|
self.log.debug(" %s: %s", file_spec.status, file_spec.path)
|
||||||
match file_spec.status.value:
|
status = file_spec.status.value
|
||||||
case "unknown":
|
if status == "unknown":
|
||||||
to_upload.appendleft(file_spec)
|
to_upload.appendleft(file_spec)
|
||||||
case "uploading":
|
elif status == "uploading":
|
||||||
to_upload.append(file_spec)
|
to_upload.append(file_spec)
|
||||||
case _:
|
else:
|
||||||
msg = "Unknown status in response from Shaman: %r" % file_spec
|
msg = "Unknown status in response from Shaman: %r" % file_spec
|
||||||
self.log.error(msg)
|
self.log.error(msg)
|
||||||
self.error_set(msg)
|
self.error_set(msg)
|
||||||
@ -375,21 +375,22 @@ class Transferrer(submodules.transfer.FileTransferer): # type: ignore
|
|||||||
x_shaman_original_filename=file_spec.path,
|
x_shaman_original_filename=file_spec.path,
|
||||||
)
|
)
|
||||||
except ApiException as ex:
|
except ApiException as ex:
|
||||||
match ex.status:
|
if ex.status == 425:
|
||||||
case 425: # Too Early, i.e. defer uploading this file.
|
# Too Early, i.e. defer uploading this file.
|
||||||
self.log.info(
|
self.log.info(
|
||||||
" %s: someone else is uploading this file, deferring",
|
" %s: someone else is uploading this file, deferring",
|
||||||
file_spec.path,
|
file_spec.path,
|
||||||
)
|
)
|
||||||
defer(file_spec)
|
defer(file_spec)
|
||||||
continue
|
continue
|
||||||
case 417: # Expectation Failed; mismatch of checksum or file size.
|
elif ex.status == 417:
|
||||||
|
# Expectation Failed; mismatch of checksum or file size.
|
||||||
msg = "Error from Shaman uploading %s, code %d: %s" % (
|
msg = "Error from Shaman uploading %s, code %d: %s" % (
|
||||||
file_spec.path,
|
file_spec.path,
|
||||||
ex.status,
|
ex.status,
|
||||||
ex.body,
|
ex.body,
|
||||||
)
|
)
|
||||||
case _: # Unknown error
|
else: # Unknown error
|
||||||
msg = "API exception\nHeaders: %s\nBody: %s\n" % (
|
msg = "API exception\nHeaders: %s\nBody: %s\n" % (
|
||||||
ex.headers,
|
ex.headers,
|
||||||
ex.body,
|
ex.body,
|
||||||
@ -453,15 +454,11 @@ class Transferrer(submodules.transfer.FileTransferer): # type: ignore
|
|||||||
checkoutRequest
|
checkoutRequest
|
||||||
)
|
)
|
||||||
except ApiException as ex:
|
except ApiException as ex:
|
||||||
match ex.status:
|
if ex.status == 424: # Files were missing
|
||||||
case 424: # Files were missing
|
|
||||||
msg = "We did not upload some files, checkout aborted"
|
msg = "We did not upload some files, checkout aborted"
|
||||||
case 409: # Checkout already exists
|
elif ex.status == 409: # Checkout already exists
|
||||||
msg = (
|
msg = "There is already an existing checkout at %s" % self.checkout_path
|
||||||
"There is already an existing checkout at %s"
|
else: # Unknown error
|
||||||
% self.checkout_path
|
|
||||||
)
|
|
||||||
case _: # Unknown error
|
|
||||||
msg = "API exception\nHeaders: %s\nBody: %s\n" % (
|
msg = "API exception\nHeaders: %s\nBody: %s\n" % (
|
||||||
ex.headers,
|
ex.headers,
|
||||||
ex.body,
|
ex.body,
|
||||||
|
@ -116,7 +116,8 @@ def _store_available_job_types(available_job_types: _AvailableJobTypes) -> None:
|
|||||||
else:
|
else:
|
||||||
# Convert from API response type to list suitable for an EnumProperty.
|
# Convert from API response type to list suitable for an EnumProperty.
|
||||||
_job_type_enum_items = [
|
_job_type_enum_items = [
|
||||||
(job_type.name, job_type.label, "") for job_type in job_types
|
(job_type.name, job_type.label, getattr(job_type, "description", ""))
|
||||||
|
for job_type in job_types
|
||||||
]
|
]
|
||||||
_job_type_enum_items.insert(0, _JOB_TYPE_NOT_SELECTED_ENUM_ITEM)
|
_job_type_enum_items.insert(0, _JOB_TYPE_NOT_SELECTED_ENUM_ITEM)
|
||||||
|
|
||||||
|
2
addon/flamenco/manager/__init__.py
generated
2
addon/flamenco/manager/__init__.py
generated
@ -10,7 +10,7 @@
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
__version__ = "3.5-alpha1"
|
__version__ = "3.6-alpha0"
|
||||||
|
|
||||||
# import ApiClient
|
# import ApiClient
|
||||||
from flamenco.manager.api_client import ApiClient
|
from flamenco.manager.api_client import ApiClient
|
||||||
|
2
addon/flamenco/manager/api_client.py
generated
2
addon/flamenco/manager/api_client.py
generated
@ -76,7 +76,7 @@ class ApiClient(object):
|
|||||||
self.default_headers[header_name] = header_value
|
self.default_headers[header_name] = header_value
|
||||||
self.cookie = cookie
|
self.cookie = cookie
|
||||||
# Set default User-Agent.
|
# Set default User-Agent.
|
||||||
self.user_agent = 'Flamenco/3.5-alpha1 (Blender add-on)'
|
self.user_agent = 'Flamenco/3.6-alpha0 (Blender add-on)'
|
||||||
|
|
||||||
def __enter__(self):
|
def __enter__(self):
|
||||||
return self
|
return self
|
||||||
|
2
addon/flamenco/manager/configuration.py
generated
2
addon/flamenco/manager/configuration.py
generated
@ -404,7 +404,7 @@ conf = flamenco.manager.Configuration(
|
|||||||
"OS: {env}\n"\
|
"OS: {env}\n"\
|
||||||
"Python Version: {pyversion}\n"\
|
"Python Version: {pyversion}\n"\
|
||||||
"Version of the API: 1.0.0\n"\
|
"Version of the API: 1.0.0\n"\
|
||||||
"SDK Package Version: 3.5-alpha1".\
|
"SDK Package Version: 3.6-alpha0".\
|
||||||
format(env=sys.platform, pyversion=sys.version)
|
format(env=sys.platform, pyversion=sys.version)
|
||||||
|
|
||||||
def get_host_settings(self):
|
def get_host_settings(self):
|
||||||
|
1
addon/flamenco/manager/docs/AvailableJobType.md
generated
1
addon/flamenco/manager/docs/AvailableJobType.md
generated
@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|||||||
**label** | **str** | |
|
**label** | **str** | |
|
||||||
**settings** | [**[AvailableJobSetting]**](AvailableJobSetting.md) | |
|
**settings** | [**[AvailableJobSetting]**](AvailableJobSetting.md) | |
|
||||||
**etag** | **str** | Hash of the job type. If the job settings or the label change, this etag will change. This is used on job submission to ensure that the submitted job settings are up to date. |
|
**etag** | **str** | Hash of the job type. If the job settings or the label change, this etag will change. This is used on job submission to ensure that the submitted job settings are up to date. |
|
||||||
|
**description** | **str** | The description/tooltip shown in the user interface. | [optional]
|
||||||
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
|
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
@ -91,6 +91,7 @@ class AvailableJobType(ModelNormal):
|
|||||||
'label': (str,), # noqa: E501
|
'label': (str,), # noqa: E501
|
||||||
'settings': ([AvailableJobSetting],), # noqa: E501
|
'settings': ([AvailableJobSetting],), # noqa: E501
|
||||||
'etag': (str,), # noqa: E501
|
'etag': (str,), # noqa: E501
|
||||||
|
'description': (str,), # noqa: E501
|
||||||
}
|
}
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
@ -103,6 +104,7 @@ class AvailableJobType(ModelNormal):
|
|||||||
'label': 'label', # noqa: E501
|
'label': 'label', # noqa: E501
|
||||||
'settings': 'settings', # noqa: E501
|
'settings': 'settings', # noqa: E501
|
||||||
'etag': 'etag', # noqa: E501
|
'etag': 'etag', # noqa: E501
|
||||||
|
'description': 'description', # noqa: E501
|
||||||
}
|
}
|
||||||
|
|
||||||
read_only_vars = {
|
read_only_vars = {
|
||||||
@ -152,6 +154,7 @@ class AvailableJobType(ModelNormal):
|
|||||||
Animal class but this time we won't travel
|
Animal class but this time we won't travel
|
||||||
through its discriminator because we passed in
|
through its discriminator because we passed in
|
||||||
_visited_composed_classes = (Animal,)
|
_visited_composed_classes = (Animal,)
|
||||||
|
description (str): The description/tooltip shown in the user interface.. [optional] # noqa: E501
|
||||||
"""
|
"""
|
||||||
|
|
||||||
_check_type = kwargs.pop('_check_type', True)
|
_check_type = kwargs.pop('_check_type', True)
|
||||||
@ -243,6 +246,7 @@ class AvailableJobType(ModelNormal):
|
|||||||
Animal class but this time we won't travel
|
Animal class but this time we won't travel
|
||||||
through its discriminator because we passed in
|
through its discriminator because we passed in
|
||||||
_visited_composed_classes = (Animal,)
|
_visited_composed_classes = (Animal,)
|
||||||
|
description (str): The description/tooltip shown in the user interface.. [optional] # noqa: E501
|
||||||
"""
|
"""
|
||||||
|
|
||||||
_check_type = kwargs.pop('_check_type', True)
|
_check_type = kwargs.pop('_check_type', True)
|
||||||
|
2
addon/flamenco/manager_README.md
generated
2
addon/flamenco/manager_README.md
generated
@ -4,7 +4,7 @@ Render Farm manager API
|
|||||||
The `flamenco.manager` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
The `flamenco.manager` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||||
|
|
||||||
- API version: 1.0.0
|
- API version: 1.0.0
|
||||||
- Package version: 3.5-alpha1
|
- Package version: 3.6-alpha0
|
||||||
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
||||||
For more information, please visit [https://flamenco.io/](https://flamenco.io/)
|
For more information, please visit [https://flamenco.io/](https://flamenco.io/)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import dataclasses
|
|||||||
import json
|
import json
|
||||||
import platform
|
import platform
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import TYPE_CHECKING, Optional
|
from typing import TYPE_CHECKING, Optional, Union
|
||||||
|
|
||||||
from urllib3.exceptions import HTTPError, MaxRetryError
|
from urllib3.exceptions import HTTPError, MaxRetryError
|
||||||
|
|
||||||
@ -133,7 +133,7 @@ def _to_json(info: ManagerInfo) -> str:
|
|||||||
return json.dumps(info, indent=" ", cls=Encoder)
|
return json.dumps(info, indent=" ", cls=Encoder)
|
||||||
|
|
||||||
|
|
||||||
def _from_json(contents: str | bytes) -> ManagerInfo:
|
def _from_json(contents: Union[str, bytes]) -> ManagerInfo:
|
||||||
# Do a late import, so that the API is only imported when actually used.
|
# Do a late import, so that the API is only imported when actually used.
|
||||||
from flamenco.manager.configuration import Configuration
|
from flamenco.manager.configuration import Configuration
|
||||||
from flamenco.manager.model_utils import validate_and_convert_types
|
from flamenco.manager.model_utils import validate_and_convert_types
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# <pep8 compliant>
|
# <pep8 compliant>
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Callable, TypeAlias
|
from typing import Callable
|
||||||
import dataclasses
|
import dataclasses
|
||||||
|
|
||||||
from .bat.submodules import bpathlib
|
from .bat.submodules import bpathlib
|
||||||
@ -64,7 +64,7 @@ def _search_path_marker(blendfile: Path, marker_path: str) -> Path:
|
|||||||
return blendfile_dir
|
return blendfile_dir
|
||||||
|
|
||||||
|
|
||||||
Finder: TypeAlias = Callable[[Path], Path]
|
Finder = Callable[[Path], Path]
|
||||||
|
|
||||||
|
|
||||||
@dataclasses.dataclass
|
@dataclasses.dataclass
|
||||||
|
@ -23,6 +23,7 @@ import (
|
|||||||
"projects.blender.org/studio/flamenco/internal/appinfo"
|
"projects.blender.org/studio/flamenco/internal/appinfo"
|
||||||
"projects.blender.org/studio/flamenco/internal/worker"
|
"projects.blender.org/studio/flamenco/internal/worker"
|
||||||
"projects.blender.org/studio/flamenco/internal/worker/cli_runner"
|
"projects.blender.org/studio/flamenco/internal/worker/cli_runner"
|
||||||
|
"projects.blender.org/studio/flamenco/pkg/oomscore"
|
||||||
"projects.blender.org/studio/flamenco/pkg/sysinfo"
|
"projects.blender.org/studio/flamenco/pkg/sysinfo"
|
||||||
"projects.blender.org/studio/flamenco/pkg/website"
|
"projects.blender.org/studio/flamenco/pkg/website"
|
||||||
)
|
)
|
||||||
@ -114,6 +115,10 @@ func main() {
|
|||||||
findBlender()
|
findBlender()
|
||||||
findFFmpeg()
|
findFFmpeg()
|
||||||
|
|
||||||
|
// Create the CLI runner before the auto-discovery, to make any configuration
|
||||||
|
// problems clear before waiting for the Manager to respond.
|
||||||
|
cliRunner := createCLIRunner(&configWrangler)
|
||||||
|
|
||||||
// Give the auto-discovery some time to find a Manager.
|
// Give the auto-discovery some time to find a Manager.
|
||||||
discoverTimeout := 10 * time.Minute
|
discoverTimeout := 10 * time.Minute
|
||||||
discoverCtx, discoverCancel := context.WithTimeout(context.Background(), discoverTimeout)
|
discoverCtx, discoverCancel := context.WithTimeout(context.Background(), discoverTimeout)
|
||||||
@ -149,7 +154,6 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
cliRunner := cli_runner.NewCLIRunner()
|
|
||||||
listener = worker.NewListener(client, buffer)
|
listener = worker.NewListener(client, buffer)
|
||||||
cmdRunner := worker.NewCommandExecutor(cliRunner, listener, timeService)
|
cmdRunner := worker.NewCommandExecutor(cliRunner, listener, timeService)
|
||||||
taskRunner := worker.NewTaskExecutor(cmdRunner, listener)
|
taskRunner := worker.NewTaskExecutor(cmdRunner, listener)
|
||||||
@ -304,3 +308,27 @@ func logFatalManagerDiscoveryError(err error, discoverTimeout time.Duration) {
|
|||||||
Msgf("auto-discovery error, see %s", website.CannotFindManagerHelpURL)
|
Msgf("auto-discovery error, see %s", website.CannotFindManagerHelpURL)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func createCLIRunner(configWrangler *worker.FileConfigWrangler) *cli_runner.CLIRunner {
|
||||||
|
config, err := configWrangler.WorkerConfig()
|
||||||
|
if err != nil {
|
||||||
|
log.Fatal().Err(err).Msg("error loading worker configuration")
|
||||||
|
}
|
||||||
|
|
||||||
|
if config.LinuxOOMScoreAdjust == nil {
|
||||||
|
log.Debug().Msg("executables will be run without OOM score adjustment")
|
||||||
|
return cli_runner.NewCLIRunner()
|
||||||
|
}
|
||||||
|
|
||||||
|
if !oomscore.Available() {
|
||||||
|
log.Warn().
|
||||||
|
Msgf("config: oom_score_adjust configured, but that is only available on Linux, not this platform. See %s for more information.",
|
||||||
|
website.OOMScoreAdjURL)
|
||||||
|
return cli_runner.NewCLIRunner()
|
||||||
|
}
|
||||||
|
|
||||||
|
adjustment := *config.LinuxOOMScoreAdjust
|
||||||
|
log.Info().Int("oom_score_adjust", adjustment).Msg("executables will be run with OOM score adjustment")
|
||||||
|
|
||||||
|
return cli_runner.NewCLIRunnerWithOOMScoreAdjuster(adjustment)
|
||||||
|
}
|
||||||
|
8
go.mod
8
go.mod
@ -1,6 +1,6 @@
|
|||||||
module projects.blender.org/studio/flamenco
|
module projects.blender.org/studio/flamenco
|
||||||
|
|
||||||
go 1.22
|
go 1.22.2
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/adrg/xdg v0.4.0
|
github.com/adrg/xdg v0.4.0
|
||||||
@ -28,10 +28,10 @@ require (
|
|||||||
github.com/stretchr/testify v1.8.4
|
github.com/stretchr/testify v1.8.4
|
||||||
github.com/zcalusic/sysinfo v1.0.1
|
github.com/zcalusic/sysinfo v1.0.1
|
||||||
github.com/ziflex/lecho/v3 v3.1.0
|
github.com/ziflex/lecho/v3 v3.1.0
|
||||||
golang.org/x/crypto v0.16.0
|
golang.org/x/crypto v0.21.0
|
||||||
golang.org/x/image v0.10.0
|
golang.org/x/image v0.10.0
|
||||||
golang.org/x/net v0.19.0
|
golang.org/x/net v0.23.0
|
||||||
golang.org/x/sys v0.15.0
|
golang.org/x/sys v0.18.0
|
||||||
gopkg.in/yaml.v2 v2.4.0
|
gopkg.in/yaml.v2 v2.4.0
|
||||||
gorm.io/gorm v1.25.5
|
gorm.io/gorm v1.25.5
|
||||||
modernc.org/sqlite v1.28.0
|
modernc.org/sqlite v1.28.0
|
||||||
|
6
go.sum
6
go.sum
@ -201,6 +201,8 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y
|
|||||||
golang.org/x/crypto v0.0.0-20211215165025-cf75a172585e/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8=
|
golang.org/x/crypto v0.0.0-20211215165025-cf75a172585e/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8=
|
||||||
golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY=
|
golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY=
|
||||||
golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
|
golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
|
||||||
|
golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA=
|
||||||
|
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
|
||||||
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||||
golang.org/x/image v0.10.0 h1:gXjUUtwtx5yOE0VKWq1CH4IJAClq4UGgUA3i+rpON9M=
|
golang.org/x/image v0.10.0 h1:gXjUUtwtx5yOE0VKWq1CH4IJAClq4UGgUA3i+rpON9M=
|
||||||
golang.org/x/image v0.10.0/go.mod h1:jtrku+n79PfroUbvDdeUWMAI+heR786BofxrbiSF+J0=
|
golang.org/x/image v0.10.0/go.mod h1:jtrku+n79PfroUbvDdeUWMAI+heR786BofxrbiSF+J0=
|
||||||
@ -223,6 +225,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug
|
|||||||
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
||||||
golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c=
|
golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c=
|
||||||
golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U=
|
golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U=
|
||||||
|
golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs=
|
||||||
|
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
|
||||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
@ -262,6 +266,8 @@ golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|||||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
|
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
|
||||||
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||||
|
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
|
||||||
|
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||||
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||||
|
@ -442,6 +442,32 @@ func TestGetJobTypeHappy(t *testing.T) {
|
|||||||
assertResponseJSON(t, echoCtx, http.StatusOK, jt)
|
assertResponseJSON(t, echoCtx, http.StatusOK, jt)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestGetJobTypeWithDescriptionHappy(t *testing.T) {
|
||||||
|
mockCtrl := gomock.NewController(t)
|
||||||
|
defer mockCtrl.Finish()
|
||||||
|
mf := newMockedFlamenco(mockCtrl)
|
||||||
|
|
||||||
|
// Get an existing job type with a description.
|
||||||
|
description := "This is a test job type"
|
||||||
|
jt := api.AvailableJobType{
|
||||||
|
Description: &description,
|
||||||
|
Etag: "some etag",
|
||||||
|
Name: "test-job-type",
|
||||||
|
Label: "Test Job Type",
|
||||||
|
Settings: []api.AvailableJobSetting{
|
||||||
|
{Key: "setting", Type: api.AvailableJobSettingTypeString},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
mf.jobCompiler.EXPECT().GetJobType("test-job-type").
|
||||||
|
Return(jt, nil)
|
||||||
|
|
||||||
|
echoCtx := mf.prepareMockedRequest(nil)
|
||||||
|
err := mf.flamenco.GetJobType(echoCtx, "test-job-type")
|
||||||
|
require.NoError(t, err)
|
||||||
|
|
||||||
|
assertResponseJSON(t, echoCtx, http.StatusOK, jt)
|
||||||
|
}
|
||||||
|
|
||||||
func TestGetJobTypeUnknown(t *testing.T) {
|
func TestGetJobTypeUnknown(t *testing.T) {
|
||||||
mockCtrl := gomock.NewController(t)
|
mockCtrl := gomock.NewController(t)
|
||||||
defer mockCtrl.Finish()
|
defer mockCtrl.Finish()
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
const JOB_TYPE = {
|
const JOB_TYPE = {
|
||||||
label: "Simple Blender Render",
|
label: "Simple Blender Render",
|
||||||
|
description: "Render a sequence of frames, and create a preview video file",
|
||||||
settings: [
|
settings: [
|
||||||
// Settings for artists to determine:
|
// Settings for artists to determine:
|
||||||
{ key: "frames", type: "string", required: true, eval: "f'{C.scene.frame_start}-{C.scene.frame_end}'",
|
{ key: "frames", type: "string", required: true, eval: "f'{C.scene.frame_start}-{C.scene.frame_end}'",
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
const JOB_TYPE = {
|
const JOB_TYPE = {
|
||||||
label: "Simple Blender Render",
|
label: "Simple Blender Render",
|
||||||
|
description: "Render a sequence of frames, and create a preview video file",
|
||||||
settings: [
|
settings: [
|
||||||
// Settings for artists to determine:
|
// Settings for artists to determine:
|
||||||
{ key: "frames", type: "string", required: true,
|
{ key: "frames", type: "string", required: true,
|
||||||
|
@ -62,6 +62,15 @@ func (db *DB) SaveWorkerTag(ctx context.Context, tag *WorkerTag) error {
|
|||||||
|
|
||||||
// DeleteWorkerTag deletes the given tag, after unassigning all workers from it.
|
// DeleteWorkerTag deletes the given tag, after unassigning all workers from it.
|
||||||
func (db *DB) DeleteWorkerTag(ctx context.Context, uuid string) error {
|
func (db *DB) DeleteWorkerTag(ctx context.Context, uuid string) error {
|
||||||
|
// As a safety measure, refuse to delete unless foreign key constraints are active.
|
||||||
|
fkEnabled, err := db.areForeignKeysEnabled()
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("checking whether foreign keys are enabled: %w", err)
|
||||||
|
}
|
||||||
|
if !fkEnabled {
|
||||||
|
return ErrDeletingWithoutFK
|
||||||
|
}
|
||||||
|
|
||||||
tx := db.gormDB.WithContext(ctx).
|
tx := db.gormDB.WithContext(ctx).
|
||||||
Where("uuid = ?", uuid).
|
Where("uuid = ?", uuid).
|
||||||
Delete(&WorkerTag{})
|
Delete(&WorkerTag{})
|
||||||
|
@ -3,6 +3,7 @@ package persistence
|
|||||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"slices"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@ -50,17 +51,7 @@ func TestFetchDeleteTags(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
require.NoError(t, f.db.CreateWorkerTag(f.ctx, &secondTag))
|
require.NoError(t, f.db.CreateWorkerTag(f.ctx, &secondTag))
|
||||||
|
assertTagsMatch(t, f, f.tag.UUID, secondTag.UUID)
|
||||||
allTags, err := f.db.FetchWorkerTags(f.ctx)
|
|
||||||
require.NoError(t, err)
|
|
||||||
|
|
||||||
require.Len(t, allTags, 2)
|
|
||||||
var allTagIDs [2]string
|
|
||||||
for idx := range allTags {
|
|
||||||
allTagIDs[idx] = allTags[idx].UUID
|
|
||||||
}
|
|
||||||
assert.Contains(t, allTagIDs, f.tag.UUID)
|
|
||||||
assert.Contains(t, allTagIDs, secondTag.UUID)
|
|
||||||
|
|
||||||
has, err = f.db.HasWorkerTags(f.ctx)
|
has, err = f.db.HasWorkerTags(f.ctx)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
@ -68,11 +59,7 @@ func TestFetchDeleteTags(t *testing.T) {
|
|||||||
|
|
||||||
// Test deleting the 2nd tag.
|
// Test deleting the 2nd tag.
|
||||||
require.NoError(t, f.db.DeleteWorkerTag(f.ctx, secondTag.UUID))
|
require.NoError(t, f.db.DeleteWorkerTag(f.ctx, secondTag.UUID))
|
||||||
|
assertTagsMatch(t, f, f.tag.UUID)
|
||||||
allTags, err = f.db.FetchWorkerTags(f.ctx)
|
|
||||||
require.NoError(t, err)
|
|
||||||
require.Len(t, allTags, 1)
|
|
||||||
assert.Equal(t, f.tag.UUID, allTags[0].UUID)
|
|
||||||
|
|
||||||
// Test deleting the 1st tag.
|
// Test deleting the 1st tag.
|
||||||
require.NoError(t, f.db.DeleteWorkerTag(f.ctx, f.tag.UUID))
|
require.NoError(t, f.db.DeleteWorkerTag(f.ctx, f.tag.UUID))
|
||||||
@ -81,6 +68,31 @@ func TestFetchDeleteTags(t *testing.T) {
|
|||||||
assert.False(t, has, "expecting HasWorkerTags to return false")
|
assert.False(t, has, "expecting HasWorkerTags to return false")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestDeleteTagsWithoutFK(t *testing.T) {
|
||||||
|
f := workerTestFixtures(t, 1*time.Second)
|
||||||
|
defer f.done()
|
||||||
|
|
||||||
|
// Single tag was created by fixture.
|
||||||
|
has, err := f.db.HasWorkerTags(f.ctx)
|
||||||
|
require.NoError(t, err)
|
||||||
|
assert.True(t, has, "expecting HasWorkerTags to return true")
|
||||||
|
|
||||||
|
secondTag := WorkerTag{
|
||||||
|
UUID: uuid.New(),
|
||||||
|
Name: "arbeiderskaartje",
|
||||||
|
Description: "Worker tag in Dutch",
|
||||||
|
}
|
||||||
|
require.NoError(t, f.db.CreateWorkerTag(f.ctx, &secondTag))
|
||||||
|
|
||||||
|
// Try deleting with foreign key constraints disabled.
|
||||||
|
require.NoError(t, f.db.pragmaForeignKeys(false))
|
||||||
|
err = f.db.DeleteWorkerTag(f.ctx, f.tag.UUID)
|
||||||
|
require.ErrorIs(t, err, ErrDeletingWithoutFK)
|
||||||
|
|
||||||
|
// Test the deletion did not happen.
|
||||||
|
assertTagsMatch(t, f, f.tag.UUID, secondTag.UUID)
|
||||||
|
}
|
||||||
|
|
||||||
func TestAssignUnassignWorkerTags(t *testing.T) {
|
func TestAssignUnassignWorkerTags(t *testing.T) {
|
||||||
f := workerTestFixtures(t, 1*time.Second)
|
f := workerTestFixtures(t, 1*time.Second)
|
||||||
defer f.done()
|
defer f.done()
|
||||||
@ -163,3 +175,19 @@ func TestDeleteWorkerTagWithWorkersAssigned(t *testing.T) {
|
|||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Empty(t, w.Tags)
|
assert.Empty(t, w.Tags)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func assertTagsMatch(t *testing.T, f WorkerTestFixture, expectUUIDs ...string) {
|
||||||
|
allTags, err := f.db.FetchWorkerTags(f.ctx)
|
||||||
|
require.NoError(t, err)
|
||||||
|
|
||||||
|
require.Len(t, allTags, len(expectUUIDs))
|
||||||
|
var actualUUIDs []string
|
||||||
|
for idx := range allTags {
|
||||||
|
actualUUIDs = append(actualUUIDs, allTags[idx].UUID)
|
||||||
|
}
|
||||||
|
|
||||||
|
slices.Sort(expectUUIDs)
|
||||||
|
slices.Sort(actualUUIDs)
|
||||||
|
|
||||||
|
assert.Equal(t, actualUUIDs, expectUUIDs)
|
||||||
|
}
|
||||||
|
@ -101,6 +101,15 @@ func (db *DB) FetchWorker(ctx context.Context, uuid string) (*Worker, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (db *DB) DeleteWorker(ctx context.Context, uuid string) error {
|
func (db *DB) DeleteWorker(ctx context.Context, uuid string) error {
|
||||||
|
// As a safety measure, refuse to delete unless foreign key constraints are active.
|
||||||
|
fkEnabled, err := db.areForeignKeysEnabled()
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("checking whether foreign keys are enabled: %w", err)
|
||||||
|
}
|
||||||
|
if !fkEnabled {
|
||||||
|
return ErrDeletingWithoutFK
|
||||||
|
}
|
||||||
|
|
||||||
tx := db.gormDB.WithContext(ctx).
|
tx := db.gormDB.WithContext(ctx).
|
||||||
Where("uuid = ?", uuid).
|
Where("uuid = ?", uuid).
|
||||||
Delete(&Worker{})
|
Delete(&Worker{})
|
||||||
|
@ -314,6 +314,30 @@ func TestDeleteWorker(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestDeleteWorkerNoForeignKeys(t *testing.T) {
|
||||||
|
ctx, cancel, db := persistenceTestFixtures(t, 1*time.Second)
|
||||||
|
defer cancel()
|
||||||
|
|
||||||
|
// Create a Worker to delete.
|
||||||
|
w1 := Worker{
|
||||||
|
UUID: "fd97a35b-a5bd-44b4-ac2b-64c193ca877d",
|
||||||
|
Name: "Worker 1",
|
||||||
|
Status: api.WorkerStatusAwake,
|
||||||
|
}
|
||||||
|
require.NoError(t, db.CreateWorker(ctx, &w1))
|
||||||
|
|
||||||
|
// Try deleting with foreign key constraints disabled.
|
||||||
|
require.NoError(t, db.pragmaForeignKeys(false))
|
||||||
|
require.ErrorIs(t, ErrDeletingWithoutFK, db.DeleteWorker(ctx, w1.UUID))
|
||||||
|
|
||||||
|
// The worker should still exist.
|
||||||
|
{
|
||||||
|
fetchedWorker, err := db.FetchWorker(ctx, w1.UUID)
|
||||||
|
require.NoError(t, err)
|
||||||
|
assert.Equal(t, w1.UUID, fetchedWorker.UUID)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func TestDeleteWorkerWithTagAssigned(t *testing.T) {
|
func TestDeleteWorkerWithTagAssigned(t *testing.T) {
|
||||||
f := workerTestFixtures(t, 1*time.Second)
|
f := workerTestFixtures(t, 1*time.Second)
|
||||||
defer f.done()
|
defer f.done()
|
||||||
|
@ -11,6 +11,7 @@ import (
|
|||||||
|
|
||||||
"github.com/alessio/shellescape"
|
"github.com/alessio/shellescape"
|
||||||
"github.com/rs/zerolog"
|
"github.com/rs/zerolog"
|
||||||
|
"projects.blender.org/studio/flamenco/pkg/oomscore"
|
||||||
)
|
)
|
||||||
|
|
||||||
// The buffer size used to read stdout/stderr output from subprocesses, in
|
// The buffer size used to read stdout/stderr output from subprocesses, in
|
||||||
@ -20,11 +21,19 @@ const StdoutBufferSize = 40 * 1024
|
|||||||
|
|
||||||
// CLIRunner is a wrapper around exec.CommandContext() to allow mocking.
|
// CLIRunner is a wrapper around exec.CommandContext() to allow mocking.
|
||||||
type CLIRunner struct {
|
type CLIRunner struct {
|
||||||
|
oomScoreAdjust int
|
||||||
|
useOOMScoreAdjust bool
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewCLIRunner() *CLIRunner {
|
func NewCLIRunner() *CLIRunner {
|
||||||
return &CLIRunner{}
|
return &CLIRunner{}
|
||||||
}
|
}
|
||||||
|
func NewCLIRunnerWithOOMScoreAdjuster(oomScoreAdjust int) *CLIRunner {
|
||||||
|
return &CLIRunner{
|
||||||
|
oomScoreAdjust: oomScoreAdjust,
|
||||||
|
useOOMScoreAdjust: true,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func (cli *CLIRunner) CommandContext(ctx context.Context, name string, arg ...string) *exec.Cmd {
|
func (cli *CLIRunner) CommandContext(ctx context.Context, name string, arg ...string) *exec.Cmd {
|
||||||
return exec.CommandContext(ctx, name, arg...)
|
return exec.CommandContext(ctx, name, arg...)
|
||||||
@ -55,7 +64,7 @@ func (cli *CLIRunner) RunWithTextOutput(
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := execCmd.Start(); err != nil {
|
if err := cli.startWithOOMAdjust(execCmd); err != nil {
|
||||||
logger.Error().Err(err).Msg("error starting CLI execution")
|
logger.Error().Err(err).Msg("error starting CLI execution")
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -171,3 +180,13 @@ func (cli *CLIRunner) logCmd(
|
|||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// startWithOOMAdjust runs the command with its OOM score adjusted.
|
||||||
|
func (cli *CLIRunner) startWithOOMAdjust(execCmd *exec.Cmd) error {
|
||||||
|
if cli.useOOMScoreAdjust {
|
||||||
|
oomScoreRestore := oomscore.Adjust(cli.oomScoreAdjust)
|
||||||
|
defer oomScoreRestore()
|
||||||
|
}
|
||||||
|
|
||||||
|
return execCmd.Start()
|
||||||
|
}
|
||||||
|
@ -58,6 +58,18 @@ type WorkerConfig struct {
|
|||||||
|
|
||||||
TaskTypes []string `yaml:"task_types"`
|
TaskTypes []string `yaml:"task_types"`
|
||||||
RestartExitCode int `yaml:"restart_exit_code"`
|
RestartExitCode int `yaml:"restart_exit_code"`
|
||||||
|
|
||||||
|
// LinuxOOMScoreAdjust controls the Linux out-of-memory killer. Is used when
|
||||||
|
// spawning a sub-process, to adjust the likelyness that that subprocess is
|
||||||
|
// killed rather than Flamenco Worker itself. That way Flamenco Worker can
|
||||||
|
// report the failure to the Manager.
|
||||||
|
//
|
||||||
|
// If the Worker itself would be OOM-killed, it would just be restarted and
|
||||||
|
// get the task it was already working on, causing an infinite OOM-loop.
|
||||||
|
//
|
||||||
|
// If this value is not specified in the configuration file, Flamenco Worker
|
||||||
|
// will not attempt to adjust its OOM score.
|
||||||
|
LinuxOOMScoreAdjust *int `yaml:"oom_score_adjust"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type WorkerCredentials struct {
|
type WorkerCredentials struct {
|
||||||
|
@ -52,8 +52,8 @@ func (ou *OutputUploader) OutputProduced(taskID, filename string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (ou *OutputUploader) Run(ctx context.Context) {
|
func (ou *OutputUploader) Run(ctx context.Context) {
|
||||||
log.Info().Msg("output uploader: running")
|
log.Debug().Msg("output uploader: running")
|
||||||
defer log.Info().Msg("output uploader: shutting down")
|
defer log.Debug().Msg("output uploader: shutting down")
|
||||||
|
|
||||||
wg := sync.WaitGroup{}
|
wg := sync.WaitGroup{}
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
|
@ -133,7 +133,7 @@ func (ub *UpstreamBufferDB) Close() error {
|
|||||||
ub.wg.Wait()
|
ub.wg.Wait()
|
||||||
|
|
||||||
// Attempt one final flush, if it's fast enough:
|
// Attempt one final flush, if it's fast enough:
|
||||||
log.Info().Msg("upstream buffer shutting down, doing one final flush")
|
log.Debug().Msg("upstream buffer shutting down, doing one final flush")
|
||||||
flushCtx, ctxCancel := context.WithTimeout(context.Background(), flushOnShutdownTimeout)
|
flushCtx, ctxCancel := context.WithTimeout(context.Background(), flushOnShutdownTimeout)
|
||||||
defer ctxCancel()
|
defer ctxCancel()
|
||||||
if err := ub.Flush(flushCtx); err != nil {
|
if err := ub.Flush(flushCtx); err != nil {
|
||||||
|
@ -1719,6 +1719,9 @@ components:
|
|||||||
properties:
|
properties:
|
||||||
"name": { type: string }
|
"name": { type: string }
|
||||||
"label": { type: string }
|
"label": { type: string }
|
||||||
|
"description":
|
||||||
|
type: string
|
||||||
|
description: The description/tooltip shown in the user interface.
|
||||||
"settings":
|
"settings":
|
||||||
type: array
|
type: array
|
||||||
items: { $ref: "#/components/schemas/AvailableJobSetting" }
|
items: { $ref: "#/components/schemas/AvailableJobSetting" }
|
||||||
|
404
pkg/api/openapi_spec.gen.go
generated
404
pkg/api/openapi_spec.gen.go
generated
@ -44,208 +44,208 @@ var swaggerSpec = []string{
|
|||||||
"ZKnbW7eLHxqZ//DAbDqTVA+GgNfbbjJAnQard8g4jAm9jj03OdjEfjM5IjRb0hXS9DGZ1PxqcoToAV9b",
|
"ZKnbW7eLHxqZ//DAbDqTVA+GgNfbbjJAnQard8g4jAm9jj03OdjEfjM5IjRb0hXS9DGZ1PxqcoToAV9b",
|
||||||
"0vXuGEVwAKgV3EryXcYvGaEOaISm6UiK78d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UIwgRjlhcurTzesusGH014ODJ7fT",
|
||||||
"KYF0SIkdpmbmYttCe9YtrRel1DpjthzfH0rywDx3A+hcKk1KlmD2vy8dCPtFeSDIducAHOw7ZT6uHSFM",
|
"YdDVv0BOCaRDSuwwNTMX2xbas25pvSil1hmz5fj+UJIH5rkbQOdSaVKyBLP/felA2C/KA0G2OwfgYN8p",
|
||||||
"KKz9hzkUIL3bUzZf3lMk5XOmoHhw+4zJM199AOLETn75EeD888mLH4lFJTNokVEh4nFa6wQevajyqaA8",
|
"83HtCGFCYe0/zKEA6d2esvnyniIpnzMFxYPbZ0ye+eoDECd28suPAOefT178SCwqmUGLjAoRj9NaJ/Do",
|
||||||
"U3tFya44WzqyxEssmOioPUHq78QggGh55ah5VWaDo8HeIDBCtYnVcTMIqtMWzGGKZweQpNItJPKznDoz",
|
"RZVPBeWZ2itKdsXZ0pElXmLBREftCVJ/JwYBRMsrR82rMhscDfYGgRGqTayOm0FQnbZgDlM8O4AklW4h",
|
||||||
"Kchof69YyQ361e1Oh612FONGFU0VGfTpyXGzP2RoIpN5XgkUN6FASXvp47YDNzKBxYbXfk3k6cnxsL87",
|
"kZ/l1JlJQUb7e8VKbtCvbnc6bLWjGDeqaKrIoE9Pjpv9IUMTmczzSqC4CQVK2ksftx24kQksNrz2ayJP",
|
||||||
"MzazMtswd6WUmVtRZzJwOkZK5WD5AT8L8Im6doKFoO9Z+V5OfUW4cA5b7uDTb5/+TwAAAP//ah7ySOEQ",
|
"T46H/d2ZsZmV2Ya5K6XM3Io6k4HTMVIqB8sP+FmAT9S1EywEfc/K93LqK8KFc9hyB59++/R/AgAA//9n",
|
||||||
"AQA=",
|
"Qwu3RhEBAA==",
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetSwagger returns the content of the embedded swagger specification file
|
// GetSwagger returns the content of the embedded swagger specification file
|
||||||
|
3
pkg/api/openapi_types.gen.go
generated
3
pkg/api/openapi_types.gen.go
generated
@ -242,6 +242,9 @@ type AvailableJobSettingVisibility string
|
|||||||
|
|
||||||
// Job type supported by this Manager, and its parameters.
|
// Job type supported by this Manager, and its parameters.
|
||||||
type AvailableJobType struct {
|
type AvailableJobType struct {
|
||||||
|
// The description/tooltip shown in the user interface.
|
||||||
|
Description *string `json:"description,omitempty"`
|
||||||
|
|
||||||
// Hash of the job type. If the job settings or the label change, this etag will change. This is used on job submission to ensure that the submitted job settings are up to date.
|
// Hash of the job type. If the job settings or the label change, this etag will change. This is used on job submission to ensure that the submitted job settings are up to date.
|
||||||
Etag string `json:"etag"`
|
Etag string `json:"etag"`
|
||||||
Label string `json:"label"`
|
Label string `json:"label"`
|
||||||
|
86
pkg/oomscore/oomscore.go
Normal file
86
pkg/oomscore/oomscore.go
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
// package oomscore provides some functions to adjust the Linux
|
||||||
|
// out-of-memory (OOM) score, i.e. the number that determines how likely it is
|
||||||
|
// that a process is killed in an out-of-memory situation.
|
||||||
|
//
|
||||||
|
// It is available only on Linux. On other platforms ErrNotImplemented will be returned.
|
||||||
|
package oomscore
|
||||||
|
|
||||||
|
import (
|
||||||
|
"errors"
|
||||||
|
|
||||||
|
"github.com/rs/zerolog/log"
|
||||||
|
)
|
||||||
|
|
||||||
|
var ErrNotImplemented = errors.New("OOM score functionality not implemented on this platform")
|
||||||
|
|
||||||
|
// Available returns whether the functionality in this package is available for
|
||||||
|
// the current platform.
|
||||||
|
func Available() bool {
|
||||||
|
return available
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetOOMScore returns the current process' OOM score.
|
||||||
|
func GetOOMScore() (int, error) {
|
||||||
|
return getOOMScore()
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetOOMScoreAdj returns the current process' OOM score adjustment.
|
||||||
|
func GetOOMScoreAdj() (int, error) {
|
||||||
|
return getOOMScoreAdj()
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetOOMScoreAdj sets the current process' OOM score adjustment.
|
||||||
|
func SetOOMScoreAdj(score int) error {
|
||||||
|
return setOOMScoreAdj(score)
|
||||||
|
}
|
||||||
|
|
||||||
|
type ScoreRestoreFunc func()
|
||||||
|
|
||||||
|
var emptyRestoreFunc ScoreRestoreFunc = func() {}
|
||||||
|
|
||||||
|
// Adjust temporarily sets the OOM score adjustment.
|
||||||
|
// The returned function MUST be called to restore the original value.
|
||||||
|
// Any problems changing the score are logged, but not otherwise returned.
|
||||||
|
func Adjust(score int) (restoreFunc ScoreRestoreFunc) {
|
||||||
|
restoreFunc = emptyRestoreFunc
|
||||||
|
|
||||||
|
if !Available() {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
origScore, err := getOOMScoreAdj()
|
||||||
|
if err != nil {
|
||||||
|
log.Error().
|
||||||
|
AnErr("cause", err).
|
||||||
|
Msg("could not get the current process' oom_score_adj value")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
log.Trace().
|
||||||
|
Int("oom_score_adj", score).
|
||||||
|
Msg("setting oom_score_adj")
|
||||||
|
|
||||||
|
err = setOOMScoreAdj(score)
|
||||||
|
if err != nil {
|
||||||
|
log.Error().
|
||||||
|
Int("oom_score_adj", score).
|
||||||
|
AnErr("cause", err).
|
||||||
|
Msg("could not set the current process' oom_score_adj value")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
return func() {
|
||||||
|
log.Trace().
|
||||||
|
Int("oom_score_adj", origScore).
|
||||||
|
Msg("restoring oom_score_adj")
|
||||||
|
|
||||||
|
err = setOOMScoreAdj(origScore)
|
||||||
|
if err != nil {
|
||||||
|
log.Error().
|
||||||
|
Int("oom_score_adj", origScore).
|
||||||
|
AnErr("cause", err).
|
||||||
|
Msg("could not restore the current process' oom_score_adj value")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
66
pkg/oomscore/oomscore_linux.go
Normal file
66
pkg/oomscore/oomscore_linux.go
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
//go:build linux
|
||||||
|
|
||||||
|
package oomscore
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
"path/filepath"
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
available = true
|
||||||
|
)
|
||||||
|
|
||||||
|
// getOOMScore returns the current process' OOM score.
|
||||||
|
func getOOMScore() (int, error) {
|
||||||
|
return readInt("oom_score")
|
||||||
|
}
|
||||||
|
|
||||||
|
// getOOMScoreAdj returns the current process' OOM score adjustment.
|
||||||
|
func getOOMScoreAdj() (int, error) {
|
||||||
|
return readInt("oom_score_adj")
|
||||||
|
}
|
||||||
|
|
||||||
|
// setOOMScoreAdj sets the current process' OOM score adjustment.
|
||||||
|
func setOOMScoreAdj(newScore int) error {
|
||||||
|
return writeInt(newScore, "oom_score_adj")
|
||||||
|
}
|
||||||
|
|
||||||
|
// readInt reads an integer from /proc/{pid}/{filename}
|
||||||
|
func readInt(filename string) (int, error) {
|
||||||
|
fullPath := procPidPath(filename)
|
||||||
|
|
||||||
|
file, err := os.Open(fullPath)
|
||||||
|
if err != nil {
|
||||||
|
return 0, fmt.Errorf("opening %s: %w", fullPath, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
var valueInFile int
|
||||||
|
n, err := fmt.Fscan(file, &valueInFile)
|
||||||
|
if err != nil {
|
||||||
|
return 0, fmt.Errorf("reading %s: %w", fullPath, err)
|
||||||
|
}
|
||||||
|
if n < 1 {
|
||||||
|
return 0, fmt.Errorf("reading %s: did not find a number", fullPath)
|
||||||
|
}
|
||||||
|
|
||||||
|
return valueInFile, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// writeInt writes an integer to /proc/{pid}/{filename}
|
||||||
|
func writeInt(value int, filename string) error {
|
||||||
|
fullPath := procPidPath(filename)
|
||||||
|
contents := fmt.Sprint(value)
|
||||||
|
err := os.WriteFile(fullPath, []byte(contents), os.ModePerm)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("writing %s: %w", fullPath, err)
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// procPidPath returns "/proc/{pid}/{filename}".
|
||||||
|
func procPidPath(filename string) string {
|
||||||
|
pid := os.Getpid()
|
||||||
|
return filepath.Join("/proc", fmt.Sprint(pid), filename)
|
||||||
|
}
|
19
pkg/oomscore/oomscore_nonlinux.go
Normal file
19
pkg/oomscore/oomscore_nonlinux.go
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
//go:build !linux
|
||||||
|
|
||||||
|
package oomscore
|
||||||
|
|
||||||
|
const (
|
||||||
|
available = false
|
||||||
|
)
|
||||||
|
|
||||||
|
func getOOMScore() (int, error) {
|
||||||
|
return 0, ErrNotImplemented
|
||||||
|
}
|
||||||
|
|
||||||
|
func getOOMScoreAdj() (int, error) {
|
||||||
|
return 0, ErrNotImplemented
|
||||||
|
}
|
||||||
|
|
||||||
|
func setOOMScoreAdj(int) error {
|
||||||
|
return ErrNotImplemented
|
||||||
|
}
|
@ -9,4 +9,5 @@ const (
|
|||||||
BugReportURL = "https://flamenco.blender.org/get-involved"
|
BugReportURL = "https://flamenco.blender.org/get-involved"
|
||||||
ShamanRequirementsURL = "https://flamenco.blender.org/usage/shared-storage/shaman/#requirements"
|
ShamanRequirementsURL = "https://flamenco.blender.org/usage/shared-storage/shaman/#requirements"
|
||||||
WorkerConfigURL = "https://flamenco.blender.org/usage/worker-configuration/"
|
WorkerConfigURL = "https://flamenco.blender.org/usage/worker-configuration/"
|
||||||
|
OOMScoreAdjURL = WorkerConfigURL
|
||||||
)
|
)
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --port 8081 --base /app/",
|
"dev": "vite --port 8081 --base /app/ --mode development",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview --port 5050",
|
"preview": "vite preview --port 5050",
|
||||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
|
||||||
|
2
web/app/src/manager-api/ApiClient.js
generated
2
web/app/src/manager-api/ApiClient.js
generated
@ -55,7 +55,7 @@ class ApiClient {
|
|||||||
* @default {}
|
* @default {}
|
||||||
*/
|
*/
|
||||||
this.defaultHeaders = {
|
this.defaultHeaders = {
|
||||||
'User-Agent': 'Flamenco/3.5-alpha1 / webbrowser'
|
'User-Agent': 'Flamenco/3.6-alpha0 / webbrowser'
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -63,6 +63,9 @@ class AvailableJobType {
|
|||||||
if (data.hasOwnProperty('label')) {
|
if (data.hasOwnProperty('label')) {
|
||||||
obj['label'] = ApiClient.convertToType(data['label'], 'String');
|
obj['label'] = ApiClient.convertToType(data['label'], 'String');
|
||||||
}
|
}
|
||||||
|
if (data.hasOwnProperty('description')) {
|
||||||
|
obj['description'] = ApiClient.convertToType(data['description'], 'String');
|
||||||
|
}
|
||||||
if (data.hasOwnProperty('settings')) {
|
if (data.hasOwnProperty('settings')) {
|
||||||
obj['settings'] = ApiClient.convertToType(data['settings'], [AvailableJobSetting]);
|
obj['settings'] = ApiClient.convertToType(data['settings'], [AvailableJobSetting]);
|
||||||
}
|
}
|
||||||
@ -86,6 +89,12 @@ AvailableJobType.prototype['name'] = undefined;
|
|||||||
*/
|
*/
|
||||||
AvailableJobType.prototype['label'] = undefined;
|
AvailableJobType.prototype['label'] = undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The description/tooltip shown in the user interface.
|
||||||
|
* @member {String} description
|
||||||
|
*/
|
||||||
|
AvailableJobType.prototype['description'] = undefined;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @member {Array.<module:model/AvailableJobSetting>} settings
|
* @member {Array.<module:model/AvailableJobSetting>} settings
|
||||||
*/
|
*/
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
let url = new URL(window.location.href);
|
let url = new URL(window.location.href);
|
||||||
// Uncomment this when the web interface is running on a different port than the
|
|
||||||
// API, for example when using the Vite devserver. Set the API port here.
|
// When the web interface is running on a different port than the API, for
|
||||||
if (url.port == '8081') {
|
// example when using the Vite devserver, setting the Vite --mode flag to
|
||||||
|
// "development" will force port 8080 for the API.
|
||||||
|
if (import.meta.env.MODE == 'development') {
|
||||||
url.port = '8080';
|
url.port = '8080';
|
||||||
}
|
}
|
||||||
url.pathname = '/';
|
|
||||||
const flamencoAPIURL = url.href;
|
|
||||||
|
|
||||||
url.protocol = 'ws:';
|
|
||||||
const websocketURL = url.href;
|
|
||||||
|
|
||||||
const URLs = {
|
const URLs = {
|
||||||
api: flamencoAPIURL,
|
api: `${url.protocol}//${url.hostname}:${url.port}/`,
|
||||||
ws: websocketURL,
|
ws: `${url.protocol.replace('http', 'ws')}//${url.hostname}:${url.port}/`,
|
||||||
};
|
};
|
||||||
|
|
||||||
// console.log("Flamenco API:", URLs.api);
|
// console.log("Flamenco API:", URLs.api);
|
||||||
|
@ -74,11 +74,3 @@ Flamenco v3 is in active development at Blender Studio. Join
|
|||||||
[the chat](https://blender.chat/channel/flamenco) to see what's happening!
|
[the chat](https://blender.chat/channel/flamenco) to see what's happening!
|
||||||
|
|
||||||
{{< /columns >}}
|
{{< /columns >}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
Looking for the old [Flamenco v2 documentation][F2]?
|
|
||||||
|
|
||||||
[F2]: /v2/
|
|
||||||
|
@ -68,8 +68,8 @@ start afresh with the following steps:
|
|||||||
|
|
||||||
The macOS "Silicon" build does not ship with FFmpeg, because a trusted build for
|
The macOS "Silicon" build does not ship with FFmpeg, because a trusted build for
|
||||||
this architecture is not provided by the FFmpeg project. This is why Flamenco v3
|
this architecture is not provided by the FFmpeg project. This is why Flamenco v3
|
||||||
did not ship macOS/ARM64 builds. As of v3.3 this architecture will be included
|
did not ship macOS/ARM64 builds. As of v3.3 this architecture is included in the
|
||||||
in the official Flamenco builds, but still without FFmpeg binary.
|
official Flamenco builds, but still without FFmpeg binary.
|
||||||
|
|
||||||
You can install FFmpeg using [the ffmpeg Homebrew formula][brew] or any other
|
You can install FFmpeg using [the ffmpeg Homebrew formula][brew] or any other
|
||||||
method. Once installed Flamenco Worker should find it automatically. If not,
|
method. Once installed Flamenco Worker should find it automatically. If not,
|
||||||
|
@ -3,9 +3,10 @@ title: Compositor Nodes
|
|||||||
weight: 10
|
weight: 10
|
||||||
---
|
---
|
||||||
|
|
||||||
*Job type documented and maintained by: [Dylan Blanqué][author].*
|
*Job type documented and maintained by: [Dylan Blanqué][author]. Please report any issues at [the script's Github project][github].*
|
||||||
|
|
||||||
[author]: https://projects.blender.org/Dylan-Blanque
|
[author]: https://projects.blender.org/Dylan-Blanque
|
||||||
|
[github]: https://github.com/dblanque/flamenco-compositor-script/issues
|
||||||
|
|
||||||
{{< hint >}}
|
{{< hint >}}
|
||||||
|
|
||||||
|
@ -19,6 +19,9 @@ This is an example of such a configuration file:
|
|||||||
manager_url: http://flamenco.local:8080/
|
manager_url: http://flamenco.local:8080/
|
||||||
task_types: [blender, ffmpeg, file-management, misc]
|
task_types: [blender, ffmpeg, file-management, misc]
|
||||||
restart_exit_code: 47
|
restart_exit_code: 47
|
||||||
|
|
||||||
|
# Optional advanced option, available on Linux only:
|
||||||
|
oom_score_adjust: 500
|
||||||
```
|
```
|
||||||
|
|
||||||
- `manager_url`: The URL of the Manager to connect to. If the setting is blank
|
- `manager_url`: The URL of the Manager to connect to. If the setting is blank
|
||||||
@ -31,10 +34,18 @@ restart_exit_code: 47
|
|||||||
- `restart_exit_code`: Having this set to a non-zero value will mark this Worker
|
- `restart_exit_code`: Having this set to a non-zero value will mark this Worker
|
||||||
as 'restartable'. See [Shut Down & Restart Actions][restarting] for more
|
as 'restartable'. See [Shut Down & Restart Actions][restarting] for more
|
||||||
information.
|
information.
|
||||||
|
- `oom_score_adjust`: an optional value between 0 and 1000, only available on
|
||||||
|
Linux. It configures the Out Of Memory behaviour of the Linux kernel. This is
|
||||||
|
the `oom_score_adj` value for all sub-processes started by the Worker. Set
|
||||||
|
this to a high value, so that when the machine runs out of memory when
|
||||||
|
rendering, it is Blender that gets killed, and not Flamenco Worker itself. For
|
||||||
|
more information, see [Linux Kernel: Per-Process Parameters][per-process-proc].
|
||||||
|
*This option was introduced in Flamenco v3.5.*
|
||||||
|
|
||||||
[scripts]: {{< ref "usage/job-types" >}}
|
[scripts]: {{< ref "usage/job-types" >}}
|
||||||
[task-types]: {{< ref "usage/job-types" >}}#task-types
|
[task-types]: {{< ref "usage/job-types" >}}#task-types
|
||||||
[restarting]: {{< ref "usage/worker-actions" >}}#shut-down--restart-actions
|
[restarting]: {{< ref "usage/worker-actions" >}}#shut-down--restart-actions
|
||||||
|
[per-process-proc]: https://docs.kernel.org/filesystems/proc.html#chapter-3-per-process-parameters
|
||||||
|
|
||||||
## Worker-Specific Files
|
## Worker-Specific Files
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
latestVersion: "3.4"
|
latestVersion: "3.5"
|
||||||
latestExperimentalVersion: "3.5-alpha0"
|
latestExperimentalVersion: "3.6-alpha0"
|
||||||
|
Loading…
Reference in New Issue
Block a user