Skip to content

Log file spammed and filling disk #607

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

Closed
sterling opened this issue Mar 26, 2017 · 1 comment
Closed

Log file spammed and filling disk #607

sterling opened this issue Mar 26, 2017 · 1 comment

Comments

@sterling
Copy link

"OpenSSH for Windows" version
0.0.10.0

OS details
Windows 10 Pro

What is failing
sshd.log file is being spammed and growing very quickly. The log file easily grew to 75GB before I realized what was filling up my disk. I can successfully ssh into my Windows machine, which is why I never suspected any issues with OpenSSH until I found the massive log file.

Expected output
No continual spam in logs

Actual output
Turning on the sshd service for about 1 second resulted in a 16MB file with the same errors over and over again. Here is the beginning of the file (full log attached):

7744 13:03:17 069 debug1: socket:436, socktype:1, io:000002699D2CDCB0, fd:3 
7744 13:03:17 069 debug1: Bind to port 22 on ::.
7744 13:03:17 070 Server listening on :: port 22.
7744 13:03:17 070 debug1: socket:536, socktype:1, io:000002699D2A18C0, fd:4 
7744 13:03:17 070 debug1: Bind to port 22 on 0.0.0.0.
7744 13:03:17 071 Server listening on 0.0.0.0 port 22.
7744 13:03:17 071 error: Couldn't create pid file "./sshd.pid": Permission denied
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
7744 13:03:17 071 debug1: acceptEx - AcceptEx() ERROR:22, io:000002699D2CDCB0
7744 13:03:17 071 debug1: accept - ERROR: async io completed with error: -9978, io:000002699D2CDCB0
7744 13:03:17 071 error: accept: Unknown error
@manojampalam
Copy link
Contributor

We are tracking a similar issue here - #606
Please post your findings on that thread
dup #606

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

2 participants