-
Notifications
You must be signed in to change notification settings - Fork 97
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
cpu reachs 100% #5
Comments
Thats perfectly legit if you hammer sshttp with a lot of packets like in media streaming. |
Thanks, i understand. I was suspecting what you said. So, my raspberry 2 has 4 cores. About the "-n" switch , where do i put it ? maybe at the end of the following line on /etc/init.d/sshttp ? DAEMON_ARGS="-S $SSH_PORT -H $HTTP_PORT -L $LISTEN_PORT -U $USER -R $CHROOT -n 4" Reading your readme.md: "Unless -n 1 is used as switch, sshttpd binds one thread per CPU core, to better exploit the hardware if running on heavily used web servers", i understand that the program actually works with 4 cores if i don't specify the "-n" switch... thank |
Correct. "-n 1" forces single core, even when multiple cores are detected. Omitting -n should start |
Hi !
I'm experiencing 100% usage of cpu by sshttp process (debian7 - kernel 4.1.16-v7+ armv7l raspberry pi2 900mhz cpu). It happens when i stream media over https (sshttp routing).
How can i debug it or increment the type of logging ?
Thanks.
Sergio.
The text was updated successfully, but these errors were encountered: