Open ksandrmatveyev opened 4 years ago
Seems that the old version of win32-service gem is installed alongside with a new version:
PS C:\temp> fluent-gem list | findstr win32-service
win32-service (2.1.5, 0.8.10)
PS C:\temp> fluent-gem list -i win32-service -v 0.8.10
true
I guess this happens because of https://github.com/fluent/fluentd/blob/237b27625f99ad7c0d67d424180fb2afa73ba4fb/fluentd.gemspec#L35
I'm not sure if this a reason of another issue that causes 5 ruby processes instead of 3 in basic scenario with Windows service + default 1 worker.
Steps to reproduce:
Accepted behavior: 3 ruby processes Current behavior: 5 ruby processes
@cosmo0920 , @repeatedly
@cosmo0920 Did you see this problem before? I assume the problem is previous worker exists and supervisor creates new worker.
I'm investigating on it.
I'd checked this but I couldn't reproduce this issue...
Thanks for the confirmation. So process shutdown failed unexpectedly and it causes this double loading. Hmm...
Same issue for me. And this also seems to break the installer msi where it doesn't fully register/unregister the service during install or uninstall.
Hi, affected version: td-agent 3.7.0 for Windows warning if you try to register/un-register Windows service:
Tested OS: Windows Server 2016 td-agent version, that is going to be updated: 3.5.0
Is this something that should be handled?