Re: Off-topic - Apache Config - Load crises

2001-10-11 Thread Jim Cox


Your problem may be a network problem, not Apache/Mod_perl.

Check with your upstream provider and have them do a bandwidth 
analysis. Here is why.

I've strobed your network and the return time latency seems to be high. 

It would appear that you have about a 28 ms latency overhead in/out of 
your network. That is not a good sign. This is on top of what appears to 
be a standard 1.54 - 2.0 Mbps line.  If your upstream feed is more than
a T1 or E1 then you need to have a talk with your upstream. 

I suggest invest some time in bing. (bing not ping)

Of course I'm looking at this through about 20 hops and because of 
that most of my information is inconclusive. I have noted that
codix-pri-gw.uk.insnet.net, which appears to be an assigned router 
by your upstream, appears to be dropping packets.  I get a 40% packet
loss when I test to that address and beyond.

Anyway, SWAG if this helps, good.  If it did not help,... don't blame me,
I'm not in the UK. 
 

Rafiq Ismail wrote:
 
 I know this is a bit off topic, but I could use some immediate advise on
 server config?
 
 Got a server which is getting hit really bad.
 Have to keep it up.  I've got:
 
 P Timeout 300
 
 # Keepalive, better on this server...
 KeepAlive   On
 MaxKeepAliveRequests100
 KeepAliveTimeout5
 
 # performance services
 MinSpareServers 5
 MaxSpareServers 50
 StartServers20
 StartServers20
 MaxClients  250
 
 Pings look like:
 
 64 bytes from x.x.x.x: icmp_seq=0 ttl=244 time=1069.3 ms
 64 bytes from x.x.x.x: icmp_seq=1 ttl=244 time=984.8 ms
 64 bytes from x.x.x.x: icmp_seq=2 ttl=244 time=1138.9 ms
 64 bytes from x.x.x.x: icmp_seq=3 ttl=244 time=1567.1 ms
 64 bytes from x.x.x.x: icmp_seq=4 ttl=244 time=1622.3 ms
 64 bytes from x.x.x.x: icmp_seq=5 ttl=244 time=1382.8 ms
 64 bytes from x.x.x.x: icmp_seq=6 ttl=244 time=1145.5 ms
 64 bytes from x.x.x.x: icmp_seq=7 ttl=244 time=1065.6 ms
 64 bytes from x.x.x.x: icmp_seq=8 ttl=244 time=1133.6 ms
 
 There are some really graphic intensive pages here, however I'm not sure
 if Keep alive is good when there's lots of contention for pages.  Should
 I:
  i) disable keep alive?
 
 ii) reduce the keep alive time out ?
 
iii) up my number for max spare servers?  Since i've not maxed out
 on load or memory, perhaps more idle servers will reduce the contention
 for apache children?  My intutition is that since the server is obviously
 in trouble, resource wise, perhaps increasing the number of daemons will
 relieve the load.  Not sure.  It's a big box.  Any ideas?
 
iv) Something else?
 
 I'd appreciate some suggestions.
 
 Thanks,
 
 R.
 
 --
 Rafiq Ismail
 
 Software Engineer and Systems Administrator
 http://www.codix.net
 
 All the best people in life seem to like Linux. - Steve Wozniak

-- 
Jim Cox (mailto:[EMAIL PROTECTED]) 
(817) 315-8134   (888) 834-7656 Toll Free
(817) 315-8253 FAX



Lets Get it on!

2001-10-10 Thread Jim Cox


Maybe your NT could not stay up long enough to receive the answer. :)


Purcell, Scott wrote:Re: 
Subject: [OT] What hourly rate to charge for programming?

 
 What kind of thread is this?
 I ask a question about modperl on NT and I get riddled from the list for
 using NT. Then we have a thread that goes for two days about hourly charges?
 
 What's up with this ..This should be for questions about modperl.
 
 Give it a rest, I'm tired of throwing that thread away.
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 10, 2001 8:41 AM
 

-- 
Jim Cox (mailto:[EMAIL PROTECTED]) 
(817) 315-8134   (888) 834-7656 Toll Free
(817) 315-8253 FAX
(817) 233-8567 Mobile



Re: embperl

2001-09-07 Thread Jim Cox



This will sould like sour grapes,. But!

Since PHP module compiles,... and Mod_Perl will not on AIX with 
gcc compiler

I'm thinkin' PHP is getting better and better all the time.

iain truskett wrote:
 
 * Diego V ([EMAIL PROTECTED]) [07 Sep 2001 06:59]:
 
 [...]
  Just wanted to ask to any embperl user, is there any real advantage
  about using embperl instead of PHP ?
 
 You get the advantage of using Perl rather than PHP.
 
 This includes the vast resources of CPAN.
 
 Personally, I recommend Mason http://www.masonhq.com/ over Embperl
 simply because I prefer the way it integrates into HTML.
 
 Investigate both =)
 
 I've done reasonably sized projects with both and find Mason cleaner
 (mostly in its handling of scope and the way it doesn't use all those [-
 [+ [# [$ [* etc. tags and instead just has %, %init and other wordy
 ones: easier to remember =). )
 
 cheers,
 --
 iain.  http://eh.org/~koschei/
 The only disadvantage I see is that it would force everyone to get
  Perl. Horrors. :-) --Larry Wall in [EMAIL PROTECTED]

-- 
Jim Cox (mailto:[EMAIL PROTECTED]) 
(817) 315-8134   (888) 834-7656 Toll Free
(817) 315-8253 FAX
(817) 233-8567 Mobile



Re: embperl

2001-09-07 Thread Jim Cox


Well,... Now that makes some sense. I'll try that.


Thanks.

Jens-Uwe Mager wrote:
 
 On Mon, May 07, 2001 at 02:44:13AM -0500, Jim Cox wrote:
 
 
  This will sould like sour grapes,. But!
 
  Since PHP module compiles,... and Mod_Perl will not on AIX with
  gcc compiler
 
 As far as I have heard mod_perl will compile using gcc, only you must
 first compile your perl with gcc. As mod_perl picks up the compiler
 settings from the perl installation you must first compile perl with the
 proper compiler. But IBM does ship perl compiled using their compiler,
 so if you are lazy and do not recompile perl you are hosed.

I'm not the lazy type, just did not realize that.  I'm not using
the IBM perl distribution and I thought it was compiled with gcc,... but
I will check that.

 
 --
 Jens-Uwe Mager
 
 HELIOS Software GmbH
 Steinriede 3
 30827 Garbsen
 Germany
 
 Phone:  +49 5131 709320
 FAX:+49 5131 709325
 Internet:   [EMAIL PROTECTED]

-- 
Jim Cox (mailto:[EMAIL PROTECTED]) 
(817) 315-8134   (888) 834-7656 Toll Free
(817) 315-8253 FAX
(817) 233-8567 Mobile



Mod_Perl on AIX

2001-09-06 Thread Jim Cox

Can someone point me to the docs for compiling latest mod_perl 1.26 for apache 1.3.20
on AIX 4.3.3 using gcc.

Or if docs don't exist, or if I missed something, Just slap me.

The docs I've found result in a broken build enviromnent.  
I suspect that the problem is related to using gcc+ and not the 
distributed AIX cc. 

I just wanted to ask before I tried to modify the distributed Makefile.PL.
Expesially centz I'za perl newbi. :o 
-- 
Jim Cox (mailto:[EMAIL PROTECTED]) 
(817) 315-8134   (888) 834-7656 Toll Free
(817) 315-8253 FAX
(817) 233-8567 Mobile



Re: Mod_Perl on AIX

2001-09-06 Thread Jim Cox


Therein lies the problem. I currently do not have the IBM supplied cc on 
the system. If the answer is to use only the IBM cc I'm not sure there will
be an answer. 

Everything else compiles fine, Apache, as well as the other modules.

Thanks.

Christian Gilmore wrote:
 
 It greatly depends upon how you built perl. If you're using the
 OS-provided perl installation, you'll have to use IBM C for AIX to compile
 apache/mod_perl. Also, other problems/pitfalls exist if you wish to use
 mod_perl as a DSO. These problems can be overcome, but you'll need
 specific versions to do so...
 
 Regards,
 Christian
 

-- 
Jim Cox (mailto:[EMAIL PROTECTED]) 
(817) 315-8134   (888) 834-7656 Toll Free
(817) 315-8253 FAX
(817) 233-8567 Mobile