Apache Lounge


About Forum Index Downloads Search Register Log in  RSS Apache Lounge  

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.

Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: httpd2.4 over 300 vhosts disk out of space ?

Joined: 25 Sep 2019
Posts: 1
Location: US, Provo

PostPosted: Wed 25 Sep '19 19:34    Post subject: httpd2.4 over 300 vhosts disk out of space ? Reply with quote

httpd 2.4.37

We are running rhel6 httpd 2.2.15 as a reverseproxy and are moving to rhel8 httpd 2.4.37.

In our current configuration we have over 300 vhost files that each proxy various services. When I move these vhost files to the new httpd 2.4.37 I get disk out of space errors, which is actually the system running out of semaphores and httpd fails to start.

When I add the vhost files in one at a time I can run with a few of them in the configuration but what I notice is that each vhost file consumes over 200 semaphore each. After doing a lot of searching I found numerous sites that show how to configure more semaphores, however the result is the same and it still runs out. I tried configuring the systems for 100,000 semaphores but the error continues.

In our current httpd when I check for semaphores used by httpd there are none. I am wondering if there is a way to configure httpd 2.4.37 to not use any semaphores so I can use these configuration files, or if I am just missing something simple.

I see lots of posts about semaphore leaks for httpd, however my problem is that httpd will not even start up when it has over 300 vhost files, while it could start under the httpd 2.2. Any advice would be helpful.
Back to top

Joined: 29 Aug 2016
Posts: 71

PostPosted: Thu 26 Sep '19 4:51    Post subject: Reply with quote

It is best to post a vhost.
Back to top

Reply to topic   Topic: httpd2.4 over 300 vhosts disk out of space ? View previous topic :: View next topic
Post new topic   Forum Index -> Apache