yify-pop / yify-pop

Inspired by Popcorn Time, a node web server to stream torrents from YIFY. Built using Geddy and the peerflix library.
323 stars 78 forks source link

Server down in every 90 minutes #128

Open chinabala opened 9 years ago

chinabala commented 9 years ago

I've purchase a server and let yify-pop running for around 10 users. For some reason, the server's down in every 90 mins and I have to force reboot the server to get it back alive. (see attached img for reference below) 2015-08-02 12 01 48

I love this project and want to keep it going. If you need to access the server to investigate please msg me. Lots need to improve and the admin panel...

ejb1123 commented 9 years ago

Can you supply any more details?

G-Ray commented 9 years ago

Maybe your server is running out of memory when there is too many streams

chinabala commented 9 years ago

11224464_10152980561672036_1008882808681095493_n 11800305_10152980575242036_5490465288556908672_n

I guess it cause the cpu&ram running too high, that require a force reboot.

This is how I monitor it: 1) I run forever start /usr/local/bin/geddy -g /var/www/yify-pop/ on Ubutu 15.04 2) Invite 10 users coming in 3) They checking and clicking around _noticed that when they click on a movie, my upload rate goes really high (100mb network out) *_tv shows do downloaded but doesn't play at all 4) After they messing click around for choosing a movie or wait too long so go for another movie The server got HOT.... like two img attached above. And end of story... go reboot.

G-Ray commented 9 years ago

Try to limit simultaneous users, be sure to kill processes once the videos has been watched, and use a swapfile

chinabala commented 9 years ago

hmm... I think RAM has a critical management issue for multiple users. Are we using RAM to buffer torrent streams? Or if we can use hard drive instead... Clean hard drive temp files is easier even manually clean it.

ejb1123 commented 8 years ago

You will need a ton of ram to run multiple streams, because of peerflix.