lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5624) nightly 'test-lock-factory' may leak file handles
Date Tue, 22 Apr 2014 12:46:20 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-5624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13976707#comment-13976707
] 

Robert Muir commented on LUCENE-5624:
-------------------------------------

If i run the test with -Dlock.factory.impl=org.apache.lucene.store.SimpleFSLockFactory then
it passes always.

Looks like a real leak in NativeFSLock!

> nightly 'test-lock-factory' may leak file handles
> -------------------------------------------------
>
>                 Key: LUCENE-5624
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5624
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> https://builds.apache.org/job/Lucene-Solr-NightlyTests-trunk/556/console
> {noformat}
> [LockStressTest1] Exception in thread "main" java.nio.file.FileSystemException: /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-NightlyTests-trunk/lucene/build/core/lockfactorytest/test-test.lock:
Too many open files in system
> [LockStressTest1] 	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
> [LockStressTest1] 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> [LockStressTest1] 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> [LockStressTest1] 	at sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:176)
> [LockStressTest1] 	at java.nio.channels.FileChannel.open(FileChannel.java:287)
> [LockStressTest1] 	at java.nio.channels.FileChannel.open(FileChannel.java:334)
> [LockStressTest1] 	at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:149)
> [LockStressTest1] 	at org.apache.lucene.store.VerifyingLockFactory$CheckedLock.obtain(VerifyingLockFactory.java:65)
> [LockStressTest1] 	at org.apache.lucene.store.Lock.obtain(Lock.java:77)
> [LockStressTest1] 	at org.apache.lucene.store.LockStressTest.main(LockStressTest.java:114)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message