Page 1 of 1

Low end hardware just for watching at cameras

Posted: Thu Jan 02, 2020 7:46 am
by fulvioth
Hi all!
i recently found an old Samsung netbook and i thought i could use it as a fixed monitor hanged to the wall.
So i installed lubuntu 19.04 from scratch and used Firefox to connect to my zm web interface.
my already existant zm installation works well in my lan/wan/zmninja and video plays smooth.
What happens with my netbook is that often when i click on a camera Firefox starts using disk until it litterally freezes my netbook and the only chance i have is to power it down.
Other times it show the streaming video smoothy but as i switch to another camera the problem is likely to happen again. When this happen i can't do anything else with the netbook. zm logs don't show anything wrong but i guess this is normal.
No chances to make Montage work, it hangs my netbook so i guess the problem could be tied to hardware resources… but at least one cam at a time could be good too.
So my question is, did anybody else try something like that and got better result or knows of a possible problem/solution?

this is my netbook:
lubuntu 19.04
Intel atom N450 1.66Ghz
1gb ram
250gb hdd (no ssd)
Connected via wifi

here is my hardware and zm configuration if it could help
viewtopic.php?f=38&t=28845
Happy new year! :)

Re: Low end hardware just for watching at cameras

Posted: Thu Jan 02, 2020 12:47 pm
by bbunge
Lower the cam resolution. Try half of what you have. Will reduce shared memory use of which you do not have much.

Re: Low end hardware just for watching at cameras

Posted: Thu Jan 02, 2020 1:13 pm
by fulvioth
When it does play the streaming video, df -h on my netbook shows a shm use of 4-5%
i thought this was normal since my netbook doesnt run zm it only connects to an existing server.
Maybe i should use zmninja better? i don't know if there's a version for ubuntu

Re: Low end hardware just for watching at cameras

Posted: Thu Jan 02, 2020 4:21 pm
by bbunge
Sounded like you had Zoneminder installed on the netbook. Or rather I did not fully read your post..

Anyway, Here is a firefox fix that may help:

Enter about:config in the address bar

scroll down to
browser.cache.check_doc_frequency 3
change the 3 to a 1

browser.cache.disk.enable True -> False
network.http.max-connections-per-server -> put a value of 100
network.http.max-persistent-connections-per-proxy -> 100 again
network.http.max-persistent-connections-per-server -> 100 again

Re: Low end hardware just for watching at cameras

Posted: Thu Jan 02, 2020 8:37 pm
by fulvioth
This mande a difference! thanks!
now i can watch each camera and it's pretty smooth!
but montage still hangs. i don't know if there's something else i could tweak
this one was not present in Firefox:
network.http.max-connections-per-server -> put a value of 100
i guess it is:
network.http.max-connections 900
and i didn't change it