Re: Slow $r-print

2001-02-14 Thread Michael Bacarella
On Tue, Feb 13, 2001 at 12:02:33AM +0100, Alvar Freude wrote: do you get a high CPU load during those 4 seconds? NO! Even if i request 10 documents at the same time, there is no significant load (except the Postgres load and some DBI stuff in the beginning before printing). Hmmm, slow

Re: Slow $r-print

2001-02-14 Thread Michael Bacarella
On Tue, Feb 13, 2001 at 12:14:32AM +0100, Alvar Freude wrote: When I get really stumped, I whip out strace/ktrace. I don't know how I used to get along without it. It's time consuming, but 95% of the time it will tell you exactly what you need to know. hmmm, with mod_perl? Configure

Re: Slow $r-print

2001-02-12 Thread Alvar Freude
Erdmut Pfeifer wrote: do you get a high CPU load during those 4 seconds? NO! Even if i request 10 documents at the same time, there is no significant load (except the Postgres load and some DBI stuff in the beginning before printing). hmmm! :( Ciao Alvar

Re: Slow $r-print

2001-02-12 Thread Alvar Freude
Hi, Michael Bacarella wrote: Hmmm, slow name resolution? no, because the time is dependent on the length of the document! Ciao Alvar When I get really stumped, I whip out strace/ktrace. I don't know how I used to get along without it. It's time consuming, but 95% of the time it

Slow $r-print

2001-02-11 Thread Alvar Freude
Hi, I recognized, that the output of (my) mod_perl Scripts is very slow, if there are longer texts. I use the following Code on a Linux machine (PII 350, 320 MB), Apache 1.3.12, mod_perl 1.23: $r-header_out('Content-Length', length($$textref)); $r-header_out('Connection', 'close');

Re: Slow $r-print

2001-02-11 Thread Alvar Freude
Hi, Matt Sergeant wrote: $r-header_out('Content-Length', length($$textref)); $r-header_out('Connection', 'close'); $r-send_http_header; $r-print($$textref) unless $r-header_only; FWIW, you can pass in just $textref and print does the wrong thing. Err, I mean right

u-1-20.karlsruhe.ipdial.viaginterkom.de, Re: Slow $r-print

2001-02-11 Thread Alvar Freude
# tail debug/2001_02_12.log 62.180.20.1 - - [12/Feb/2001:00:58:01 +0100] "" 200 3262 "-" "-" 1 62.180.20.1 - - [12/Feb/2001:00:58:30 +0100] "HEAD /forum/forum-list_0.html HTTP/1.0" 404 0 "-" "-" 4 [...] 62.180.20.1 == u-1-20.karlsruhe.ipdial.viaginterkom.de h ... Nice ... Ciao

Re: Slow $r-print

2001-02-11 Thread Erdmut Pfeifer
On Mon, Feb 12, 2001 at 12:56:51AM +0100, Alvar Freude wrote: Hi, I recognized, that the output of (my) mod_perl Scripts is very slow, if there are longer texts. I use the following Code on a Linux machine (PII 350, 320 MB), Apache 1.3.12, mod_perl 1.23:

Re: u-1-20.karlsruhe.ipdial.viaginterkom.de, Re: Slow $r-print

2001-02-11 Thread Robin Berjon
At 01:24 12/02/2001 +0100, Alvar Freude wrote: # tail debug/2001_02_12.log 62.180.20.1 - - [12/Feb/2001:00:58:01 +0100] "" 200 62.180.20.1 - - [12/Feb/2001:00:58:30 +0100] "HEAD /forum/forum-list_0.html HTTP/1.0" 404 0 "-" "-" 4 62.180.20.1 == u-1-20.karlsruhe.ipdial.viaginterkom.de URL

Re: Slow $r-print

2001-02-11 Thread Alvar Freude
Erdmut Pfeifer schrieb: I just tried it a couple of times with wget. I always got something between 150-190KB/sec -- doesn't seem too slow to me :) $ wget http://www.assoziations-blaster.de:7000/forum/forum-list_0.html --01:15:32--

Re: u-1-20.karlsruhe.ipdial.viaginterkom.de, Re: Slow $r-print

2001-02-11 Thread Alvar Freude
Robin Berjon wrote: That looks like someone testing your problem on telnet and getting it wrong the first time. Probably not a cause for worry. oh yes, sorry! I'm a little bit paranoid, because i had some cracking attempts the last time :( Ciao Alvar -- Alvar C.H. Freude |

Re: Slow $r-print

2001-02-11 Thread Erdmut Pfeifer
On Mon, Feb 12, 2001 at 01:51:29AM +0100, Alvar Freude wrote: Erdmut Pfeifer schrieb: I just tried it a couple of times with wget. I always got something between 150-190KB/sec -- doesn't seem too slow to me :) $ wget http://www.assoziations-blaster.de:7000/forum/forum-list_0.html