Hi all, just want to give my help to this community.
The AXIS 2100 Low Frame Rate Problem
I've experienced the low frame rate problem with the Axis 2100 and tryed to fix it wasting hours. I''ve noticed that the image quality on the Camera Own Settings was Very Low (it means 250KB per frame) so just try to put it to Low (25KB per frame).
So I went from the 2-3fps to a more likely 12.5fps at 640x480 using this path /axis-cgi/mjpg/video.cgi?resolution=640x480.
My problem
I'm going to set up a system like this:
3 Axis 205,
1 Axis 206M,
1 Axis 2100,
1 Axis 211,
1 Axis 2110
Sometimes the power line goes off but the server is on a UPS. What happens when the power comes back is that ZM is not able to get images anymore (This with an Axis 2100) unless you restart it. HELP
Fabio Orsini
Axis Cameras
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
One thing to be aware of is that if the capture daemons restart frequently (as they will if the remote camera is inaccessible) then the controller daemon will gradually expand the intervals between retries up to a maximum of 15 minutes (I think), to prevent excessive load caused by continuously restarting processes. Thus if you have power go off for a length of time, when it comes back on to the cameras it may be up to 15 minutes before the next scheduled restart attempt.
I think I should make this configurable though.
Phil
I think I should make this configurable though.
Phil
setup on Axis 206w
Ok, after alot of trial and error and tons of help from Phil and everyone and everything posted in the forum i finally have my setup working, i will try to fine tune it before we set this up out in the field.
To make it easier on myself i made a directory in /var/log called zoneminder and have all the logging being written there.
This is being built for my old Landlady, someone keeps breaking into her house, she has setup a alarm system and x10 camera but basically they keep getting disconnected and she has no evidence of anything happening, stuff just stops working every few days.
I am streaming this offsite, smile shitheads, your on candid camera! Can't wait to bust some loser. This will be setup behind a Linux Desktop, yes i am migrating her off of windows and setup zandros and a little iptables magic to get it off her network and over to mine.
There were so many little things i found all over the forum that helped me out, increasing memory, setting up the shared memory segment. paths and other setting but nothing where i found it all on one page so after much babbling here it goes.
Camera Axis 206w
Mandrake linux 9.2 <--this will have to get updated very soon, sucks to have to do it all over again.
## finding shared memory segment ##
[root@superbox zoneminder]# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x0052e2c1 0 postgres 600 1466368 3
0x7a6d2001 65537 apache 700 36864508 0
to test if that is correct you can run /etc/init.d/zm stop
then run it again and you will see it missing now
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x0052e2c1 0 postgres 600 1466368 3
##/ finding shared memory /##
## changing shared memory ID ##
In the one log i had this
==> /var/log/zoneminder/zmwatch.log <==
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
from inside of Options you can change the segment ID
on the System screen
##/ changing shared memory ID /##
## Changing size of shared memory ##
I had this in my logs from several process's
Feb 7 19:53:20 superbox zmc_m1[26853]: INF [Debug Level = 0, Debug Log = <none>]
Feb 7 19:53:20 superbox zmc_m1[26853]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:20 superbox zmc_m1[26855]: INF [Debug Level = 0, Debug Log = <none>]
Feb 7 19:53:20 superbox zmc_m1[26855]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:25 superbox zmc_m1[26865]: INF [Debug Level = 0, Debug Log = <none>]
Feb 7 19:53:25 superbox zmc_m1[26865]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:26 superbox zmu[26867]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:27 superbox zms[26871]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:34 superbox zmu[26873]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:35 superbox zmc_m1[26877]: INF [Debug Level = 0, Debug Log = <none>]
Feb 7 19:53:35 superbox zmc_m1[26877]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:35 superbox zms[26879]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:55 superbox zmc_m1[26881]: INF [Debug Level = 0, Debug Log = <none>]
*Check memory size*
[root@superbox zoneminder]# cat /proc/sys/kernel/shmmax
33554432
You have new mail in /var/spool/mail/tek
[root@superbox zoneminder]# cat /proc/sys/kernel/shmall
2097152
* Increase memory size*
[root@superbox zoneminder]# echo "134217728" > /proc/sys/kernel/shmmax
You have new mail in /var/spool/mail/tek
[root@superbox zoneminder]# cat /proc/sys/kernel/shmmax
134217728
[root@superbox zoneminder]# echo "134217728" > /proc/sys/kernel/shmall
##/ Changing size of shared memory /##
## Camera Settings ##
Cameras IP=192.168.0.208
Path=/axis-cgi/mjpg/video.cgi?
this pulls faster framerates of around 10fms
or
Path=/axis-cgi/jpg/image.cgi?
pulls off the camera at around 4fps
##/ Camera Settings /##
I hope this helps out someone, most likely it will be me in a few weeks when this box gets upgraded, i break everything and cant remember what worked and how i did it.
And Phil, Thanks for building what I see as a better mousetrap!!! Hopefully we catch our Rat.
Tnt
To make it easier on myself i made a directory in /var/log called zoneminder and have all the logging being written there.
This is being built for my old Landlady, someone keeps breaking into her house, she has setup a alarm system and x10 camera but basically they keep getting disconnected and she has no evidence of anything happening, stuff just stops working every few days.
I am streaming this offsite, smile shitheads, your on candid camera! Can't wait to bust some loser. This will be setup behind a Linux Desktop, yes i am migrating her off of windows and setup zandros and a little iptables magic to get it off her network and over to mine.
There were so many little things i found all over the forum that helped me out, increasing memory, setting up the shared memory segment. paths and other setting but nothing where i found it all on one page so after much babbling here it goes.
Camera Axis 206w
Mandrake linux 9.2 <--this will have to get updated very soon, sucks to have to do it all over again.
## finding shared memory segment ##
[root@superbox zoneminder]# ipcs
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x0052e2c1 0 postgres 600 1466368 3
0x7a6d2001 65537 apache 700 36864508 0
to test if that is correct you can run /etc/init.d/zm stop
then run it again and you will see it missing now
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x0052e2c1 0 postgres 600 1466368 3
##/ finding shared memory /##
## changing shared memory ID ##
In the one log i had this
==> /var/log/zoneminder/zmwatch.log <==
Can't get shared memory id '2053971969': No such file or directory
Can't get shared memory id '2053971969': No such file or directory
from inside of Options you can change the segment ID
on the System screen
##/ changing shared memory ID /##
## Changing size of shared memory ##
I had this in my logs from several process's
Feb 7 19:53:20 superbox zmc_m1[26853]: INF [Debug Level = 0, Debug Log = <none>]
Feb 7 19:53:20 superbox zmc_m1[26853]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:20 superbox zmc_m1[26855]: INF [Debug Level = 0, Debug Log = <none>]
Feb 7 19:53:20 superbox zmc_m1[26855]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:25 superbox zmc_m1[26865]: INF [Debug Level = 0, Debug Log = <none>]
Feb 7 19:53:25 superbox zmc_m1[26865]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:26 superbox zmu[26867]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:27 superbox zms[26871]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:34 superbox zmu[26873]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:35 superbox zmc_m1[26877]: INF [Debug Level = 0, Debug Log = <none>]
Feb 7 19:53:35 superbox zmc_m1[26877]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:35 superbox zms[26879]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
Feb 7 19:53:55 superbox zmc_m1[26881]: INF [Debug Level = 0, Debug Log = <none>]
*Check memory size*
[root@superbox zoneminder]# cat /proc/sys/kernel/shmmax
33554432
You have new mail in /var/spool/mail/tek
[root@superbox zoneminder]# cat /proc/sys/kernel/shmall
2097152
* Increase memory size*
[root@superbox zoneminder]# echo "134217728" > /proc/sys/kernel/shmmax
You have new mail in /var/spool/mail/tek
[root@superbox zoneminder]# cat /proc/sys/kernel/shmmax
134217728
[root@superbox zoneminder]# echo "134217728" > /proc/sys/kernel/shmall
##/ Changing size of shared memory /##
## Camera Settings ##
Cameras IP=192.168.0.208
Path=/axis-cgi/mjpg/video.cgi?
this pulls faster framerates of around 10fms
or
Path=/axis-cgi/jpg/image.cgi?
pulls off the camera at around 4fps
##/ Camera Settings /##
I hope this helps out someone, most likely it will be me in a few weeks when this box gets upgraded, i break everything and cant remember what worked and how i did it.
And Phil, Thanks for building what I see as a better mousetrap!!! Hopefully we catch our Rat.
Tnt