Bootstrap FreeKB - Apache (Web Server) - Resolve "AH01150 Ignoring parameter because of worker sharing"
Apache (Web Server) - Resolve "AH01150 Ignoring parameter because of worker sharing"

Updated:   |  Apache (Web Server) articles

Let's say the following is being returned when starting or stopping an Apache web server instance.

AH01150: Ignoring parameter 'timeout=60' for worker 'http://www.example.com' because of worker sharing

 

This occurs when there are two or more ProxyPass directives that contain the same base URL. In this example, there are two ProxyPass directives that both contain www.example.com.

In this example, the attributes with the second worker (bar) will be ignored, meaning that the timeout=60 attribute will be ignored. Requests will still be routed to http://www.example.com/bar. However, in this scenario, the timeout will be 10, as defined in the first ProxyPass directive.

ProxyPass /foo http://www.example.com timeout=10
ProxyPass /bar http://www.example.com/bar timeout=60

 

This can also occur when using the BalancerMember directive.

BalancerMember http://www.example.com timeout=10
BalancerMember http://www.example.com timeout=60

 

One solution is to organize the ProxyPass directives so that entries with a longer URL are listed first, so that the entry with the base URL is listed last.

ProxyPass /bar http://www.example.com/bar timeout=60
ProxyPass /foo http://www.example.com timeout=10

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter ecd015 in the box below so that we can be sure you are a human.