rpk binary runs very slow/delayed when not run as sudo #27442
Replies: 7 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
|
same, installend on wsl in windows 11, installation in .local/bin/, installed following the instructions at https://www.redpanda.com/university/getting-started-with-redpanda |
Beta Was this translation helpful? Give feedback.
-
|
Hey @Linch1 / @nickchomey I don't have access to a windows box. Would you mind running it under strace and providing the logs? That should help us see where rpk is spending its time. |
Beta Was this translation helpful? Give feedback.
-
|
@dotnwat sure, this is the file |
Beta Was this translation helpful? Give feedback.
-
|
Oh sorry can you run with timestamps so we get a better idea of wehre the time is being spent. You can use the |
Beta Was this translation helpful? Give feedback.
-
|
rpk.strace.txt Here's two - one when i just ran not sure why the 2nd is so much bigger. Hope this helps |
Beta Was this translation helpful? Give feedback.
-
|
interesting. @r-vasquez do you have access to a Windows box or happen to have any ideas about why the non-sudo invocation would be slow? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I just installed rpk with the recommended instructions for ubuntu
When I run
rpk --help, it takes 20+ seconds to show anything. when i runsudo rpk --helpit is instant. Why might this be?It is installed at
/usr/bin/rpkand I dont have to use sudo for other binaries that are there. If I move the binary to my home directory, same thing.Code_6mIRkeK1yZ.mp4
Beta Was this translation helpful? Give feedback.
All reactions