在哪种情况下,系统进程(PID 4)会保留打开的文件句柄? [英] Under which circumstances does the System process (PID 4) retain an open file handle?

查看:146
本文介绍了在哪种情况下,系统进程(PID 4)会保留打开的文件句柄?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows服务器上运行的应用程序使用了Jet/Access数据库.由于某种原因,数据库文件每两周就会被系统进程锁定(PID 4,似乎是固定的)

My application running on a Windows server makes use of a Jet/Access database. For some reasons around every two weeks that database file gets locked by the System process (PID 4, seems to be fixed)

经过一番谷歌搜索,我发现其他一些用户的文件被该特殊过程锁定,但是文件不同(当然).

After some googling I found some other users having their files locked by that special process, but different files (of course).

  • 系统进程保持打开文件句柄的一般原因是什么?
  • 我的应用是否是导致这种锁定情况的原因?
  • 系统进程是否隐式打开了所有句柄?我可以想象,在进程崩溃后,该句柄可能仍处于打开状态,而系统进程以某种方式需要该句柄的维护.
  • 我可以在应用程序中做一些事情来防止它发生吗?

推荐答案

在我看来,这像是一个带有泄漏句柄的驱动程序级问题.

This sounds to me like a driver-level issue with a leaky handle.

如果您正在运行防病毒软件包,请尝试升级,禁用(临时!)或切换到其他品牌.

If you're running an anti-virus package try upgrading, disabling (temporarily!) or switching to a different brand.

这篇关于在哪种情况下,系统进程(PID 4)会保留打开的文件句柄?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆