https://issues.apache.org/bugzilla/show_bug.cgi?id=46682





--- Comment #1 from Jon Auman <[email protected]>  2009-03-20 08:38:28 PST ---
I had the EXACT same issue. Name resolution would completely break for all my
virtual hosts every 4 - 10 hours it seemed. It did not matter whether is was a
database connection or ProxyPass directive in the virtual host. DNS would break
for *all* virtual hosts.

I'm also on the latest Leopard version:  OS X 10.5.6
We are running Apache 2.2.11 compiled from source, 32-bit mode (for
compatibility with some modules)

./configure --prefix=/usr/local/apache2 --enable-layout=Darwin
--enable-mods-shared=all --enable-cache --enable-disk-cache --enable-mem-cache
--enable-ssl --enable-proxy --enable-dav --enable-dav-fs --enable-dav-lock
--enable-so --enable-rewrite


I found a workaround. It appears to be a keepalive issue. I wrote a
LaunchDaemon that would curl one of my proxies every couple of minutes. If the
http status code was anything but 200, the script would restart apache.

The funny thing is, apache has not been restarted in days since I launched the
daemon. that makes me think it is a keepalive issue.

I have not tried it yet, but adjusting some of the apache environment variables
for mod_proxy may help:

force-proxy-request-1.0, proxy-nokeepalive, proxy-sendchunked, proxy-sendcl,
proxy-chain-auth, proxy-interim-response, proxy-initial-not-pooled

We have had so many issues with Apache on OS X, though, that we are looking to
move to Linux in the near future.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to