-
Notifications
You must be signed in to change notification settings - Fork 36
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 usage recomendations #14
Comments
what processor are you using ? |
1 server 2 server 3rd i see that |
now i see memory problem ,,, try find decision for example each nginx1 process (whole 8) get 1.1 GB memory ... |
i disable keep alive , and all fine with memory , but with cpu is still bad |
What can give advice to reduce the load on the CPU? |
@rounce in a small load - works well |
with all respect, but I don't think it has anything to do with this module. We are using the module on Cortex A9 dual core (ARM) CPU and it is running smoothly even chunking complete feature movies on the fly. This cpu has only a fraction of the performance of the cpu you are using. So most likely you have some other bottleneck somewhere. |
@thevideoxpress it all depends on the load you are probably very little load the, a small number of users, I have for example while watching videos 5,000 active users in the same time (with pseudo streaming work fine) |
In that case you'd better use one (ore more) extra nginx machines as reverse proxy in front of your origin server. In that case all video's will only have to be chunked once, incl m3u8 generation, since any next request of the same file will be served from cache and does not need to go through this module again. |
@rounce i hope you wil do something to reduce cpu utilization, thank you |
config example my
location /hdd81/ {
add_header Cache-Control "private, no-store, no-cache, must-revalidate";
hls;
hls_length 20; # length of fragment (seconds)
hls_mp4_buffer_size 5M;
hls_mp4_max_buffer_size 30M;
root /raid/;
}
very big , 100% cpu usage , 2 Gigabit channal wor on 30% ...
can you please give some recomendations how to reduse cpu utilization ?
may be hls_length 20; set bigger ? 100 for example
The text was updated successfully, but these errors were encountered: