Cachedb is growing beyond the expected size and filling up the filesystem in environments where there are a large amount of remote AdminServers with many resources being managed.
For example:
30 remote AdminServers with around 300 databases and AppServers.
Java stack trace from
com.orientechnologies.common.log.OLogManager reads:
[STDERR] SEVERE: Error during WAL background flush
[STDERR] java.io.IOException: No space left on device
[STDERR] at java.io.RandomAccessFile.writeBytes0(Native Method)
[STDERR] at java.io.RandomAccessFile.writeBytes(RandomAccessFile.java:520)
[STDERR] at java.io.RandomAccessFile.write(RandomAccessFile.java:537)
[STDERR] at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog$LogSegment$FlushTask.flushPage(ODiskWriteAheadLog.java:232)
[STDERR] at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog$LogSegment$FlushTask.commit(ODiskWriteAheadLog.java:196)
[STDERR] at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog$LogSegment$FlushTask.run(ODiskWriteAheadLog.java:129)
[STDERR] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[STDERR] at java.util.concurrent.FutureTask.run(FutureTask.java:262)
[STDERR] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
[STDERR] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
[STDERR] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[STDERR] at java.lang.Thread.run(Thread.java:744)