harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov" <alexei.zakha...@gmail.com>
Subject Re: [classlib][nio] jetty corrupts big static files
Date Thu, 29 Nov 2007 14:40:47 GMT
Hi Aleksey,

Your provider works better than the default one - VM crash disappears.
VM runs into the dead loop instead :) BTW it would be great if you can
have a look at it...

Thanks,
Alexei

2007/11/29, Aleksey Shipilev <aleksey.shipilev@gmail.com>:
> Oh sorry, forget it, I should have read JIRA carefully.
>
> On Nov 29, 2007 5:11 PM, Aleksey Shipilev <aleksey.shipilev@gmail.com> wrote:
> > Alexei,
> >
> > Can you try epoll()-based Selector [1] as fallback? Please specify
> > this option on cmdline:
> > -Djava.nio.channels.spi.SelectorProvider=org.apache.harmony.nio.internal.EpollSelectorProviderImpl
> >
> > [1] https://issues.apache.org/jira/browse/HARMONY-4879
> >
> >
> > On Nov 29, 2007 5:06 PM, Alexei Zakharov <alexei.zakharov@gmail.com> wrote:
> > > Hi all,
> > >
> > > If you keep track of CC reports (either at [1] or by reading
> > > alerts@harmony.apache.org) then you probably noticed that we have
> > > intermittent failures of Jetty scenario on Linux'es for quite long
> > > period of time already. I've spent some time on investigation of this
> > > failure and found that Jetty-on-Harmony has issues with handling of
> > > big static files. In most cases it simply returns corrupted data.
> > > However, sometimes it hangs or even crashes. I've put the detailed
> > > description of this problem here [2]. In brief I think we have bugs in
> > > Harmony implementation of NIO selectors. Jetty works ok if its default
> > > SelectChannelConnector is replaced with any other of its connectors
> > > like SockerConnector (no NIO) or BlockingChannelConnector (NIO, but no
> > > selectors). Stack traces also point to problems somewhere in
> > > Java_org_apache_harmony_luni_platform_OSNetworkSystem_selectImpl .
> > >
> > > IMO such issue is rather critical because it prevents default
> > > configuration of Jetty from working correctly on Harmony.
> > > Unfortunately I'm not very familiar with NIO code by myself. So I
> > > think it would be nice if our NIO experts can take a look at it. And
> > > IMO it would be good to have it fixed till M4.
> > >
> > > [1] http://people.apache.org/~mloenko/snapshot_testing/script/snapshots_summary.html
> > > [2] https://issues.apache.org/jira/browse/HARMONY-5219
> > >
> > > Thanks,
> > > Alexei
> > >
> >
>

Mime
View raw message