0-5 - Cache file size exceeded
0-5 - Cache file size exceeded
Other modules reuse the file-based caching mechanism of the Common layer (currently the metadata module), and the file caching mechanism of the Common layer has “detected” that the file size has exceeded the limit.
Possible Causes
- The user has improperly configured the Java System Property (configured with -D)
dubbo.mapping.cache.maxFileSize
ordubbo.meta.cache.maxFileSize
. - The cache file has been corrupted due to a file system or disk error.
dubbo.mapping.cache.maxFileSize
anddubbo.meta.cache.maxFileSize
do not have explicitly stated default values, while the maximum file size default value found based on the logic oforg.apache.dubbo.common.cache.FileCacheStore.LimitedLengthBufferedWriter
is:Long.MAX_VALUE
(263-1) .
Troubleshooting and Resolution Steps
- Try reconfiguring the above Java System Property (configured with -D).
- Delete the cache folder and restart Provider and Consumer (the cache folder is generally located in
~/.dubbo
. Ifdubbo.meta.cache.filePath
anddubbo.mapping.cache.filePath
are configured, then the path will be that). - If these System Properties are indeed not configured, please issue a problem on the GitHub Issue Tracker.
Feedback
Was this page helpful?
Yes No
Last modified September 30, 2024: Update & Translate Overview Docs (#3040) (d37ebceaea7)