out of memory - Ubuntu 7.10 server - ZM 1.23.2
Still the same memory problem = every motion detection = every record, my memory is growing up ca. 10 MB until it is full. Full 2GB!
Are my ZM-Settings ok (for this resolution 420x288...), here my screenshots:
http://www.you2.ch/mem.gif
http://www.you2.ch/zm_modect.gif
http://www.you2.ch/zm_option.gif
haus: with the command htop you can see now swap, but with the command free or top you can see the swap is beginning to grow up. Maybe I will beginn to check the ZM-Settings, can you give me your settings in ZM?
Are my ZM-Settings ok (for this resolution 420x288...), here my screenshots:
http://www.you2.ch/mem.gif
http://www.you2.ch/zm_modect.gif
http://www.you2.ch/zm_option.gif
haus: with the command htop you can see now swap, but with the command free or top you can see the swap is beginning to grow up. Maybe I will beginn to check the ZM-Settings, can you give me your settings in ZM?
hello,
I just had a look at your screenshots of your memory usage. Look at your screenshot where the output of the "free" command is displayed. You have an amount of 2067268 Bytes memory. From this memory 1742812 Bytes are used as cache. For the output looks just normal, because linux in general uses the unused memory as disk cache (in your case about 84% is used as cache), so the RAM is always close to full. For more informations you might have a look at http://gentoo-wiki.com/FAQ_Linux_Memory_Management
hope this helps
I just had a look at your screenshots of your memory usage. Look at your screenshot where the output of the "free" command is displayed. You have an amount of 2067268 Bytes memory. From this memory 1742812 Bytes are used as cache. For the output looks just normal, because linux in general uses the unused memory as disk cache (in your case about 84% is used as cache), so the RAM is always close to full. For more informations you might have a look at http://gentoo-wiki.com/FAQ_Linux_Memory_Management
hope this helps
Monex, thanks - interesting read.
Here's my "free":
Helvetica, you said "After that I have a very slow system." Can you be more specific about how your system slows down? With a load average of 0.05, your system shouldn't be slow. What kind of processor do you have?
Here's my "free":
Code: Select all
xxx@dvr:~$ free
total used free shared buffers cached
Mem: 1555216 1467176 88040 0 121480 585620
-/+ buffers/cache: 760076 795140
Swap: 4554388 88 4554300
xxx@dvr:~$
As others have said, memory management in Linux can seem complex to the uninitiated. There are some decent articles on it though.
An oversimplified formula you can use is this:
total - cached = free memory
So by running `free`, you take the amounts from columns 'total' minus 'cached' and that's what's free on your system.
An oversimplified formula you can use is this:
total - cached = free memory
So by running `free`, you take the amounts from columns 'total' minus 'cached' and that's what's free on your system.
same problem...
hi all,
I have the same problem in gentoo with the following configuration:
4cameras 640x480 rgb24, 10fps
2gb ram run out after few hours, than it stays constant at 50MB free memory, but if somebody is watching the cameras (with montage feature) from a remote firefoz, the system easily crashes
I have the same problem in gentoo with the following configuration:
4cameras 640x480 rgb24, 10fps
2gb ram run out after few hours, than it stays constant at 50MB free memory, but if somebody is watching the cameras (with montage feature) from a remote firefoz, the system easily crashes
Re: same problem...
That is the desired memory behavior on a linux system, and is not caused by zoneminder!pluttero wrote:hi all,
I have the same problem in gentoo with the following configuration:
4cameras 640x480 rgb24, 10fps
2gb ram run out after few hours, than it stays constant at 50MB free memory,
That is an other problem, which should not be caused by the memory usage.pluttero wrote:but if somebody is watching the cameras (with montage feature) from a remote firefoz, the system easily crashes
Maybe it's a hardware problem, you can try to check your memory with memchek as a beginning.
hope this helps.