Re: [OpenWrt-Devel] mjpg-streamer on Asus WL500gP V2

2010-03-10 Thread Bernhard Loos
Actually this should only matter for dma buffers on kernel side and for userspace not at all. A region of continous virtual memory can consists of physically scattered memory without problems. That's what the page table is for. Bernhard 2010/3/10 Fabrizio Bertocci : > Well, > Im not an exper

Re: [OpenWrt-Devel] mjpg-streamer on Asus WL500gP V2

2010-03-10 Thread Fabrizio Bertocci
Well, Im not an expert of the kernel, but if I remember correctly, when the system runs low in memory, the kernel doesn't necessarily kill the process with higher memory use... and if fragmentation is really the problem, the mjpg-streamer may have very little memory allocated anyway... I've seen th

Re: [OpenWrt-Devel] mjpg-streamer on Asus WL500gP V2

2010-03-10 Thread Kövesdi György
> Although there is still enough free memory, probably the memory is > entirely fragmented and it cannot allocate a large block? What size of block does it need? I think it cannot be larger than one file (~30...80k). I cannot imagine that it cannot be allocated. Or, if it occures, only the mjpg-s

Re: [OpenWrt-Devel] mjpg-streamer on Asus WL500gP V2

2010-03-10 Thread Fabrizio Bertocci
Although there is still enough free memory, probably the memory is entirely fragmented and it cannot allocate a large block? Does this problem occur regularly after about 300k frames? In this case why don't you try to stop and restart mjpg-streamer right before that just to see if the system stays

[OpenWrt-Devel] mjpg-streamer on Asus WL500gP V2

2010-03-10 Thread Kövesdi György
Hi, I tried to use mjpg-streamer and it is working properly - except that after recording ~30 frames (~6 hours recording) the kernel crashes. It kills all processes with a strange "out of memory" message. I printed the memory info about one minute before crash (date, cat /proc/meminfo, and