tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11AprProcessor.java
Date Sat, 14 May 2005 10:33:47 GMT
Bill Barker wrote:
> Peter's test was stressing my poor little box a lot (which it really 
> shouldn't, since it is a high-concurrency/low-traffic test).  It was one 
> of the things I wanted to look into when I had time to run more tests.
> 
> Also, I've been running the test with sendfile disabled.  It seems that 
> Solaris7 doesn't have this particular feature :(It was added to 
> Solaris8). With sendfile enabled, I get a nice core-dump (since there is 
> no apr_socket_sendfile in my libapr.so :).  I'm guessing that a for 
> production release we need something like this in AprEndpoint.init:
>   if(useSendfile && !Apr.hasFeature(Apr.SENDFILE)) {
>         log.warn("disabling sendfile, since your apr version doesn't 
> support it");
>         useSendfile = false;
>   }

I didn't know that. Yes, the check is needed then.

>> He still needs to remove some syncs in the native code, apparently (= 
>> the hacks he added on top of APR, but which didn't quite work).
> 
> It seems I need to look for a few more patches before I can usefully test.

Which changes do you suggest besides fixing sendfile ?

Rémy

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message