|
Bugzilla – Full Text Bug Listing |
| Summary: | systemd-sysctl[189]: Couldn't write '4194304' to 'kernel/pid_max': Invalid argument | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Guillaume GARDET <guillaume.gardet> |
| Component: | Basesystem | Assignee: | Michal Koutný <mkoutny> |
| Status: | NEW --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | kukuk, mhocko |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | armv7 | ||
| OS: | Other | ||
| URL: | https://openqa.opensuse.org/tests/4302790/modules/journal_check/steps/11 | ||
| See Also: | https://bugzilla.opensuse.org/show_bug.cgi?id=1219038 | ||
| Whiteboard: | |||
| Found By: | openQA | Services Priority: | |
| Business Priority: | Blocker: | Yes | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Guillaume GARDET
2024-06-27 08:02:23 UTC
This may be related to https://bugzilla.opensuse.org/show_bug.cgi?id=1219038 and https://build.opensuse.org/request/show/1182048 /*
* This controls the default maximum pid allocated to a process
*/
#define PID_MAX_DEFAULT (IS_ENABLED(CONFIG_BASE_SMALL) ? 0x1000 : 0x8000)
/*
* A maximum of 4 million PIDs should be enough for a while.
* [NOTE: PID/TIDs are limited to 2^30 ~= 1 billion, see FUTEX_TID_MASK.]
*/
#define PID_MAX_LIMIT (IS_ENABLED(CONFIG_BASE_SMALL) ? PAGE_SIZE * 8 : \
(sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT))
So on 32b this is 32k
Michal could you take a look please?
32b, I didn't thought of them.
The simplest seems to
-kernel.pid_max = 4194304
+-kernel.pid_max = 4194304
So that write failures won't fail whole sysctl invocation. That should satisfy all cases.
This should fix it https://github.com/openSUSE/aaa_base/pull/156 |