Здравствуйте, уважаемые!
Вылетает всё чаще и чаще, например, motion.
Xubuntu.
root@7th_odroid:~# uname -a
Linux 7th_odroid 3.0.86 #1 SMP PREEMPT Sat Aug 3 04:35:50 MSK 2013 armv7l armv7l armv7l GNU/Linux
root@7th_odroid:~# cat /var/log/syslog | grep motion
Aug 27 08:50:04 7th_odroid motion: [0] Processing thread 0 - config file /etc/motion/motion.conf
Aug 27 08:50:04 7th_odroid motion: [0] Motion 3.2.12 Started
Aug 27 08:50:04 7th_odroid motion: [0] Created process id file /run/motion/motion.pid. Process ID is 11629
Aug 27 08:50:04 7th_odroid motion: [0] Motion running as daemon process
Aug 27 08:50:04 7th_odroid motion: [0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
Aug 27 08:50:04 7th_odroid motion: [0] Thread 1 is from /etc/motion/motion.conf
Aug 27 08:50:04 7th_odroid motion: [1] Thread 1 started
Aug 27 08:50:04 7th_odroid motion: [1] cap.driver: "uvcvideo"
Aug 27 08:50:04 7th_odroid motion: [1] cap.card: "UVC Camera (046d:0825)"
Aug 27 08:50:04 7th_odroid motion: [1] cap.bus_info: "usb-s5p-ehci-2.1.3"
Aug 27 08:50:04 7th_odroid motion: [1] cap.capabilities=0x04000001
Aug 27 08:50:04 7th_odroid motion: [1] - VIDEO_CAPTURE
Aug 27 08:50:04 7th_odroid motion: [1] - STREAMING
Aug 27 08:50:04 7th_odroid motion: [1] Test palette YUYV (960x544)
Aug 27 08:50:04 7th_odroid motion: [1] Using palette YUYV (960x544) bytesperlines 1920 sizeimage 1044480 colorspace 00000008
Aug 27 08:50:04 7th_odroid motion: [1] found control 0x00980900, "Brightness", range 0,255
Aug 27 08:50:04 7th_odroid motion: [1] #011"Brightness", default 128, current 128
Aug 27 08:50:04 7th_odroid motion: [1] found control 0x00980901, "Contrast", range 0,255
Aug 27 08:50:04 7th_odroid motion: [1] #011"Contrast", default 32, current 32
Aug 27 08:50:04 7th_odroid motion: [1] found control 0x00980902, "Saturation", range 0,255
Aug 27 08:50:04 7th_odroid motion: [1] #011"Saturation", default 32, current 32
Aug 27 08:50:04 7th_odroid motion: [1] found control 0x00980913, "Gain", range 0,255
Aug 27 08:50:04 7th_odroid motion: [1] #011"Gain", default 0, current 32
Aug 27 08:50:04 7th_odroid motion: [1] mmap information:
Aug 27 08:50:04 7th_odroid motion: [1] frames=4
Aug 27 08:50:04 7th_odroid motion: [1] 0 length=1044480
Aug 27 08:50:04 7th_odroid motion: [1] 1 length=1044480
Aug 27 08:50:04 7th_odroid motion: [1] 2 length=1044480
Aug 27 08:50:04 7th_odroid motion: [1] 3 length=1044480
Aug 27 08:50:04 7th_odroid motion: [1] Resizing pre_capture buffer to 1 items
Aug 27 08:50:05 7th_odroid motion: [1] Resizing pre_capture buffer to 7 items
Aug 27 10:44:25 7th_odroid kernel: [141969.243416] motion: page allocation failure: order:3, mode:0x4020
Aug 27 11:15:29 7th_odroid motion: [0] Thread 1 - Watchdog timeout, trying to do a graceful restart
Aug 27 11:16:29 7th_odroid motion: [0] Thread 1 - Watchdog timeout, did NOT restart graceful,killing it!
Aug 27 11:16:29 7th_odroid motion: [0] Calling vid_close() from motion_cleanup
Aug 27 11:16:29 7th_odroid motion: [0] Closing video device /dev/video4
После таких записей, motion продолжает висеть в процессах, но практически не потребляет ресурсов и, очевидно, не работает.
Тоже самое с другими приложениями. Вот лог и всё, что за ним последовало от btsync.
Подозреваю в виновности вот эти установки:
root@7th_odroid:/var/log# cat /etc/sysctl.conf | grep kernel.sh
kernel.shmall = 134217728
kernel.shmmax = 134217728
Но какие их правильно задать?
У меня
вот такое устройство.
motion, page allocation failed, xubuntu