Re: Apache Bench

2001-12-02 Thread William A. Rowe, Jr.

From: Joshua Chamas [EMAIL PROTECTED]
Sent: Friday, November 30, 2001 11:08 AM


 Last I checked, ab which comes with Apache, had not yet been ported
 to NT/2000 officially.  However, there does seem to be a port
 available here:
 
   http://www.remotecommunications.com/apache/ab/
 
 Upon testing their precompiled version however, I found that
 that it doesn't seem to work too well, in that it can only 
 do some 1 request per 4 seconds :(

Uhmmm... I use it every day or so.

Suggest you look at Apache 2.0 - it runs quite well.  Of course 1.3 will
never be ported, it's just too tangled, but ab for Apache 2.0 should work
on native win32 (as well as cygwin now that Stipe has patched to work 
around cygwin/WinSock incompatibilites.)






Re: [OT] log analyzing programs

2001-12-02 Thread Brian Reichert

On Sat, Dec 01, 2001 at 11:49:23PM -0800, Bill Moseley wrote:
 Any suggestions for favorite ones?  wusage seems to require a lot of
 resources -- maybe that's not unusual?  It runs once a week.  Here's a
 about six days worth of requests.  Doesn't see like that many.

I roll my own.  It depends on the analysis I need to perform.  I
tend to scan them, and chuck the the elements into a MySQL database,
so I can run real checks.

 Bill Moseley
 mailto:[EMAIL PROTECTED]

-- 
Brian 'you Bastard' Reichert[EMAIL PROTECTED]
37 Crystal Ave. #303Daytime number: (603) 434-6842
Derry NH 03038-1713 USA Intel architecture: the left-hand path



Re: [OT] log analyzing programs

2001-12-02 Thread Matt Sergeant

On Sat, 1 Dec 2001, Bill Moseley wrote:

 Any suggestions for favorite ones?  wusage seems to require a lot of
 resources -- maybe that's not unusual?  It runs once a week.  Here's a
 about six days worth of requests.  Doesn't see like that many.

 %wc -l access_log
  1185619 access_log

   PID USERNAME THR PRI NICE  SIZE   RES STATE   TIMECPU COMMAND
 17223 operator   1  442  747M  745M cpu14  19.2H 45.24% wusage

Ouch. Try analog.

-- 
Matt/

/||** Founder and CTO  **  **   http://axkit.com/ **
   //||**  AxKit.com Ltd   **  ** XML Application Serving **
  // ||** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
 \\//
 //\\
//  \\




Re: [OT] log analyzing programs

2001-12-02 Thread Dave Hodgkinson

Bill Moseley [EMAIL PROTECTED] writes:

 Any suggestions for favorite ones?  wusage seems to require a lot of
 resources -- maybe that's not unusual?  It runs once a week.  Here's a
 about six days worth of requests.  Doesn't see like that many.

analog - but _do_ read the words that go with it, know what you're
analysing. i have a stats redux note on my site too.

-- 
David Hodgkinson, Wizard for Hirehttp://www.davehodgkinson.com
Editor-in-chief, The Highway Star   http://www.deep-purple.com
Deep Purple Family Tree news  http://www.slashrock.com
   Interim Technical Director, Web Architecture Consultant for hire



Re: [OT] log analyzing programs

2001-12-02 Thread Matthew Byng-Maddick

On Sun, Dec 02, 2001 at 12:52:11PM +, Dave Hodgkinson wrote:
 Bill Moseley [EMAIL PROTECTED] writes:
  Any suggestions for favorite ones?  wusage seems to require a lot of
  resources -- maybe that's not unusual?  It runs once a week.  Here's a
  about six days worth of requests.  Doesn't see like that many.
 analog - but _do_ read the words that go with it, know what you're
 analysing. i have a stats redux note on my site too.

We like analog, Stephen Turner is a Cam.pm member, and makes regular
appearances at our social meets. I've looked at webalizer too, but webalizer
is appallingly written, keeps everything in globals (though I believe analog
also currently does this and Stephen said he'd like to change it), and uses
scary amounts of memory. It also doesn't have particularly good integrity
checking for its database dumps.

MBM

-- 
Matthew Byng-Maddick [EMAIL PROTECTED]   http://colondot.net/



Re: Vhosts + mod_perl

2001-12-02 Thread Marius Feraru

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Dec 1 at 01:59, 'James' wrote:
|J|But, with that e.g. that uses an IP address, from day to day I don't 
|J|know what my IP address will be, can't I use:
|J|NameVirtualHost fred.trains.ath.cx
|J|VirtualHost fred
|J|... foo
|J|/VirtualHost

NameVirtualHost *
VirtualHost *
ServerName  www.foo.com
...
/VirtualHost

specifying '*' as the argument of NameVirtualHost it's a new feature as of 
Apache version 1.3.13. It's quite tricky to use it in complex configuration 
(multiple listening ports/ip addresses) but it is really very powerful :)

cheers.
- -- 
Marius Feraru http://altblue.n0i.net/
it's easy to stop using Perl: I do it after every project.
-BEGIN PGP SIGNATURE-

iD8DBQE8CiPBn0ZKufYp8iURAjw9AJ9MtY3gOtwELcnidr83aQ942a9iDACaA8l9
nwmEW30EE5NMHOfJhvPbe9A=
=7rPg
-END PGP SIGNATURE-




Apache Bench

2001-12-02 Thread Nabarupa Banerjee
Dear Sir/Madam,  I am trying to use Apache Bench to test an IIS web server on which an ASP application is residing ? Our server machine is a P IV WIN NT m/c and the client m/c's are PIII WIN 2000 m/c's. In the current set up is it possible for us to use Apache Bench for testing ?  Does Apache Bench only work for a UNIX environment ?  When I downloaded Apache bench from the web site : http://www.xenoclast.org/autobench/ I found .tar files which I unzipped using winzip to get many .c files.Are we supposed to compile these .c files or is there any executable already existing ?  Do guide me regarding the same.  What is an APR ? It seems with an APR Apache Bench can be ported to an NT machine ? What is the meaning of this sentence ?  Too many doubts..Pls help.  Regards,  Nabarupa.Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


Re: [ANNOUNCE] OpenFrame 2.05

2001-12-02 Thread Jonas Liljegren

Leon Brocard [EMAIL PROTECTED] writes:

 This is the first wide announcement of the release of OpenFrame.

I checked it out from CVS.  But there is no INSTALL file.

I guess I should do some Apache configuration or run a custom HTTP
server.  But I can't find anything about it in README or FAQ.

What will happen if I do a make install?


I read the slides from London.pm presentation and lookeed briefly at
some example code.


But I'm still havenn't a general picture of the principle design.

It feels like too much module documentation to read before I have
decided if I would liek to realy try it out.

-- 
/ Jonas  -  http://jonas.liljegren.org/myself/en/index.html



[OT] Re: Vhosts + mod_perl

2001-12-02 Thread James

Hi Marius,

Everytime I make a new document root for a different website, say the 
subdomain loco on trains.ath.cx, do I need to update the DNS?

For foo.trains.ath.cx and bar.trains.ath.cx do I need to make new DNS 
entries for foo and bar subdomains? Surely I don't? Because browsers 
will ask for it, and get directed to trains.ath.cx, and my apache will 
take are of the rest from the HTTP 1.1 Host: field?

Thanks :)

Cheers,
James


 On Dec 1 at 01:59, 'James' wrote:
 |J|But, with that e.g. that uses an IP address, from day to day I don't 
 |J|know what my IP address will be, can't I use:
 |J|NameVirtualHost fred.trains.ath.cx
 |J|VirtualHost fred
 |J|... foo
 |J|/VirtualHost
 
 NameVirtualHost *
 VirtualHost *
 ServerName  www.foo.com
 ...
 /VirtualHost
 
 specifying '*' as the argument of NameVirtualHost it's a new feature as of 
 Apache version 1.3.13. It's quite tricky to use it in complex configuration 
 (multiple listening ports/ip addresses) but it is really very powerful :)
 
 cheers.
 - -- 
 Marius Feraru http://altblue.n0i.net/






µ´¹ï«K©yªº¾¥¤ô§X Epson ³Ì§C190[¼s§i«H]

2001-12-02 Thread modperl-return-20988-archive=jab . org







Re: [OT] log analyzing programs

2001-12-02 Thread Bill Moseley

At 10:09 AM 12/2/2001 +, Matt Sergeant wrote:

   PID USERNAME THR PRI NICE  SIZE   RES STATE   TIMECPU COMMAND
 17223 operator   1  442  747M  745M cpu14  19.2H 45.24% wusage

Ouch. Try analog.

  PID USERNAME THR PRI NICE  SIZE   RES STATE   TIMECPU COMMAND
17223 operator   1   02  747M  745M cpu14  27.1H 47.57% wusage

Well at least after another 8 hours of CPU it's not leaking ;)



Bill Moseley
mailto:[EMAIL PROTECTED]



Re: [OT] log analyzing programs

2001-12-02 Thread Rick Myers

On Dec 02, 2001 at 07:33:55 -0800, Bill Moseley wrote:
 Date: Sun, 02 Dec 2001 07:33:55 -0800
 To: [EMAIL PROTECTED]
 From: Bill Moseley [EMAIL PROTECTED]
 Subject: Re: [OT] log analyzing programs
 
 At 10:09 AM 12/2/2001 +, Matt Sergeant wrote:
 
PID USERNAME THR PRI NICE  SIZE   RES STATE   TIMECPU COMMAND
  17223 operator   1  442  747M  745M cpu14  19.2H 45.24% wusage
 
 Ouch. Try analog.
 
   PID USERNAME THR PRI NICE  SIZE   RES STATE   TIMECPU COMMAND
 17223 operator   1   02  747M  745M cpu14  27.1H 47.57% wusage
 
 Well at least after another 8 hours of CPU it's not leaking ;)

I don't have a running analog right this second, but I run
it on the following daily. I sure don't see the cpu usage
you see, but it does take a couple hours to finish. (Mostly
because analog doesn't hammer the dns server.)

-rw-r--r--   1 root root 311413188 Dec  2 10:50 access_log
-rw-r--r--   1 root root 89773421 Dec  2 10:37 azaleas2_access_log
-rw-r--r--   1 root root 13499455 Dec  2 10:21 azaleas3_access_log
-rw-r--r--   1 root root 10692999 Dec  2 10:37 error_log
-rw-r--r--   1 root root  7786067 Dec  2 00:33 sumthin2_log
-rw-r--r--   1 root root   142857 Nov  2 02:44 sumthin3_log

--rick




Forking problem with mod_perl...

2001-12-02 Thread Brian

I'm writing a script that will run under mod_perl.  Right now, if I
disable mod_perl the script runs fine.  When I turn mod_perl back on, it
stops working.  Here's the lowdown.

Basically I'm writing a program that will take a users email address and
their password, and make an attempt to figure out what mail server they
use to check their mail.  To speed things up, I'm forking off a process
for each possible server.  So, if your email address is [EMAIL PROTECTED],
then my script would try the servers:

foo.com
mail.foo.com
pPop.foo.com
pop3.foo.com

And so on.  Each attempt would be a new fork.  Now, what is happening is
$SIG{CHLD} is being completely ignored with mod_perl on.  And it's
driving me nutty trying to figure out why.  I've declared it as a
package variable, I've declared it as a local variable, and nothing
seems to work.  Does anybody have any idea why SIG{CHLD} would be
ignored under mod_perl?

Brian Johnson
Programmer/Systems Administrator
Source1Results.com
http://www.source1results.com
Online Marketing Management and Solutions






Re: Forking problem with mod_perl...

2001-12-02 Thread Brett W. McCoy

On Sun, 2 Dec 2001, Brian wrote:

 I'm writing a script that will run under mod_perl.  Right now, if I
 disable mod_perl the script runs fine.  When I turn mod_perl back on, it
 stops working.  Here's the lowdown.

Forking under mod_perl isn't a good idea.  Did you read this?

http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subprocess

-- Brett
  http://www.chapelperilous.net/

America may be unique in being a country which has leapt from barbarism
to decadence without touching civilization.
-- John O'Hara