-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disk usage is not within je.maxDisk or je.freeDisk limits and write operations are prohibited #340
Comments
@tchnlgst you can set additional configuration values for the Berkley DB here:
The docs for the settings are here if you want to take a look over what would be best for your use case: |
Hi, we have the same error but we don't have the source version so we can't change Berkeley DB this way. There's any other way to solve ht problem? |
Note that running out of space will corrupt any Berkeley DB instance, which is why the defaults assume there is at least 5GB of space available. I would not recommend running a crawl with less than 5GB of space available. That said, if you really want to do this without code changes, you could try editing the
If you then try to start-up a crawl, I think it picks up the options from this file. Note that I've only done this when resuming from a checkpoint, but I think it may work when starting afresh. |
Hi! One question related to this issue (I'm using the default configuration, and I guess that the Berkeley DB you're talking about is some specific configuration I don't have, so the error I got it is a little bit different). When this issue arises because you ran out of space, is it expected to remove the log files content? My file I'm using this version (last commit from master). When I open the file in the web interface, the exact message I get is:
Another issue I'm observing when this happens is that when I try to terminate my jobs after this issue, the status seems to be hanged on "finishing" status and doesn't finish properly. Indeed, it seems that when this issue happens, in the log I can see that the status is changed automatically to "finishing", but it wasn't reflected in the web interface until I clicked "terminate". |
I'm seeing errors related to disk usage and configuration, namely "Disk usage is not within je.maxDisk or je.freeDisk limits and write operations are prohibited".
Complete log entry:
SEVERE Failed to start bean 'bdb'; nested exception is java.lang.RuntimeException: com.sleepycat.je.DiskLimitException: (JE 7.5.11) Disk usage is not within je.maxDisk or je.freeDisk limits and write operations are prohibited: maxDiskLimit=0 freeDiskLimit=5,368,709,120 adjustedMaxDiskLimit=0 maxDiskOverage=0 freeDiskShortage=10,711,040 diskFreeSpace=5,357,998,080 availableLogSize=-10,711,040 totalLogSize=1,266 activeLogSize=1,266 reservedLogSize=0 protectedLogSize=0 protectedLogSizeMap={}
Where is je.maxDisk adjusted?
The text was updated successfully, but these errors were encountered: