Hi
I have a security cam watched by a computer with Motion. on that computer i use hdparm -S 240 /dev/hdb to stop the harddrive where the pictures go from running when not used (witch is usually 2 days in a row).
Now when motion is detected, the first 3 or 4 pictures are saved, and then there is a pauze for about 5 sec. before the next picture. This has to do with the hard-disk spinning up (I tried without), but I don't understand why not more pictures are held in memory until the disk is ready.
Has anybody ideas how to solve this without having the disk running all days?, or what i should start reading
motion (version 3.2.9)
Debian lenny
Kernel 2.6.26-2-686
hdparm v8.9
PII with 384mb ram
pictures are jpg size 30-70kb
Code:
server:~# free
total used free shared buffers cached
Mem: 386244 381432 4812 0 145952 102416
-/+ buffers/cache: 133064 253180
Swap: 257000 924 256076