You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ian Shafer <ia...@1321.org> on 2006/02/15 19:43:58 UTC

[users@httpd] Apache 2.2 on OS X 10.4

I'm working on getting Apache 2.2 set up on Mac OS X 10.4. The main job
of apache will be to pass request to Tomcat 5.5 using mod_proxy_ajp. I know it
works because I've built it and got it running. But I've been having
some problems because it's crashing under heavy load (1000 concurrent
clients making one request). 

I have two questions:

1) I build Apache on my laptop (also running OS X 10.4) and copied the
binaries to my server. I've never done anything like this before, so I'm
wondering if this is the correct way to build binaries. The laptop and
server are both PPC and have the same Darwin kernel.

2) Is anybody else using Apache 2.2 on OS X 10.4. Any gotchas? What MPM
module are you using? Any special configuration to think about.

Thanks,

Ian


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2.2 on OS X 10.4

Posted by Ian Shafer <ia...@1321.org>.
If I get it to crash again, I'll send along the backtrace. 

What I've found is that the Apache binaries that come with OS X 10.4 (1.3 and
2.0.55) are very fast, and the ones that I build are very slow (we're
talking an order of magnitude). I based my counfigure options off the
config.nice that came with the 2.0.55 version.

I'm not sure how to proceed here (building Apache is not a strong point
of mine), so I'm stuck using the 2.0.55 version instead of 2.2.

Ian

On  0, "William A. Rowe, Jr." <wr...@rowe-clan.net> did scribble:
> If it's crashing, can you give us the gdb backtrace of the offending 
> (failed)
> thread?
> 
> One gentle pointer, you need to use a unix filesystem rather than the Mac
> filesystem to ensure case sensitivity, or be extremely careful securing
> resources.  An update to APR in the next month and to httpd over the next
> couple months should clear up that issue.  Apple distributes a module to
> specifically address this, but they use the old-style force-to-lowercase
> method to resolve ambiguity, while the apr and httpd projects are working
> on a true case-canonicalization solution, which will twist any requested
> filename to it's true name.
> 
> Bill
> 
> Ian Shafer wrote:
> >I'm working on getting Apache 2.2 set up on Mac OS X 10.4. The main job
> >of apache will be to pass request to Tomcat 5.5 using mod_proxy_ajp. I 
> >know it
> >works because I've built it and got it running. But I've been having
> >some problems because it's crashing under heavy load (1000 concurrent
> >clients making one request). 
> >
> >I have two questions:
> >
> >1) I build Apache on my laptop (also running OS X 10.4) and copied the
> >binaries to my server. I've never done anything like this before, so I'm
> >wondering if this is the correct way to build binaries. The laptop and
> >server are both PPC and have the same Darwin kernel.
> >
> >2) Is anybody else using Apache 2.2 on OS X 10.4. Any gotchas? What MPM
> >module are you using? Any special configuration to think about.
> >
> >Thanks,
> >
> >Ian
> >
> >
> >---------------------------------------------------------------------
> >The official User-To-User support forum of the Apache HTTP Server Project.
> >See <URL:http://httpd.apache.org/userslist.html> for more info.
> >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >.
> >
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2.2 on OS X 10.4

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
If it's crashing, can you give us the gdb backtrace of the offending (failed)
thread?

One gentle pointer, you need to use a unix filesystem rather than the Mac
filesystem to ensure case sensitivity, or be extremely careful securing
resources.  An update to APR in the next month and to httpd over the next
couple months should clear up that issue.  Apple distributes a module to
specifically address this, but they use the old-style force-to-lowercase
method to resolve ambiguity, while the apr and httpd projects are working
on a true case-canonicalization solution, which will twist any requested
filename to it's true name.

Bill

Ian Shafer wrote:
> I'm working on getting Apache 2.2 set up on Mac OS X 10.4. The main job
> of apache will be to pass request to Tomcat 5.5 using mod_proxy_ajp. I know it
> works because I've built it and got it running. But I've been having
> some problems because it's crashing under heavy load (1000 concurrent
> clients making one request). 
> 
> I have two questions:
> 
> 1) I build Apache on my laptop (also running OS X 10.4) and copied the
> binaries to my server. I've never done anything like this before, so I'm
> wondering if this is the correct way to build binaries. The laptop and
> server are both PPC and have the same Darwin kernel.
> 
> 2) Is anybody else using Apache 2.2 on OS X 10.4. Any gotchas? What MPM
> module are you using? Any special configuration to think about.
> 
> Thanks,
> 
> Ian
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> .
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org