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

Corkscrew eats 100% of CPU #7

Open
eitijupaenoithoowohd opened this issue May 29, 2019 · 4 comments
Open

Corkscrew eats 100% of CPU #7

eitijupaenoithoowohd opened this issue May 29, 2019 · 4 comments

Comments

@eitijupaenoithoowohd
Copy link

eitijupaenoithoowohd commented May 29, 2019

Hello,
thank you for your time for Corkscrew development. Very useful tool.
Seems, that I found a small bug.
Corkscrew eats 100% of CPU when ssh server unavailable by network problems. There is happens when I receive similar error message from proxy server:
Gateway Timeout
ssh_exchange_identification: Connection closed by remote host

Seems that corkscrew trys reconnecting without any pause, causing proxy flood.

$ corkscrew --help
corkscrew 2.0 ([email protected])
From official repositoies of Ubuntu 18.04

@eitijupaenoithoowohd
Copy link
Author

eitijupaenoithoowohd commented May 29, 2019

I've checked the least version from master. Problem the same.

@zhijianli88
Copy link

same problem

top - 13:14:01 up 13 days, 20:19,  4 users,  load average: 5.15, 4.71, 4.14
Tasks: 482 total,   5 running, 377 sleeping,   0 stopped,   0 zombie
%Cpu(s): 24.4 us, 31.7 sy,  0.0 ni, 41.4 id,  0.1 wa,  0.0 hi,  2.4 si,  0.0 st
KiB Mem : 16081432 total,  1307256 free, 12854056 used,  1920120 buff/cache
KiB Swap: 15624188 total, 12304392 free,  3319796 used.  1779992 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                                                                                                                               
 6044 lizj      20   0    4508    268    204 R 100.0  0.0   1392:33 corkscrew                                                                                                                                                                                                             
18973 lizj      20   0    4508     20      0 R 100.0  0.0  10033:33 corkscrew                                                                                                                                                                                                             
 4309 lizj      20   0    4508    212    148 R 100.0  0.0   1428:33 corkscrew             

@tuto193
Copy link

tuto193 commented Oct 19, 2021

Check PR!14. They did mention your problem, so it might already be fixed there.

@akhiljalagam
Copy link

Occasionally, Corkscrew uses 100% of my CPU capacity. Can someone help resolve this issue as it's causing significant damage to my PC?

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

4 participants