mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
937e82cb7d
The test fails on my machine, running Debian stable, because testsuite-55-testbloat.service just swaps and never goes over the limit, so it's not killed. Use 'stress' instead which seems to be able to overwhelm the swap too.
11 lines
363 B
Desktop File
11 lines
363 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=Create a lot of memory pressure
|
|
|
|
[Service]
|
|
# A VERY small memory.high will cause the 'stress' (trying to use a lot of memory)
|
|
# to throttle and be put under heavy pressure.
|
|
MemoryHigh=3M
|
|
Slice=testsuite-55-workload.slice
|
|
ExecStart=stress --timeout 3m --vm 10 --vm-bytes 200M --vm-keep --vm-stride 1
|