Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
victorbrca opened this issue Jun 23, 2023 · 1 comment

Comments

@victorbrca
Copy link

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?

@unixerius
Copy link
Contributor

I have made updates to this project, making the labs work in 2023.

-> https://github.com/unixerius/EX188-practice

Could you see if the problem persists there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants