My problem is that after a few days zonminder uses up all the resources and either stops or makes it impossible to run anything else, it takes forever to reboot for example or open any program.
Zoneminder runs with, mint 9, 12 cameras, with only 5 recording, the cpu runs at 80% to 100% or so, and there is only one meg of memory, old asus mother board and amd CPU. I'm waiting for CPU and MB to die to buy something faster.
I would like to A, make it stop using up all the resources after being on for a week, B tell the computer to reboot on its on at a prescribed time?
used up resources
B seems easiest
I have a few linux books and hunt around the web, but still confused as hell by the whole chron command.
You wouldn't have any web page suggestions?
Thanks.
You wouldn't have any web page suggestions?
Thanks.
got it
Couldn't get Kcron to work so hunted around and found gnome-scheduler, installed that.
Then monkeyed around with that until it worked. I'm just figuring out the command line so the learning curve on this stuff is tough right now and thats what my main problem figuring these things out is. I also have no idea whats out there sometimes so your suggestion helped a lot to find the gnome thing.
I'll puzzle out the leak if this doesn't work. I'm grayscale on 8/12 cameras and recording about once a second on 2/5 of the cameras that record. I'm just waiting for the MB to die and a lot of these problems will go away.
Then monkeyed around with that until it worked. I'm just figuring out the command line so the learning curve on this stuff is tough right now and thats what my main problem figuring these things out is. I also have no idea whats out there sometimes so your suggestion helped a lot to find the gnome thing.
I'll puzzle out the leak if this doesn't work. I'm grayscale on 8/12 cameras and recording about once a second on 2/5 of the cameras that record. I'm just waiting for the MB to die and a lot of these problems will go away.
To add the cron;
from root's shell: crontab -e
Add a new line like this;
0 3 * * * reboot
Save and exit.
That will restart at 3 am exactly.
(Alternatively, restart just zoneminder by replacing 'reboot' with "zmpkg.pl restart" )
However, better to fix your problem. ZM isn't a particularly leaky program, i have servers with over a year uptime including zoneminder. Something's going wrong. For diagnostics I recommend munin, it shows pretty graphs for many aspects of your pc. More immediate test tools - top, htop, free, iotop - none particularly user friendly except perhaps htop.
Also posting some basic specs might help us, just in case you are running a 8088 at 4.77mhz and have delusions of power....
from root's shell: crontab -e
Add a new line like this;
0 3 * * * reboot
Save and exit.
That will restart at 3 am exactly.
(Alternatively, restart just zoneminder by replacing 'reboot' with "zmpkg.pl restart" )
However, better to fix your problem. ZM isn't a particularly leaky program, i have servers with over a year uptime including zoneminder. Something's going wrong. For diagnostics I recommend munin, it shows pretty graphs for many aspects of your pc. More immediate test tools - top, htop, free, iotop - none particularly user friendly except perhaps htop.
Also posting some basic specs might help us, just in case you are running a 8088 at 4.77mhz and have delusions of power....