Using Lighttpd: apache prox or direct connection?
Posted
by
Halfgaar
on Server Fault
See other posts from Server Fault
or by Halfgaar
Published on 2011-01-14T11:44:28Z
Indexed on
2011/01/14
11:54 UTC
Read the original article
Hit count: 440
Hi,
I'm optimizing a site by using lighttpd for the static media. I've found that a recommended solution is to use Apache Proxy to point to the lighttpd server. But, does that use up an Apache thread/process per request?
In my setup, I've noticed that all my processes are used up, even though they aren't doing anything, CPU wise. To free up apache processes, I've configured lighttpd and the amount of processes needed is lowered significantly, Munin shows.
However, I've set it up to connect directly to lighty, to prevent apache workers from server static media. My question is: when using Apache Proxy, does that also use up a process/worker?
© Server Fault or respective owner