View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003201 | SymmetricDS | Bug | public | 2017-07-14 05:52 | 2018-04-26 20:34 |
Reporter | megarajtm | Assigned To | chenson | ||
Priority | high | ||||
Status | closed | Resolution | unable to reproduce | ||
Product Version | 3.7.33 | ||||
Summary | 0003201: File descriptors are not closed in staging area | ||||
Description | Hi When I copy data from one database to another using symmetric DS, batches are loaded to a file system(Staging area). So once the batches are copied to the target, the batches on the file system gets deleted but however the file descriptors are not closed. This leads to resource leakage and eventually the file system gets full and the creation of new batches fail with the below exception - 5000org.jumpmind.exception.IoException: java.io.IOException: No space left on device (path /usr/sap/ljs/temp/pw6_rt-0000/outgoing/5000/0000000019.create, working dir /usr/sap/ljs) at org.jumpmind.symmetric.io.data.writer.StagingDataWriter.print(StagingDataWriter.java:117) at org.jumpmind.symmetric.io.data.writer.AbstractProtocolDataWriter.println(AbstractProtocolDataWriter.java:252) at org.jumpmind.symmetric.io.data.writer.AbstractProtocolDataWriter.write(AbstractProtocolDataWriter.java:161) at org.jumpmind.symmetric.service.impl.DataExtractorService$MultiBatchStagingWriter.write(DataExtractorService.java:1294) at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64) at org.jumpmind.symmetric.model.ProcessInfoDataWriter.write(ProcessInfoDataWriter.java:65) at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64) at org.jumpmind.symmetric.io.data.writer.TransformWriter.write(TransformWriter.java:204) at org.jumpmind.symmetric.io.data.DataProcessor.forEachDataInTable(DataProcessor.java:200) at org.jumpmind.symmetric.io.data.DataProcessor.forEachTableInBatch(DataProcessor.java:170) at org.jumpmind.symmetric.io.data.DataProcessor.process(DataProcessor.java:116) at org.jumpmind.symmetric.service.impl.DataExtractorService.extractOutgoingBatch(DataExtractorService.java:761) at org.jumpmind.symmetric.service.impl.DataExtractorService.execute(DataExtractorService.java:1124) at org.jumpmind.symmetric.service.impl.NodeCommunicationService$2.run(NodeCommunicationService.java:396) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:807) Caused by: java.io.IOException: No space left on device (path /usr/sap/ljs/temp/pw6_rt-0000/o Regards, Megaraj | ||||
Steps To Reproduce | This issue happens sometimes when there are around 5k records to be copied. | ||||
Tags | No tags attached. | ||||
|
Have you tested with the latest version? Maybe this fixed your issue: https://www.symmetricds.org/issues/view.php?id=3181 I have not heard of other reports of this on 3.7. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-07-14 05:52 | megarajtm | New Issue | |
2017-07-14 11:41 | chenson | Note Added: 0001064 | |
2017-07-14 11:42 | chenson | Note Edited: 0001064 | View Revisions |
2018-04-26 20:34 | chenson | Assigned To | => chenson |
2018-04-26 20:34 | chenson | Status | new => closed |
2018-04-26 20:34 | chenson | Resolution | open => unable to reproduce |