Skip to content
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

使用最新版本1.2.13的日志文件转档功能,会出现文件锁死锁的现象。 #245

Open
zheng-97 opened this issue Dec 16, 2023 · 0 comments

Comments

@zheng-97
Copy link

zlog.conf配置使用配置文件作为锁文件:
rotate lock file = self
default format = "%d(%F %T.%l) %-6V (%c:%F:%L) - %m%n"

出现问题的log: cat zlog.error.log
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads
05-08 07:30:05 WARN (12400:rotater.c:467) pthread_mutex_trylock fail, as lock_mutex is locked by other threads
05-08 07:30:05 WARN (12400:rotater.c:510) zlog_rotater_trylock fail, maybe lock by other process or threads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant