jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1530) TarMK thread logs warning
Date Tue, 18 Mar 2014 14:25:52 GMT

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

Jukka Zitting commented on OAK-1530:
------------------------------------

Is it possible for this to be caused by an on-access virus scanner, or some other external
process that's inspecting the files while they're being used?

> TarMK thread logs warning
> -------------------------
>
>                 Key: OAK-1530
>                 URL: https://issues.apache.org/jira/browse/OAK-1530
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, segmentmk
>    Affects Versions: 0.18
>         Environment: Windows 7, JDK 1.7.0_51 64 Bit
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> From time to time I see warnings from the TarMK flush thread. I'm not sure if this is
caused by my environment. In any case it would be good to at least know why it happens and
then fix or document it.
> {noformat}
> 12.03.2014 10:54:45.752 *WARN* [TarMK flush thread: repository] org.apache.jackrabbit.oak.plugins.segment.file.FileStore
> Failed to flush the TarMK at repository
> java.io.IOException: The process cannot access the file because another process has locked
a portion of the file
>         at java.nio.MappedByteBuffer.force0(Native Method)
>         at java.nio.MappedByteBuffer.force(MappedByteBuffer.java:203)
>         at org.apache.jackrabbit.oak.plugins.segment.file.MappedAccess.flush(MappedAccess.java:73)
>         at org.apache.jackrabbit.oak.plugins.segment.file.TarFile.flush(TarFile.java:181)
>         at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.flush(FileStore.java:225)
>         at org.apache.jackrabbit.oak.plugins.segment.file.FileStore$1.run(FileStore.java:196)
>         at java.lang.Thread.run(Thread.java:744)
> {noformat}



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

Mime
View raw message