Comments (6)
什么环境下出现的呢? ide, jar包(java -jar)还是什么?
from phone-number-geo.
linux环境下,重新发布下就OK了,但是现在又出现这种情况
from phone-number-geo.
请问有解决办法吗,今天又出现了
from phone-number-geo.
我google了一下报错信息, 对于Stale file handle
的解释可以参考如下解释:
When the directory is deleted, the inode for that directory (and the inodes for its contents) are recycled. The pointer your shell has to that directory's inode (and its contents's inodes) are now no longer valid. When the directory is restored from backup, the old inodes are not (necessarily) reused; the directory and its contents are stored on random inodes. The only thing that stays the same is that the parent directory reuses the same name for the restored directory (because you told it to).
Now if you attempt to access the contents of the directory that your original shell is still pointing to, it communicates that request to the file system as a request for the original inode, which has since been recycled (and may even be in use for something entirely different now). So you get a stale file handle message because you asked for some nonexistent data.
When you perform a cd operation, the shell reevaluates the inode location of whatever destination you give it. Now that your shell knows the new inode for the directory (and the new inodes for its contents), future requests for its contents will be valid.
出处: What does 'stale file handle' in Linux mean?
猜测可能的原因: jar包(或者其父目录)被删除, 或者删除了又恢复了(inode已改变, 参考上文引用); 或者重新发版的过程是先覆盖jar包再重启服务;
另外很多帖子提到了nfs, 不知道你是不是把jar放在nfs上的, 如果是的话, 可以尝试更改存储位置.
from phone-number-geo.
谢谢回复,因为jar包里存在log日志文件,建议剔除噢
from phone-number-geo.
是说我传到maven仓库的jar包里有日志文件吗, 没有啊
from phone-number-geo.
Related Issues (13)
- 同一手机号, 使用不同算法会导致查询结果不一致 HOT 1
- 使用jdk1.8集成最新代码查询时报错 HOT 1
- 河_南部分手机号归属地无法查询,调用其他API接口可以
- 升级数据版本至202302
- [建议] 建议把运营商中文名称也写上 HOT 1
- 字符集问题
- 线程安全 HOT 1
- 缺少 getter 方法 HOT 3
- 频繁的gc HOT 3
- win10下报错:content format error HOT 3
- 急急急!!!! 异常 192 195 开头号码 无法识别报异常 HOT 2
- 更换 phone.dat HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phone-number-geo.