I believe there is a bug in mod_proxy lighttpd-1.4.11 on platform OS X Darwin (PPC) and OpenBSD 3.9 (PPC). In testing on Linux the problem didn't happen.
When the mod_proxy is configured:
server.network-backend = "write" # or writev
proxy.balance = "hash" # or fair we did not test round-robin
proxy.server = ( "" => ( ( "host" => "10.0.0.1", "port" => 80 ),
( "host" => "10.0.0.2" , "port" => 80 ) ) )
The error.log showed:
(network_write.c.55) write failed: Broken pipe 13
(connections.c.538) connection closed: write failed on fd 13
or with writev:
(network_writev.c.116) writev failed: Socket is not connected 9
(mod_proxy.c.824) write failed: Socket is not connected 57
Testing with apache benchmark tool 'ab' most of the time there was no problem. However testing with Firefox was when these error messages showed up. We tested lighttpd proxying for apache 2 on OS X and Linux.