List Info

Thread: web server performance shootout




web server performance shootout
country flaguser name
Germany
2007-12-10 11:56:35
	http://blog.davber.com/2007/12/1
0/web-server-performance-shoot-out-simple-pages/

-- 
Eugen* Leitl <a href="http://leit
l.org">leitl</a> http://leitl.org
____________________________________________________________
__
ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29
F6BE


Re: web server performance shootout
country flaguser name
Germany
2007-12-10 12:21:30
On Dec 10, 2007 12:56 PM, Eugen Leitl <eugenleitl.org> wrote:
>
>         http://blog.davber.com/2007/12/1
0/web-server-performance-shoot-out-simple-pages/
>
> --
> Eugen* Leitl <a href="http://leit
l.org">leitl</a> http://leitl.org
>
____________________________________________________________
__
> ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
> 8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29
F6BE
>
>
Eugen,

Why didn't you do a test of dynamic pages/second on
lighttpd?

Also, running ab (Apache bench) from the server you want to
test is
really inaccurate since the processor has to work harder to
serve the
pages and run the test.

Can you re-test with ab from another system? (and possibly
include
dynamic pages on lighttpd?)

Regards,
Kevin
-- 
Kevin Worthington


server.errorlog setting
country flaguser name
Germany
2007-12-10 12:37:01
Hi,

I have a lighttpd  1.4.18 running with couple hosts defined,
basically like 
this (I'm pasting only lines relevant to the problem):

$HTTP["host"] =~ "domain1.com" {
        server.document-root        =
"/var/www/html/domain1.com"
        server.errorlog             =
"/var/log/lighttpd/domain1_error_log"
        accesslog.filename          =
"/var/log/lighttpd/domain1_access_log"
    .....
}
$HTTP["host"] =~ "domain2.com" {
        server.document-root        =
"/var/www/html/domain2.com"
        server.errorlog             =
"/var/log/lighttpd/domain2_error_log"
        accesslog.filename          =
"/var/log/lighttpd/domain2_access_log"
    .......
}


Everything works fine except error logs which all get into
the last 
specified host-errorlog. In the above case all of my errors
go into 
domain2_error_log, if I would add domain3 in the end it
would go into 
domain3_error_log, at least this comes to mind after trying
different 
settings.. this is really strange, all the other stuff is
working perfectly.

Any ideas ?

Thanks,
--
Andrzej Rumpfelt
arumpfeltgmail.com 


Re: server.errorlog setting
country flaguser name
Germany
2007-12-10 12:43:19
On 2007-12-10 19:37, Andrzej Rumpfelt wrote:
> Hi,
First, please do not hijack other peoples' threads (you are
replying to
a totally unrelated mail).

> I have a lighttpd  1.4.18 running with couple hosts
defined, basically
> like this (I'm pasting only lines relevant to the
problem):
> 
> $HTTP["host"] =~ "domain1.com" {
>        server.document-root        =
"/var/www/html/domain1.com"
>        server.errorlog             =
"/var/log/lighttpd/domain1_error_log"
>        accesslog.filename          =
"/var/log/lighttpd/domain1_access_log"
>    .....
> }
> $HTTP["host"] =~ "domain2.com" {
>        server.document-root        =
"/var/www/html/domain2.com"
>        server.errorlog             =
"/var/log/lighttpd/domain2_error_log"
>        accesslog.filename          =
"/var/log/lighttpd/domain2_access_log"
>    .......
> }
> 
> 
> Everything works fine except error logs which all get
into the last
> specified host-errorlog. In the above case all of my
errors go into
> domain2_error_log, if I would add domain3 in the end it
would go into
> domain3_error_log, at least this comes to mind after
trying different
> settings.. this is really strange, all the other stuff
is working
> perfectly.
> 
> Any ideas ?
Multiple error logs are not supported, and it's hard to
predict which
one will be used when you specify multiple error logs (I
think it
depends on the first request, the last matching
server.errorlog will be
the error log which will be used for all further errors as
well).

-- 
Christian Hoffmann

Re: server.errorlog setting
country flaguser name
Germany
2007-12-10 12:43:42
Words by Andrzej Rumpfelt [Mon, Dec 10, 2007 at 07:37:01PM
+0100]:
> Hi,
>
> I have a lighttpd  1.4.18 running with couple hosts
defined, basically like 
> this (I'm pasting only lines relevant to the problem):
>
> $HTTP["host"] =~ "domain1.com" {
>        server.document-root        =
"/var/www/html/domain1.com"
>        server.errorlog             =
"/var/log/lighttpd/domain1_error_log"
>        accesslog.filename          =
"/var/log/lighttpd/domain1_access_log"
>    .....
> }
> $HTTP["host"] =~ "domain2.com" {
>        server.document-root        =
"/var/www/html/domain2.com"
>        server.errorlog             =
"/var/log/lighttpd/domain2_error_log"
>        accesslog.filename          =
"/var/log/lighttpd/domain2_access_log"
>    .......
> }
>
>
> Everything works fine except error logs which all get
into the last 
> specified host-errorlog. In the above case all of my
errors go into 
> domain2_error_log, if I would add domain3 in the end it
would go into 
> domain3_error_log, at least this comes to mind after
trying different 
> settings.. this is really strange, all the other stuff
is working perfectly.
>

Try with:

} else $HTTP["host"] =~

Or maybe that's some kind of punishment for thread
hijacking.

-- 
Jose Celestino
------------------------------------------------------------
----
http://www.msversus.org/
    ; http://techp.org/pet
ition/show/1
http://www.vinc
17.org/noswpat.en.html
------------------------------------------------------------
----
"If you would have your slaves remain docile, teach
them hymns."
    -- Ed Weathers ("The Empty Box")


Re: server.errorlog setting
country flaguser name
Germany
2007-12-10 12:49:35
Thanks Christian,

I thought I was doing something wrong..

--
Andrzej Rumpfelt
arumpfeltgmail.com

On 2007-12-10 19:37, Andrzej Rumpfelt wrote:
> Hi,
First, please do not hijack other peoples' threads (you are
replying to
a totally unrelated mail).


> I have a lighttpd  1.4.18 running with couple hosts
defined, basically
> like this (I'm pasting only lines relevant to the
problem):
>
> $HTTP["host"] =~ "domain1.com" {
>        server.document-root        =
"/var/www/html/domain1.com"
>        server.errorlog             =
"/var/log/lighttpd/domain1_error_log"
>        accesslog.filename          = 
> "/var/log/lighttpd/domain1_access_log"
>    .....
> }
> $HTTP["host"] =~ "domain2.com" {
>        server.document-root        =
"/var/www/html/domain2.com"
>        server.errorlog             =
"/var/log/lighttpd/domain2_error_log"
>        accesslog.filename          = 
> "/var/log/lighttpd/domain2_access_log"
>    .......
> }
>
>
> Everything works fine except error logs which all get
into the last
> specified host-errorlog. In the above case all of my
errors go into
> domain2_error_log, if I would add domain3 in the end it
would go into
> domain3_error_log, at least this comes to mind after
trying different
> settings.. this is really strange, all the other stuff
is working
> perfectly.
>
> Any ideas ?
Multiple error logs are not supported, and it's hard to
predict which
one will be used when you specify multiple error logs (I
think it
depends on the first request, the last matching
server.errorlog will be
the error log which will be used for all further errors as
well).

-- 
Christian Hoffmann



[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )