Bug 2155468
| Summary: | systemd[1]: /usr/lib/systemd/system/insights-client-boot.service:24: Unit uses MemoryLimit=; please use MemoryMax= instead. Support for MemoryLimit= will be removed soon. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Jan Pazdziora <jpazdziora> |
| Component: | insights-client | Assignee: | Link Dupont <link> |
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.2 | CC: | ahitacat, cmarinea, dranck, fjansen, fsumsal, link, pakotvan, stomsa, xiliang |
| Target Milestone: | rc | Keywords: | CustomerScenariosInitiative, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-06-28 14:46:39 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jan Pazdziora
2022-12-21 10:29:59 UTC
See the same log from our testing. [root@ip-10-116-2-92 ec2-user]# systemd-analyze verify insights-client-boot.service /usr/lib/systemd/system/insights-client-boot.service:24: Unit uses MemoryLimit=; please use MemoryMax= instead. Support for MemoryLimit= will be removed soon. [root@ip-10-116-2-92 ec2-user]# systemctl cat insights-client-boot.service # /usr/lib/systemd/system/insights-client-boot.service # This file is part of insights-client. # # Any changes made to this file will be overwritten during a software update. To # override a parameter in this file, create a drop-in file, typically located at # /etc/systemd/system/insights-client-boot.service.d/override.conf Put the desired # overrides in that file and reload systemd. # # For more information about systemd drop-in files, see systemd.unit(5). [Unit] Description=Run Insights Client at boot Documentation=man:insights-client(8) After=network-online.target ConditionPathExists=/etc/insights-client/.run_insights_client_next_boot [Service] Type=oneshot ExecStart=/usr/bin/insights-client --retry 3 Restart=no WatchdogSec=900 CPUQuota=30% MemoryHigh=1G MemoryMax=2G MemoryLimit=2G TasksMax=300 BlockIOWeight=100 ExecStartPre=/bin/rm -f /etc/insights-client/.run_insights_client_next_boot [Install] WantedBy=multi-user.target I could reproduce this situation:
>>># journalctl -l | grep 'will be removed'
Jan 10 05:39:02 template-iqe-jslave-rhel92 systemd[1]: /usr/lib/systemd/system/insights-client-boot.service:24: Unit uses MemoryLimit=; please use MemoryMax= instead. Support for MemoryLimit= will be removed soon.
Jan 10 06:49:04 test-9rhel2 systemd[1]: /usr/lib/systemd/system/insights-client.service:23: Unit uses MemoryLimit=; please use MemoryMax= instead. Support for MemoryLimit= will be removed soon.
Jan 10 06:49:08 test-9rhel2 systemd[1]: /usr/lib/systemd/system/insights-client.service:23: Unit uses MemoryLimit=; please use MemoryMax= instead. Support for MemoryLimit= will be removed soon.
Jan 10 06:49:19 test-9rhel2 systemd[1]: /usr/lib/systemd/system/insights-client.service:23: Unit uses MemoryLimit=; please use MemoryMax= instead. Support for MemoryLimit= will be removed soon.
|