brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neykov <...@git.apache.org>
Subject [GitHub] brooklyn-server issue #449: Increase persistence timeout
Date Tue, 22 Nov 2016 16:55:02 GMT
Github user neykov commented on the issue:

    https://github.com/apache/brooklyn-server/pull/449
  
    Did some more tests. Works fine on Amazon. Works fine in KVM. Works fine in Virtualbox
on an ext4 fs backed by a ramdisk.
    When tracing with `strace` the blockage looks like:
    ```
    [pid  6215] 16:16:11.362069 <... close resumed> ) = 0 <0.000125>
    [pid  6214] 16:16:11.362093 <... close resumed> ) = 0 <0.000139>
    [pid  6215] 16:16:11.362385 rename("/tmp/FileWriteSimpleTest$FileWriterTask.415358743301600237.txt",
"/tmp/FileWriteSimpleTest$FileWriterTask.415358743301600237.txt.renamed" <unfinished ...>
    [pid  6215] 16:16:11.362454 <... rename resumed> ) = 0 <0.000060>
    [pid  6215] 16:16:11.362520 unlink("/tmp/FileWriteSimpleTest$FileWriterTask.415358743301600237.txt.renamed"
<unfinished ...>
    [pid  6214] 16:16:11.362579 rename("/tmp/FileWriteSimpleTest$FileWriterTask.4885590662355799208.txt",
"/tmp/FileWriteSimpleTest$FileWriterTask.4885590662355799208.txt.renamed") = 0 <0.000015>
    [pid  6214] 16:16:11.362622 unlink("/tmp/FileWriteSimpleTest$FileWriterTask.4885590662355799208.txt.renamed"
<unfinished ...>
    [pid  6211] 16:16:11.363153 mprotect(0x7f45dc03e000, 4096, PROT_READ|PROT_WRITE <unfinished
...>
    [pid  6215] 16:16:11.363172 <... unlink resumed> ) = 0 <0.000646>
    [pid  6214] 16:16:42.128922 <... unlink resumed> ) = 0 <30.766277>
    ```
    
    It means that the `rename` call is stuck in kernel land for 30 seconds!. That's confirmed
by trying to `CTRL-C` the application which doesn't do anything.
    
    Given that I'm not able to reproduce in another environment I'll attribute it to Virtualbox
bugs.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message