lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: unsafe memory access operation
Date Fri, 12 Dec 2014 17:59:07 GMT
Hi,

I noticed, you mentioned "NFS" as filesystem. Lucene does not work correctly on NFS as file
systems, especially when writing to an index (commits don’t work safely, NRT reopening breaks
without correct DeletionPolicy, FileLocking is broken). Purely reading indexes is fine, but
here NFS is a problem with MMap, because whenever the connection to the NFS server drops,
it may crush the whole JVM or produce strange errors. This could also be the reason for the
error you see here.

I would recommend to update to 1.7.0_72 or 1.8.0_25.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Vijay B [mailto:vijay.nipuna@gmail.com]
> Sent: Friday, December 12, 2014 6:53 PM
> To: java-user@lucene.apache.org
> Subject: Re: unsafe memory access operation
> 
> Uwe,
> 
> We never seen these errors before with the same version of java. Would
> you think updating to latest version of 1.7 would get rid of this?
> 
> Here is the info you requested:
> 
> java version "1.7.0_25"
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-
> Bit Server VM (build 23.25-b01, mixed mode)
> 
> On Fri, Dec 12, 2014 at 12:51 PM, Vijay B <vijay.nipuna@gmail.com> wrote:
> >
> > Here is the info you requested:
> >
> > java version "1.7.0_25"
> > Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM)
> > 64-Bit Server VM (build 23.25-b01, mixed mode)
> >
> >
> >
> > On Fri, Dec 12, 2014 at 12:05 PM, Uwe Schindler <uwe@thetaphi.de>
> wrote:
> >>
> >> Hi,
> >>
> >> Which Java 7 build number / update level are you using? Those errors
> >> occur easily if you use an outdated JDK version.
> >>
> >> Uwe
> >>
> >> -----
> >> Uwe Schindler
> >> H.-H.-Meier-Allee 63, D-28213 Bremen
> >> http://www.thetaphi.de
> >> eMail: uwe@thetaphi.de
> >>
> >> > -----Original Message-----
> >> > From: Vijay B [mailto:vijay.nipuna@gmail.com]
> >> > Sent: Friday, December 12, 2014 5:31 PM
> >> > To: java-user@lucene.apache.org
> >> > Subject: unsafe memory access operation
> >> >
> >> > we are running into this issue for the first time while searching a
> >> lucene index
> >> > hosted on NFS. Once, this error occurs, all subsequent requests fails.
> >> help
> >> > appreciated.
> >> >
> >> > Our Config:
> >> >  64-bit Java 1.7  (we are making use of MMapDirectory)  Lucene
> >> > 4.2.1
> >> Index
> >> > size: 8GB
> >> >
> >> > Let me know if you need any futher info.
> >> >
> >> >
> >> > java.lang.InternalError: a fault occurred in a recent unsafe memory
> >> access
> >> > operation in compiled Java code
> >> >
> org.apache.lucene.codecs.BlockTreeTermsReader$FieldReader$SegmentTe
> >> > r
> >> > msEnum$Frame.loadBlock(BlockTreeTermsReader.java:2373)
> >> >
> org.apache.lucene.codecs.BlockTreeTermsReader$FieldReader$SegmentTe
> >> > r
> >> > msEnum.seekExact(BlockTreeTermsReader.java:1693)
> >> > org.apache.lucene.index.TermContext.build(TermContext.java:95)
> >> >
> org.apache.lucene.search.TermQuery.createWeight(TermQuery.java:167)
> >> >
> org.apache.lucene.search.BooleanQuery$BooleanWeight.&lt;init&gt;(Bo
> >> > olea
> >> > nQuery.java:187)
> >> >
> org.apache.lucene.search.BooleanQuery.createWeight(BooleanQuery.jav
> >> > a:4
> >> > 01)
> >> >
> org.apache.lucene.search.IndexSearcher.createNormalizedWeight(Index
> >> > Sea
> >> > rcher.java:664)
> >> > org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:30
> >> > 9)
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-user-help@lucene.apache.org
> >>
> >>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message