{"id":234243,"date":"2014-08-22T11:40:02","date_gmt":"2014-08-22T07:40:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=234243"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=234243","title":{"rendered":"<span class=\"post_title\">\u0412\u0438\u0434\u0435\u043e\u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435 \u043e\u0442 \u0438\u0434\u0435\u0438 \u0434\u043e\u2026 \u0438\u0434\u0435\u0438. \u0424\u0430\u043a\u0442\u044b<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t\u0421\u0430\u043c\u0430 \u0438\u0434\u0435\u044f: <a href=\"http:\/\/habrahabr.ru\/post\/234139\/\">habrahabr.ru\/post\/234139\/<\/a><\/p>\n<p>  \u0422\u0443\u0442 \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0444\u0430\u043a\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0438, \u043b\u043e\u0433\u0438, \u0438 \u0435\u0449\u0435 \u0447\u0442\u043e \u0442\u043e.<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0421\u0430\u043c\u043e\u0435 \u0441\u043b\u043e\u0436\u043d\u043e\u0435 \u0431\u044b\u043b\u043e \u043d\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432, \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u043d\u0438\u0435 \u0445\u043e\u0440\u043e\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0430 \u0431\u043e\u0440\u044c\u0431\u0430 \u0441 load average. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435, \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c 30 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u043a\u0430\u043c\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0438\u0448\u0443\u0442 \u043d\u0430 \u0434\u0438\u0441\u043a, \u0434\u0438\u0441\u043a\u0438 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u044b\u0435 \u0432 \u0440\u0435\u0439\u0434\u0435 \u043d\u0430 FreeNas \u0447\u0435\u0440\u0435\u0437 NFS. \u0416\u0443\u0442\u044c? \u041d\u0435, \u043d\u0435 \u0436\u0443\u0442\u044c, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0431\u044b \u0431\u0435\u0437 NFS, \u0442\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043f\u0440\u043e\u0441\u0430\u0434\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043a\u043e\u043b\u043e\u0441\u0441\u0430\u043b\u044c\u043d\u0430\u044f. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u0440\u0430\u043c\u0434\u0438\u0441\u043a\u0438.<\/p>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043b\u0435\u0436\u0430\u043b\u0430 \u043c\u0435\u0440\u0442\u0432\u044b\u043c \u0433\u0440\u0443\u0437\u043e\u043c \u0443\u0436\u0435 \u043a\u0430\u043a \u043c\u0435\u0441\u044f\u0446, \u0430 \u044f \u043d\u0435 \u0441\u043f\u0435\u0448\u0430 \u0438\u0437\u0443\u0447\u0430\u043b Java (<a href=\"http:\/\/habrahabr.ru\/post\/233237\/\">\u0442\u0443\u0442<\/a>), \u0442\u043e \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0432 \u043a\u0443\u0440\u0441\u0435 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u043c\u0435\u0440 \u0436\u0438\u0432\u044b\u0445 \u0438 \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u0411\u0443\u0434\u0435\u043c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0445\u043e\u0434\u0443 \u0441\u0442\u0430\u0442\u044c\u0438. \u041d\u0435 \u043e\u0442\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043c\u0435\u043d\u044f \u043f\u043e\u043a\u0430 \u0442\u0435\u043c\u0430 \u0432\u0438\u0434\u0435\u043e\u043d\u0430\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u044f \ud83d\ude42<\/p>\n<p>  \u0412\u043e\u0442 \u043e\u043d\u0430 \u0437\u0430\u0432\u0435\u0442\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u043a\u0430.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/954\/7f7\/d50\/9547f7d503834e87b4fa5d992c7fa7a1.png\" alt=\"image\"\/><br \/>  \u041f\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u0432\u0438\u0434\u043d\u043e \u0447\u0442\u043e \u043e\u043d\u0430 \u043f\u0435\u0440\u0435\u0436\u0438\u043b\u0430 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0442\u0435\u0441\u0442\u043e\u0432 \u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043e\u043a (\u043e\u0442 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 Windows 2003 \u0434\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 minecraft). Load average \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438, \u0442.\u0435. \u0441\u0435\u0439\u0447\u0430\u0441 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043a\u0430\u043c\u0435\u0440\u044b \u0438 \u043c\u0430\u0448\u0438\u043d\u0430 \u043f\u0438\u0448\u0435\u0442 \u0432\u0438\u0434\u0435\u043e.<\/p>\n<p>  \u0412\u043e\u0442 \u00ab\u0440\u0430\u0431\u043e\u0447\u0430\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043b\u043e\u0448\u0430\u0434\u043a\u0430\u00bb \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u0418\u0434\u0435\u044f \u0431\u044b\u043b\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0438\u0445 \u043c\u043d\u043e\u0436\u0438\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u00ab\u043c\u0438\u0440\u0430\u00bb. \u0418 \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0432\u043e\u043f\u043b\u043e\u0449\u0430\u0442\u044c \u0432 \u0436\u0435\u043b\u0435\u0437\u0435. \u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c qcow \u043d\u0430 \u0434\u0438\u0441\u043a, \u0432\u0440\u043e\u0434\u0435 \u0431\u044b, \u0437\u0430\u0434\u0430\u0447\u0430 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/723\/d8d\/6da\/723d8d6da003495ea1f77b940a8e4937.png\" alt=\"image\"\/><\/p>\n<p>  \u041b\u0435\u0437\u0435\u043c \u0432\u043d\u0443\u0442\u0440\u044c \u043c\u0430\u0448\u0438\u043d\u044b.<br \/>  top  <\/p>\n<pre><code class=\"php\">top - 10:41:49 up 25 min,  2 users,  load average: 0.34, 0.45, 0.40 Tasks: 168 total,   1 running, 167 sleeping,   0 stopped,   0 zombie %Cpu(s):  4.0 us,  2.3 sy,  0.0 ni, 90.5 id,  0.1 wa,  1.2 hi,  1.2 si,  0.7 st KiB Mem:   6112740 total,  2076652 used,  4036088 free,    19736 buffers KiB Swap:  2047996 total,        0 used,  2047996 free,  1586536 cached    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND  9727 vlc       20   0  690412  29852   1776 S   4.3  0.5   0:44.78 motion  9713 vlc       20   0 2067540  88944  11928 S   3.7  1.5   0:33.55 vlc  9911 vlc       20   0 1407164  42080  11968 S   2.0  0.7   0:22.40 vlc 10133 vlc       20   0 1481508  42672   7732 S   1.3  0.7   0:17.86 vlc 23982 vlc       20   0  397988   7948   1908 S   0.7  0.1   0:00.02 php-fpm    15 root      20   0       0      0      0 S   0.3  0.0   0:00.73 ksoftirqd\/2   918 vlc       20   0   55700   2384    892 S   0.3  0.0   0:03.47 nginx  9935 vlc       20   0  604916  16616   1528 S   0.3  0.3   0:04.62 motion ... <\/code><\/pre>\n<p>  free  <\/p>\n<pre><code class=\"php\">             total       used       free     shared    buffers     cached Mem:          5.8G       2.1G       3.8G       647M        19M       1.6G -\/+ buffers\/cache:       461M       5.4G Swap:         2.0G         0B       2.0G <\/code><\/pre>\n<p>  df  <\/p>\n<pre><code class=\"php\">Filesystem                         Size  Used Avail Use% Mounted on \/dev\/mapper\/fedora_dvr-root        7.4G  6.9G   28M 100% \/ devtmpfs                           3.0G     0  3.0G   0% \/dev tmpfs                              3.0G     0  3.0G   0% \/dev\/shm tmpfs                              3.0G   17M  2.9G   1% \/run tmpfs                              3.0G     0  3.0G   0% \/sys\/fs\/cgroup tmpfs                              3.0G   48K  3.0G   1% \/tmp tmpfs                              4.0G  602M  3.4G  15% \/home\/vlc\/dvr\/tmpfs \/dev\/sda1                          477M   90M  358M  20% \/boot *.*.*.211:\/mnt\/raid1\/mx\/video   11T  2.2T  8.2T  21% \/home\/vlc\/dvr\/nfs <\/code><\/pre>\n<p>  \u0421\u0430\u043c\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044f \u043b\u043e\u0448\u0430\u0434\u044c \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u0442\u043e VLC (\u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u043b \u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 ffserve, \u043d\u043e \u0442\u0430\u043a \u0438 \u043d\u0435 \u0434\u043e\u0434\u0435\u043b\u0430\u043b)<\/p>\n<p>  <code>vlc       9713     1  2 10:22 ?        00:00:39 \/usr\/bin\/vlc -I dummy -vvv --rtsp-tcp -d -I http --http-host=0.0.0.0 --http-port 8101 -I telnet --telnet-port 44301 --telnet-password 12345 --repeat --loop --live-caching 500 --network-caching 500 --sout-mux-caching 300 --sout-ts-dts-delay 400 --pidfile \/home\/vlc\/dvr\/local\/proc\/1\/vlc.pid --extraintf=http:logger --file-logging --log-verbose 0 --logfile \/home\/vlc\/dvr\/local\/log\/1\/vlc.log<\/code><br \/>  Caching \u043d\u0435\u043b\u044c\u0437\u044f \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 500 (\u043c\u0441), \u0442\u0430\u043a \u043a\u0430\u043a \u0432 VLC \u0435\u0441\u0442\u044c \u043d\u0435\u043a\u0438\u0439 \u0431\u0443\u0444\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0443\u0441\u043f\u0435\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u0432\u0438\u0434\u0435\u043e\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438 \u043e\u043d\u0438 \u0443\u0445\u043e\u0434\u044f\u0442 \u043d\u0430 \u043e\u0442\u0434\u0430\u0447\u0443 \u0438 \u0440\u0443\u0448\u0430\u0442 \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a (\u0437\u0432\u0443\u043a \u0431\u0443\u0434\u0435\u0442, \u0432\u0438\u0434\u0435\u043e \u043d\u0435\u0442).<br \/>  \u041a\u044d\u0448\u0438 \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u043d\u044b \u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u0443\u0442\u0435\u043c.<br \/>  &#8212;telnet \u2014 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c VLC \u0447\u0435\u0440\u0435\u0437 telnet.<br \/>  <code>telnet localhost 44301<\/code><br \/>  &gt; show  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u043a\u043e\u043c\u0430\u043d\u0434\u0430 show<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\">            instances         CAM_9_l_flv             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:55309             output : #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,samplerate=44100,ab=128}:http{dst=*:11009\/stream.flv}             options             instances         CAM_11_live             type : broadcast             enabled : yes             loop : yes             inputs                 1 : rtsp:\/\/10.112.249.48:10003\/live\/ch01_0             output : #transcode{acodec=none}:std{access=http{mime=video\/mp4},mux=ts{use-key-frames},dst=*:9011\/path.mp4}             options             instances                 instance                     name : default                     state : playing                     position : 0.000000                     time : 1555935707                     length : 0                     rate : 1.000000                     title : 0                     chapter : 0                     can-seek : 0                     playlistindex : 1         CAM_11_lhttp             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:9011\/path.mp4             output : #std{access=livehttp{seglen=5,delsegs=true,numsegs=15,splitanywhere=true,index=\/home\/vlc\/dvr\/tmpfs\/lhttp\/1\/stream-11.m3u8,index-url=http:\/\/10.154.28.202\/lhttp\/1\/stream-11-########.ts},mux=ts{use-key-frames},dst=\/home\/vlc\/dvr\/tmpfs\/lhttp\/1\/stream-11-########.ts}             options             instances                 instance                     name : default                     state : playing                     position : 0.000000                     time : 0                     length : 0                     rate : 1.000000                     title : 0                     chapter : 0                     can-seek : 0                     playlistindex : 1         CAM_11_l_flv             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:55311             output : #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,samplerate=44100,ab=128}:http{dst=*:11011\/stream.flv}             options             instances                 instance                     name : default                     state : playing                     position : 0.000000                     time : 0                     length : 0                     rate : 1.000000                     title : 0                     chapter : 0                     can-seek : 0                     playlistindex : 1         CAM_12_live             type : broadcast             enabled : yes             loop : yes             inputs                 1 : rtsp:\/\/10.112.249.48:10004\/live\/ch01_0             output : #transcode{acodec=none}:std{access=http{mime=video\/mp4},mux=ts{use-key-frames},dst=*:9012\/path.mp4}             options             instances                 instance                     name : default                     state : playing                     position : 0.000000                     time : 1560325097                     length : 0                     rate : 1.000000                     title : 0                     chapter : 0                     can-seek : 0                     playlistindex : 1         CAM_12_lhttp             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:9012\/path.mp4             output : #std{access=livehttp{seglen=5,delsegs=true,numsegs=15,splitanywhere=true,index=\/home\/vlc\/dvr\/tmpfs\/lhttp\/1\/stream-12.m3u8,index-url=http:\/\/10.154.28.202\/lhttp\/1\/stream-12-########.ts},mux=ts{use-key-frames},dst=\/home\/vlc\/dvr\/tmpfs\/lhttp\/1\/stream-12-########.ts}             options             instances                 instance                     name : default                     state : playing                     position : 0.000000                     time : 0                     length : 0                     rate : 1.000000                     title : 0                     chapter : 0                     can-seek : 0                     playlistindex : 1         CAM_12_l_flv             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:55312             output : #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,samplerate=44100,ab=128}:http{dst=*:11012\/stream.flv}             options             instances                 instance                     name : default                     state : playing                     position : 0.000000                     time : 0                     length : 0                     rate : 1.000000                     title : 0                     chapter : 0                     can-seek : 0                     playlistindex : 1         CAM_14_live             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/95.31.22.173:3128\/cam_1.cgi             output : #transcode{acodec=none}:std{access=http{mime=video\/mp4},mux=ts{use-key-frames},dst=*:9014\/path.mp4}             options             instances         CAM_14_lhttp             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:9014\/path.mp4             output : #std{access=livehttp{seglen=5,delsegs=true,numsegs=15,splitanywhere=true,index=\/home\/vlc\/dvr\/tmpfs\/lhttp\/1\/stream-14.m3u8,index-url=http:\/\/10.154.28.202\/lhttp\/1\/stream-14-########.ts},mux=ts{use-key-frames},dst=\/home\/vlc\/dvr\/tmpfs\/lhttp\/1\/stream-14-########.ts}             options             instances         CAM_14_l_flv             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:55314             output : #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,samplerate=44100,ab=128}:http{dst=*:11014\/stream.flv}             options             instances         CAM_15_live             type : broadcast             enabled : yes             loop : yes             inputs                 1 : rtsp:\/\/10.112.249.48:10001\/live\/ch01_0             output : #transcode{acodec=none}:std{access=http{mime=video\/mp4},mux=ts{use-key-frames},dst=*:9015\/path.mp4}             options             instances         CAM_15_lhttp             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:9015\/path.mp4             output : #std{access=livehttp{seglen=5,delsegs=true,numsegs=15,splitanywhere=true,index=\/home\/vlc\/dvr\/tmpfs\/lhttp\/1\/stream-15.m3u8,index-url=http:\/\/10.154.28.202\/lhttp\/1\/stream-15-########.ts},mux=ts{use-key-frames},dst=\/home\/vlc\/dvr\/tmpfs\/lhttp\/1\/stream-15-########.ts}             options             instances         CAM_15_l_flv             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:55315             output : #transcode{vcodec=FLV1,vb=4096,fps=25,scale=1,acodec=mp3,samplerate=44100,ab=128}:http{dst=*:11015\/stream.flv}             options             instances         CAM_11_rec             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:9011\/path.mp4             output : #std{access=file{append},mux=ts{use-key-frames},dst=\/home\/vlc\/dvr\/tmpfs\/rec\/1\/20140822\/11_104211.avi}             options             instances                 instance                     name : default                     state : playing                     position : 0.000000                     time : 0                     length : 0                     rate : 1.000000                     title : 0                     chapter : 0                     can-seek : 0                     playlistindex : 1         CAM_12_rec             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:9012\/path.mp4             output : #std{access=file{append},mux=ts{use-key-frames},dst=\/home\/vlc\/dvr\/tmpfs\/rec\/1\/20140822\/12_104412.avi}             options             instances                 instance                     name : default                     state : playing                     position : 0.000000                     time : 0                     length : 0                     rate : 1.000000                     title : 0                     chapter : 0                     can-seek : 0                     playlistindex : 1         CAM_11_mtn             type : broadcast             enabled : yes             loop : yes             inputs                 1 : http:\/\/localhost:9011\/path.mp4             output : #std{access=file{append},mux=ts{use-key-frames},dst=\/home\/vlc\/dvr\/tmpfs\/mtn\/1\/20140822\/11_104831.avi}             options             instances                 instance                     name : default                     state : stopped                     position : 0.000000                     time : 0                     length : 0                     rate : 1.000000                     title : 0                     chapter : 0                     can-seek : 1                     playlistindex : 1     schedule &gt; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  CAM_12_lhttp \u044d\u0442\u043e \u043d\u0430\u0448\u0438 \u043a\u0430\u043c\u0435\u0440\u044b<br \/>  12 \u2014 id \u0438\u0437 sql<br \/>  CAM \u2014 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044c<br \/>  lhttp \u2014 \u043f\u043e\u0442\u043e\u043a<br \/>  \u041b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0441\u0442\u0430\u044f. \u0420\u0430\u0437 \u0432 10 \u043c\u0438\u043d\u0443\u0442 \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u043f\u043e\u0442\u043e\u043a rec, \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u043f\u043e\u0442\u043e\u043a rec \u0441 \u043d\u043e\u0432\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0444\u0430\u0439\u043b\u0430. \u0412\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a \u0440\u0430\u0437\u0440\u0435\u0437\u0430\u043d.<br \/>  \u041d\u043e\u0432\u044b\u0435 \u043f\u043e\u0442\u043e\u043a\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u043a\u043e\u043d\u0435\u0446 \u0441\u043f\u0438\u0441\u043a\u0430.<br \/>  \u041c\u044b \u0442\u0443\u0442 \u0432\u0438\u0434\u0438\u043c CAM_11_mtn \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c \u2014 \u043e\u043d \u043f\u0438\u0448\u0435\u0442 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442, \u0442\u0430\u043a \u043a\u0430\u043a motion \u0441\u043a\u0430\u0437\u0430\u043b \u043f\u0438\u0441\u0430\u0442\u044c.<br \/>  \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 ~\/vlc \u0435\u0441\u0442\u044c local, nfs, tmpfs.<br \/>  fstab \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442 \u043a\u0442\u043e \u044d\u0442\u043e \u0438 \u0447\u0442\u043e \u044d\u0442\u043e  <\/p>\n<pre><code class=\"php\">tmpfs \/home\/vlc\/dvr\/tmpfs tmpfs size=4072m 0 0 *.*.*.211:\/mnt\/*\/*\/video \/home\/vlc\/dvr\/nfs nfs users 0 0 <\/code><\/pre>\n<p>  local \u2014 \u041e\u0431\u044b\u0447\u043d\u0430\u044f \u043f\u0430\u043f\u043a\u0430. \u041e\u043d\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0438, \u043b\u043e\u0433\u0438, \u0438 \u0444\u0430\u0439\u043b\u044b-\u0444\u043b\u0430\u0433\u0438 proc (\u0441\u043c. \u0432\u044b\u0448\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 VLC)<br \/>  [vlc@dvr tmpfs]$ ls<br \/>  <code>img  lhttp  lock  mtn  rec  tmp<\/code><br \/>  \u0412 \u043a\u0430\u0436\u0434\u043e\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0433\u0434\u0435 \u0438\u043c\u044f \u044d\u0442\u043e id \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u0437 sql<br \/>  \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435 \u043b\u0435\u0436\u0438\u0442 \u0435\u0433\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f<br \/>  img \u2014 \u0441\u043a\u043b\u0430\u0434 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a<\/p>\n<p>  <code>lastsnap.jpg                      snapshot-2014_08_22-10_32_00.jpg  snapshot-2014_08_22-10_39_00.jpg  snapshot-2014_08_22-10_46_00.jpg  snapshot-2014_08_22-10_53_00.jpg snapshot-2014_08_22-10_26_00.jpg ...<\/code><\/p>\n<p>  lhttp \u2014 VLC\u0448\u043d\u044b\u0439 hls<br \/>  <code>stream-11-00000414.ts  stream-11-00000419.ts  stream-11-00000424.ts ...<\/code><br \/>  lock \u2014 \u0444\u0430\u0439\u043b\u044b \u0444\u043b\u0430\u0433\u0438 \u0434\u043b\u044f \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u0437\u043e\u043e\u043f\u0430\u0440\u043a\u0430<br \/>  <code>motionDetected_11.lock  time_16_timelapse.lock  time_23_timelapse.lock  time_CAM_25_rec.lock  update.lock<\/code><br \/>  motionDetected_11 \u2014 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0430 11 \u043a\u0430\u043c\u0435\u0440\u0435 \u0435\u0441\u0442\u044c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435.<br \/>  update.lock \u2014 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u0447\u0442\u043e \u0438\u0434\u0435\u0442 update \u0441\u0438\u0441\u0442\u0435\u043c\u044b<br \/>  \u0418 \u043f\u043e \u044d\u0442\u0438\u043c \u0444\u0430\u0439\u043b\u0430\u043c \u0438\u0434\u0435\u0442 \u043e\u0442\u0441\u0447\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0422\u0430\u0439\u043c\u043b\u0430\u043f\u0441\u0430, \u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u0435\u0449\u0435 \u0432\u0441\u044f\u043a\u0438\u0445 \u0437\u0430\u0434\u0435\u0440\u0436\u0435\u043a.<\/p>\n<p>  mnt, rec \u2014 \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438. \u041d\u0430\u043f\u043e\u043c\u043d\u044e \u0447\u0442\u043e \u044d\u0442\u043e \u0440\u0430\u043c \u0434\u0438\u0441\u043a \u0438 10 \u043c\u0438\u043d\u0443\u0442 \u043c\u044b \u043f\u0438\u0448\u0435\u043c \u0432 \u043f\u0430\u043c\u044f\u0442\u044c. \u0415\u0441\u043b\u0438 \u043d\u0435 \u043f\u0438\u0448\u0435\u043c \u2014 \u043f\u0430\u043f\u043a\u0438 \u043f\u0443\u0441\u0442\u044b\u0435. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 10 \u043c\u0438\u043d\u0443\u0442 \u0444\u0430\u0439\u043b\u0438\u043a \u043c\u0438\u0433\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 NFS. \u0412\u0435\u0434\u044c \u043f\u0440\u043e\u0449\u0435 \u043a\u0443\u0441\u043a\u043e\u043c \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043d\u0430 NFS, \u043d\u0435\u0436\u0435\u043b\u0438 \u043b\u0438\u0442\u044c \u043f\u043e\u0442\u043e\u043a\u0438 \u0441 \u043a\u0430\u043c\u0435\u0440.<br \/>  \u0432 tmp \u043b\u0435\u0436\u0430\u0442 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b, \u043b\u0438\u0431\u043e \u0434\u043e\u043f \u0438\u043d\u0444\u0430 \u0434\u043b\u044f php, \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u043d\u0435 \u0434\u0435\u043c\u043e\u043d\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c, \u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u0441\u044f 1 \u0440\u0430\u0437 \u0432 update \u043f\u0440\u043e \u043a\u0440\u043d\u0443.<\/p>\n<p>  \u0418\u0437 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u043c\u044b \u0434\u0435\u043b\u0430\u0435\u043c \u0442\u0430\u0439\u043f\u043b\u0430\u043f\u0441\u044b  <\/p>\n<pre><code class=\"php\">257K 11_20140714_132700_timelapse.mp4 560K 11_20140714_142600_timelapse.mp4 <\/code><\/pre>\n<p>  \u041f\u043e\u043a\u0430 \u043f\u0438\u0448\u0443 \u0441\u0442\u0430\u0442\u044c\u044e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f (ls \u0441 NFS)  <\/p>\n<pre><code class=\"php\">[vlc@dvr 20140822]$ ls -hs | grep -v asdfasdf total 129M  2.6M 11_101919.mp4  1.4M 11_101943.mp4  3.6M 11_103431.mp4  2.8M 11_103734.mp4  1.5M 11_104036.mp4  3.9M 11_104142.mp4 1000K 11_104219.mp4  1.8M 11_104354.mp4  3.2M 11_104831.mp4  2.8M 11_104908.mp4  3.3M 11_104942.mp4  2.1M 11_105034.mp4  2.1M 11_105156.mp4  1.2M 11_105215.mp4  944K 11_105228.mp4  2.6M 11_105321.mp4  161K 11_105410.mp4  1.6M 11_105505.mp4  1.4M 11_105855.mp4  4.5M 11_105943.mp4  7.3M 11_110022.mp4  3.8M 11_110256.mp4  1.4M 11_110342.mp4  1.8M 11_110448.mp4  1.3M 12_101917.mp4  2.9M 12_102416.mp4  1.7M 12_102753.mp4  5.5M 12_102831.mp4  1.4M 12_103319.mp4  1.5M 12_103529.mp4  1.8M 12_103551.mp4  2.5M 12_103622.mp4  1.4M 12_103955.mp4  1.8M 12_105112.mp4  2.5M 12_105816.mp4   48M 12_105839.mp4  <\/code><\/pre>\n<p>  \u0410 \u044d\u0442\u043e \u0442\u043e \u0447\u0442\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0437\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f<br \/>  <code>17M 11_101734.mp4  71M 11_102230.mp4  74M 11_103212.mp4  73M 11_104211.mp4  74M 11_105211.mp4  18M 12_101735.mp4  88M 12_102231.mp4  75M 12_103411.mp4  75M 12_104412.mp4  81M 12_105413.mp4<\/code><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u0443\u0441\u043e\u043a \u043b\u043e\u0433\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043e\u0442\u0440\u0430\u0436\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"php\">[ 2014-08-22 11:08:32 ] UID:0 NOTICE system2\\Lock-time_CAM_26_rec.lock __construct [ 2014-08-22 11:08:32 ] UID:0 NOTICE TimeLock 249 [ 2014-08-22 11:08:32 ] UID:0 NOTICE system2\\Lock-time_CAM_26_mtn.lock __construct [ 2014-08-22 11:08:32 ] UID:0 NOTICE TimeLock 370 [ 2014-08-22 11:08:32 ] UID:0 NOTICE system2\\Lock-motionDetected_26.lock __construct [ 2014-08-22 11:08:32 ] UID:7 NOTICE system2\\Daemon(vlc) __construct [ 2014-08-22 11:08:32 ] UID:7 NOTICE system2\\Daemon(motion) __construct [ 2014-08-22 11:08:32 ] UID:0 NOTICE system2\\Lock-motionDetected_11.lock __construct [ 2014-08-22 11:08:32 ] UID:0 NOTICE system2\\Lock-motionDetected_11.lock delete [ 2014-08-22 11:08:32 ] UID:11 NOTICE system2\\BBRecStream stop [ 2014-08-22 11:08:32 ] UID:0 NOTICE system2\\Vlm control CAM_11_mtn stop [ 2014-08-22 11:08:32 ] UID:0 NOTICE system2\\Vlm del CAM_11_mtn [ 2014-08-22 11:08:32 ] UID:11 NOTICE system2\\BBRecStream moveToNfs [ 2014-08-22 11:08:32 ] UID:11 NOTICE system2\\BBRecStream insert into archive values(0, 11, 'mtn', 1408691293, 1408691311, 1408691312, 0.00010013580322266, 'yes', 0, '\/home\/vlc\/dvr\/nfs\/mtn\/1\/20140822\/11_110813') [ 2014-08-22 11:08:32 ] UID:0 NOTICE system2\\MoveVideoCommand ffmpeg -y -i \/home\/vlc\/dvr\/tmpfs\/mtn\/1\/20140822\/11_110813.avi -codec copy \/home\/vlc\/dvr\/nfs\/mtn\/1\/20140822\/11_110813.mp4 [ 2014-08-22 11:08:34 ] UID:17 NOTICE system2\\HLSVlcStream update [ 2014-08-22 11:08:34 ] UID:17 NOTICE system2\\HLSVlcStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_17_lhttp stop [ 2014-08-22 11:08:34 ] UID:17 NOTICE system2\\HLSVlcStream rm -rf \/home\/vlc\/dvr\/tmpfs\/lhttp\/2\/stream-17 [ 2014-08-22 11:08:34 ] UID:17 NOTICE system2\\BBRecStream update [ 2014-08-22 11:08:34 ] UID:17 NOTICE system2\\BBRecStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_17_rec stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm del CAM_17_rec [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Lock-time_CAM_17_rec.lock create [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\TimeLock time_CAM_17_rec.lock [ 2014-08-22 11:08:34 ] UID:17 NOTICE system2\\BBRecStream update [ 2014-08-22 11:08:34 ] UID:17 NOTICE system2\\BBRecStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_17_mtn stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm del CAM_17_mtn [ 2014-08-22 11:08:34 ] UID:17 NOTICE system2\\BBRecStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_17_mtn stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm del CAM_17_mtn [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Lock-time_CAM_17_mtn.lock create [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\TimeLock time_CAM_17_mtn.lock [ 2014-08-22 11:08:34 ] UID:17 NOTICE system2\\UrlFlvVlcStream update [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\Cam update [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\Streams update [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\MotionStream update [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\BBLiveStream update [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\BBLiveStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_18_live stop [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\HLSVlcStream update [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\HLSVlcStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_18_lhttp stop [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\HLSVlcStream rm -rf \/home\/vlc\/dvr\/tmpfs\/lhttp\/2\/stream-18 [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\HLSVlcStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_18_lhttp stop [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\HLSVlcStream rm -rf \/home\/vlc\/dvr\/tmpfs\/lhttp\/2\/stream-18 [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\BBRecStream update [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\BBRecStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_18_rec stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm del CAM_18_rec [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\BBRecStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_18_rec stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm del CAM_18_rec [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Lock-time_CAM_18_rec.lock create [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\TimeLock time_CAM_18_rec.lock [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\BBRecStream update [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\BBRecStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_18_mtn stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm del CAM_18_mtn [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\BBRecStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_18_mtn stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm del CAM_18_mtn [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Lock-time_CAM_18_mtn.lock create [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\TimeLock time_CAM_18_mtn.lock [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\UrlFlvVlcStream update [ 2014-08-22 11:08:34 ] UID:18 NOTICE system2\\UrlFlvVlcStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_18_l_flv stop [ 2014-08-22 11:08:34 ] UID:19 NOTICE system2\\Cam update [ 2014-08-22 11:08:34 ] UID:19 NOTICE system2\\Streams update [ 2014-08-22 11:08:34 ] UID:19 NOTICE system2\\MotionStream update [ 2014-08-22 11:08:34 ] UID:19 NOTICE system2\\BBLiveStream update [ 2014-08-22 11:08:34 ] UID:19 NOTICE system2\\BBLiveStream start [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_19_live play [ 2014-08-22 11:08:34 ] UID:19 NOTICE system2\\HLSVlcStream update [ 2014-08-22 11:08:34 ] UID:19 NOTICE system2\\BBRecStream update [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Lock-time_CAM_19_rec.lock create [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\TimeLock time_CAM_19_rec.lock [ 2014-08-22 11:08:34 ] UID:19 NOTICE system2\\BBRecStream update [ 2014-08-22 11:08:34 ] UID:19 NOTICE system2\\BBRecStream stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm control CAM_19_mtn stop [ 2014-08-22 11:08:34 ] UID:0 NOTICE system2\\Vlm del CAM_19_mtn [ 2014-08-22 11:08:35 ] UID:0 NOTICE system2\\Lock-time_CAM_19_mtn.lock create [ 2014-08-22 11:08:35 ] UID:19 NOTICE system2\\BBRecStream stop [ 2014-08-22 11:08:35 ] UID:0 NOTICE system2\\Vlm control CAM_19_mtn stop [ 2014-08-22 11:08:35 ] UID:0 NOTICE system2\\Vlm del CAM_19_mtn [ 2014-08-22 11:08:35 ] UID:19 NOTICE system2\\UrlFlvVlcStream update [ 2014-08-22 11:08:35 ] UID:20 NOTICE system2\\Cam update [ 2014-08-22 11:08:35 ] UID:20 NOTICE system2\\Streams update [ 2014-08-22 11:08:35 ] UID:20 NOTICE system2\\MotionStream update [ 2014-08-22 11:08:35 ] UID:20 NOTICE system2\\BBLiveStream update [ 2014-08-22 11:08:38 ] UID:20 NOTICE system2\\BBLiveStream stop [ 2014-08-22 11:08:38 ] UID:0 NOTICE system2\\Vlm control CAM_20_live stop [ 2014-08-22 11:08:38 ] UID:20 NOTICE system2\\BBLiveStream start <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041b\u043e\u0433\u043e\u0432 \u043f\u0438\u0448\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \ud83d\ude42 \u041d\u0435 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d \u0432\u0441\u0435-\u0442\u0430\u043a\u0438)<\/p>\n<p>  \u0422\u0435\u043a\u0443\u0449\u0430\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 (iptraf-ng) in-15000 kbps, out 1500 kbps.<br \/>  \u041d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 FreeNas<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/ed4\/9da\/dc0\/ed49dadc037140dd90d2171b3a26a9df.png\" alt=\"image\"\/><br \/>  \u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0433\u0438\u0433\u0430\u0431\u0438\u0442\u043d\u044b\u0439, \u0441\u0442\u043e\u0438\u0442 ZRaid2 + \u0442\u0432\u0435\u0440\u0434\u043e\u0442\u0435\u043b\u043a\u0430 (ZLog?)<br \/>  Freenas:<br \/>  Intel\u00ae Core(TM)2 Duo CPU E4500 @ 2.20GHz<br \/>  Memory: 4006MB<br \/>  Load Average 0.15, 0.16, 0.11<\/p>\n<p>  \u0417\u0430\u043f\u0438\u0441\u0438<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/9c4\/6bb\/434\/9c46bb4347a8418bb6e9d3ae76077ccd.png\" alt=\"image\"\/><br \/>  \u0417\u0435\u043b\u0435\u043d\u044b\u0435 \u2014 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c<br \/>  \u043a\u0440\u0430\u0441\u043d\u044b\u0435 \u2014 \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e<br \/>  \u0441\u0438\u043d\u0438\u0435 \u2014 \u0442\u0430\u0439\u043c\u043b\u0430\u043f\u0441\u044b<\/p>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u043e \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e. \u0418 \u043f\u0440\u0430\u0432\u0434\u0430 \u0435\u0441\u0442\u044c \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/fee\/496\/e4b\/fee496e4bce04b8a83d173119cc61f88.png\" alt=\"image\"\/><br \/>  \u0418 \u0432\u0441\u0435 \u044d\u0432\u0435\u043d\u0442\u044b \u043a\u043b\u0430\u0434\u0443\u0442\u0441\u044f \u0432 sql.<\/p>\n<p>  \u0412\u043e\u0442 \u0438 \u0442\u0430\u0439\u043c\u043b\u0430\u043f\u0441 \u043f\u043e\u0434\u043e\u0441\u043f\u0435\u043b \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0447\u0430\u0441.<br \/>  \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c 20 \u0441\u0435\u043a\u0443\u043d\u0434.<br \/>  \u041c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0447\u0442\u043e \u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u044d\u0442\u043e\u0433\u043e<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/1bc\/a2c\/c05\/1bca2cc058a948c1b4c13b132bf5f996.png\" alt=\"image\"\/><br \/>  \u0435\u0441\u043b\u0438 1 \u0447\u0430\u0441 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0437\u0430 20 \u0441\u0435\u043a\u0443\u043d\u0434, \u0442\u043e 1 \u0441\u0443\u0442\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0437\u0430 8 \u043c\u0438\u043d\u0443\u0442 \ud83d\ude42<\/p>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a \u0432\u043e\u0442 \u0438\u0437 \u043f\u043e\u0434\u0440\u0443\u0447\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0447\u0442\u043e \u0442\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u043d\u043e\u0435 \u0438 \u0440\u0430\u0431\u043e\u0447\u0435\u0435.<\/p>\n<p>  \u0412\u0438\u0434\u0435 \u043d\u0435 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e \u0442\u0430\u043a \u043a\u0430\u043a \u043a\u0430\u043c\u0435\u0440\u044b \u0447\u0430\u0441\u0442\u043d\u044b\u0435. \u041d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0430\u0445 \u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0439.<\/p>\n<p>  PS<br \/>  <code>[vlc@dvr 7]$ uptime;  11:36:09 up  1:19,  2 users,  load average: 0.31, 0.35, 0.33<\/code><br \/>  <code>calc@vm001:~$ uptime;  11:37:05 up 20:33,  1 user,  load average: 0.01, 0.02, 0.03<\/code>      \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/234243\/\"> http:\/\/habrahabr.ru\/post\/234243\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t\u0421\u0430\u043c\u0430 \u0438\u0434\u0435\u044f: <a href=\"http:\/\/habrahabr.ru\/post\/234139\/\">habrahabr.ru\/post\/234139\/<\/a><\/p>\n<p>  \u0422\u0443\u0442 \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0444\u0430\u043a\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0438, \u043b\u043e\u0433\u0438, \u0438 \u0435\u0449\u0435 \u0447\u0442\u043e \u0442\u043e.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-234243","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/234243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=234243"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/234243\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=234243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=234243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=234243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}