tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: "Critical poller failure" when using tcnative
Date Sun, 09 Apr 2006 13:00:46 GMT
On Sun, Apr 09, 2006 at 08:47:22AM +0200, Mladen Turk wrote:
> Jeff Turner wrote:
> > On Sat, Apr 08, 2006 at 06:56:06PM +0200, Remy Maucherat wrote:
> >> Jeff Turner wrote:
> >>> We experienced this before on the old issues.apache.org box, but Remy
> >>> said he fixed it (and it is fixed on that box):
> > 
> > Nothing unusual. Ubuntu 5.10, 1x2.8Ghz Xeon. Java is started with:
> > 
> > -Djava.library.path=/usr/local/tomcat/tomcat/bin/tomcat-native-1.1.2/jni/native/.libs
> >
> 
> Since your log reports:
> Critical poller failure (restarting poller): [3] No such process
> 
> The error 3 is actually TCN_EINTR - APR_OS_START_USERERR, so
> it looks like you actually *did not* patch the AprEndpoint,
> or didn't copy the .jars.

Right - I am running an unpatched 5.5.16 at the moment. When I switch to the
patched (I assume - I didn't actually do the honours) 5.5.15, the error changes
to:

Apr 9, 2006 12:45:37 PM org.apache.tomcat.util.net.AprEndpoint$Poller run
SEVERE: Critical poller failure (APR does not understand this error code), restarting poller

> To be sure edit the:
> 
> log.error(sm.getString("endpoint.poll.fail", "" + rv, 
> Error.strerror(errn)));
> The error should be negative with 70000 offset, thus -70003.
> 
> You can try the current HEAD for tcnative. It has EINTR loop
> within the poll call.

>From Remy's comment I gather 5.5.16's logging reveals as much info as is
available:

Apr 9, 2006 12:54:10 PM org.apache.tomcat.util.net.AprEndpoint$Poller run
SEVERE: Critical poller failure (restarting poller): [3] No such process


Cheers,
Jeff

> Regards,
> Mladen.

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


Mime
View raw message