Hi Karl Schmidt,
Azure App uses cgroup
internally to apply service resources quota (CPU, Memory, I/O, etc.). In some environment, read to prevent containers from modifying these boundaries only as Azure Mounts /sys/fs/cgroup
, especially with shared infrastructure or strict separation.
This behavior is not constantly documented in all pricing levels. Even in "Dedicated compute" levels, like the basic B2, may difference due to mount mode.
The Azure App Service runs on a fleet of VMS. Depending on the host OS version or container runtime update, mount behavior may different. Azure updates its infrastructure from time to time. These updates can change mount permissions without temporarily notice. Some hosts can use different versions of containers or docker, which are differently handled by cgroup
Mount. During the start or rapid redeployments, the container can land on a host with various mount configurations.
Avoid starting rsyslog
in app service containers. Since the azure app service already captures the STDOUT/STDERR log
, using the RSYSLOG
inside the container is redundant and problematic. Removing it from the entry point is the right approach.
Use Azure logging instead for inherent logging of leverage azure:
Application log (STDOUT/STDERR),
Diagnosis Settings and Log analytics integration.
It avoids the requirement of RSYSLOG
and ensures compatibility with the platform of Azure.
If you migrate in Azure Kubernetes Service (AKS), you can separate logging agents in Sidecar containers with permissions suitable to avoid conflicts with your main app container.
When your app is transported to a new host, use Azure Resource Health and App Serving diagnosis to track. This can help correlate mount behavior with host changes.
If this inconsistency is affecting production reliability, open a support ticket with Microsoft. Provide log and timestamp to help detect host-tier behavior.
https://learn.microsoft.com/en-us/azure/container-apps/troubleshoot-container-start-failures
if you have any further concerns or queries, please feel free to reach out to us.
Please do not forget to click "Accept the answer” and Yes
wherever the information provided helps you, this can be beneficial to other community members.