Skip to content

Cannot start httpd container - ap_thread_create: unable to create worker thread #2

@victorbrca

Description

@victorbrca

I'm having issues starting the httpd container using the image that is provided via the local registry (or via docker.io, but they are the same).

$ podman run -ti --rm docker.io/library/httpd
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.0.2.100. Set the 'ServerName' directive globally to suppress this message
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.0.2.100. Set the 'ServerName' directive globally to suppress this message
[Fri Jun 23 20:24:08.733336 2023] [mpm_event:notice] [pid 1:tid 140485412083584] AH00489: Apache/2.4.57 (Unix) configured -- resuming normal operations
[Fri Jun 23 20:24:08.734618 2023] [core:notice] [pid 1:tid 140485412083584] AH00094: Command line: 'httpd -D FOREGROUND'
[Fri Jun 23 20:24:08.734289 2023] [mpm_event:alert] [pid 7:tid 140485412083584] (1)Operation not permitted: AH00480: ap_thread_create: unable to create worker thread
[Fri Jun 23 20:24:08.734109 2023] [mpm_event:alert] [pid 9:tid 140485412083584] (1)Operation not permitted: AH00480: ap_thread_create: unable to create worker thread
[Fri Jun 23 20:24:08.734458 2023] [mpm_event:alert] [pid 8:tid 140485412083584] (1)Operation not permitted: AH00480: ap_thread_create: unable to create worker thread
[Fri Jun 23 20:24:10.737282 2023] [mpm_event:alert] [pid 1:tid 140485412083584] AH02324: A resource shortage or other unrecoverable failure was encountered before any child process initialized successfully... httpd is exiting!

I have looked at the system limits and even increased the VM memory to 2048 MB but no luck. Using an httpd image from Red Hat (registry.redhat.io/rhscl/httpd-24-rhel7) works without issues.

I'm wondering if anyone has experienced this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions