Using Lighttpd: apache proxy 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
12:54 UTC
Read the original article
Hit count: 416
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 being occupied by serving static media. My question is: when using Apache Proxy, does that also use up a process/worker per request?
© Server Fault or respective owner