-
Notifications
You must be signed in to change notification settings - Fork 275
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
cli模式下,已经删除的文件句柄不释放,导致磁盘空间降不下来 #218
Comments
问题收到 |
@yyz26371945 在常驻 cli 模式下 1.8.4 版本,如果日志文件被删除了,再有新的日志写入的时候会自动释放旧的句柄,然后重新创建文件并写入日志 1.8.4 之前的版本,如果日志文件被删除,不会自动释放旧的句柄,新的日志也无法写入,通过重启 php-cli 进程可以释放旧的句柄并创建新的日志文件 |
这个问题还是存在, 使用hyperf框架时, 删除了文件, 句柄不释放 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cli模式下,已经删除的文件句柄不释放,导致磁盘空间降不下来,如下图:

The text was updated successfully, but these errors were encountered: