From: Roger H. <rog...@gm...> - 2025-04-12 17:14:51
|
I use an SSD to initially save my images and then daily I move those images to spinning disks. Without doing that any slight issue with the disk will cause dropouts. An error on the disk will cause a 3-30second blip depending on the what the disks default timeout is. this is a sample of smartctl output: smartctl --xall /dev/sda | grep -iE 'sector|UNC' Sector Sizes: 512 bytes logical, 4096 bytes physical 5 Reallocated_Sector_Ct PO--CK 200 200 140 - 0 197 Current_Pending_Sector -O--CK 200 200 000 - 0 198 Offline_Uncorrectable ----CK 200 200 000 - 0 SMART Log Directory Version 1 [multi-sector log support] SMART Extended Comprehensive Error Log Version: 1 (6 sectors) COUNT = Count (was: Sector Count) Register LL = LBA Low (was: Sector Number) Register ] 40 -- 51 00 00 00 00 bc 9c 57 f8 40 00 Error: UNC at LBA = 0xbc9c57f8 = 3164362744 40 -- 51 00 00 00 00 55 57 f0 88 40 00 Error: UNC at LBA = 0x5557f088 = 1431826568 40 -- 51 00 00 00 01 36 58 20 70 40 00 Error: UNC at LBA = 0x136582070 = 5206712432 40 -- 51 00 00 00 00 47 86 ce 78 40 00 Error: UNC at LBA = 0x4786ce78 = 1200017016 40 -- 51 00 00 00 01 2b e1 e0 00 40 00 Error: UNC at LBA = 0x12be1e000 = 5031190528 40 -- 51 00 00 00 00 87 62 10 48 40 00 Error: UNC at LBA = 0x87621048 = 2271350856 SMART Extended Self-test Log Version: 1 (1 sectors) The realllocated/pending counts rising will cause a several second blip, and the UNC errors will cause blips. I have a cron job that saves a log for each disk daily so I can rule out a disk issue causing a blip. On Sat, Apr 12, 2025 at 11:05 AM Barry Martin <bar...@gm...> wrote: > > > Hi JMB! > > > > Try using 'top' to monitor the system load. Maybe 'disk' writes (to > > the NAS) are piling up. Maybe some background process is consuming > > excessive CPU? Did it start after a recent 'sudo aptitude safe-update'? > > Will try your suggestions -- right now not sure how to correlate (right > word?) the time of the skip with top's activity reporting but will > experiment and learn! Most Motion recordings are fine (no skip/glitch) > -- I did forget to mention that originally. Skip/glitch problem has been > occurred for some time, so can't blame a specific upgrade. > > Will report back! > > Barry > > > > > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user |