Comments (10)
お忙しいところご返答ありがとうございます。
こちらのハードウェアの一時的な不具合のようで正常に視聴できました。
また、pm2-logrotateをインストールしていたため、logrotateの挙動を
mirakurunの自体の挙動と勘違いしておりました。
お手数おかけして申し訳ありません。
ありがとうございました。
from mirakurun.
@epgdatacapbon logLevel
を -2
にしてみてはいかがでしょうか?
from mirakurun.
ご返答ありがとうございます。
チャンネル変更時等、mirakurun.stdout.logへのlog出力は行われますが、
だいぶ軽減されました。
from mirakurun.
@epgdatacapbon 差し支えなければチャンネル変更時などのログを見せていただけますか?(気になるところは伏字にしてOKです)
from mirakurun.
こちらでお役に立ちますでしょうか。
必要であれば、一旦消去して最初から取り直しますのでご連絡ください。
状況としては、EPGStationでTBSの下町ロケットを録画し、録画終了後、TVTestにてBonDriver_Mirakurunで視聴を行ったログになります。
こうしてみると「loglevel: -2」で1番組を録画したのみにしてはログの出力が多いように思います。
-
- GET /api/services HTTP/1.1 200 - - 0.962 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 156.881 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.372 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 2.172 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 136.512 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.388 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 2.232 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 166.485 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.382 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 2.042 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 115.040 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.367 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 2.105 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 99.579 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.356 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 0.881 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 164.123 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.406 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 3.812 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 140.917 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.210 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 1.413 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 153.609 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 2.013 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 1.019 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 189.550 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.376 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 0.962 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 137.193 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.206 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 3.238 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 100.997 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.419 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 3.143 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 137.952 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.359 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 3.225 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 163.439 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.311 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 1.245 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 111.947 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.396 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 1.719 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 148.173 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.351 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 2.275 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 157.884 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.218 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 0.870 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 96.941 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.413 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 0.896 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 81.488 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.385 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 2.718 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 129.454 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.406 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 2.015 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 124.874 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.360 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 1.903 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 139.342 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.350 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 1.886 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 145.158 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.195 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/services HTTP/1.1 200 - - 0.883 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs HTTP/1.1 200 - - 104.748 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/tuners HTTP/1.1 200 - - 0.213 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
-
- GET /api/programs/327390104855120/stream?decode=1 HTTP/1.1 200 - - 17467.469 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
192.168.1.xxx - GET /api/services HTTP/1.1 200 - - 2.158 ms -
192.168.1.xxx - GET /api/channels/GR/21/services/1056/stream?decode=1 HTTP/1.0 200 - - 909.522 ms -
- GET /api/programs/327390104855120/stream?decode=1 HTTP/1.1 200 - - 17467.469 ms EPGStation/1.3.2 MirakurunClient/2.7.5 Node/v10.15.0 (linux)
from mirakurun.
なるほどよくわかりました
修正します
from mirakurun.
@epgdatacapbon 修正してみました。
https://github.com/Chinachu/Mirakurun/blob/master/CHANGELOG.md#277-2019-01-03
from mirakurun.
sudo npm install mirakurun@latest -g --unsafe --production
にてアップデートしたところ、視聴、録画ができなくなりました。
recpt1等が起動しないようです。
swagger-uiは動いており、そちらでもstreamの取得ができないようです。
from mirakurun.
現在はlogがmaxLogHistoryで指定した行を超えると、日付を付されたファイル名で別に保存されるようですが、mirakurunを「loglevel: FATAL」以上で使い続けているとlogファイルが作り続けられるという仕様でしょうか。
from mirakurun.
- もう一度アップデートを試してみてください。ダメならサーバーを(物理的に)再起動してみてください。
maxLogHistory
はメモリ上に保持するログの行数です。- ログファイルの制御は PM2 に依存しています。
ログローテート:
pm2 install pm2-logrotate
設定: https://github.com/keymetrics/pm2-logrotate#configure
from mirakurun.
Related Issues (20)
- IPTV機能について HOT 1
- websocketのSSL対応 HOT 2
- 同じ番組が複数録画される [BUG] HOT 3
- several vulnerabilities CVE-2020-15168,CVE-2020-7598 are introduced in mirakurun HOT 2
- Web UIで外部(インターネット)からフォントを読み込んでしまっている HOT 2
- Web UIで外部(インターネット)から画像を読み込んでしまっている HOT 2
- 放送局が直前に停波していると録画のスクランブルが解除されない HOT 2
- unixドメインソケットからはRPCがつかえない [BUG] HOT 1
- 地上波の番組をChinachuで録画中に、同じ物理チャンネルの別サービスが /api/channels/GR/{channel}/stream で取得できない [BUG] HOT 3
- PX-MLT8PEで6ch全録を実施するとメモリ使用量が4.7GBになる。 HOT 2
- "docker-compose run --rm -e SETUP=true mirakurun"で「/usr/local/mirakurun/run/が存在しない」とのエラー [BUG] HOT 2
- 提案: コミュニティをDiscordから移行する
- TSDecoder unexpected dead [BUG] HOT 1
- Windows + Node.js 16 環境でローカルインストールに失敗する [BUG] HOT 3
- Open University Radio not found in channel scan [BUG] HOT 1
- rivarunからMirakurunにソケット接続できない
- 【要望】nodejs v18.xエンジンをサポート HOT 1
- Windows 環境で Mirakurun 3.9.0-rc.0 以降のバージョンをインストールすると起動に失敗する [BUG] HOT 3
- PT2からBSアンテナに給電されない
- Muninプラグインの機能不全 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirakurun.