Issues with QNAP TS-251 and Channels DVR

I have the QNAP TS-251 and for some reason, the DVR functionality will be unavailable on the Channels App after three or four days of usage. I end up having to restart the QNAP and then everything is fine. But this seems to happen once or twice per week.

Any idea what the issue might be?

Please check to see if the DVR is still running on your QNAP (does the DVR web ui still load?), and if any errors are shown on the Log tab of the DVR web UI.

Prior to restarting, when I clicked on the Channels app in the QNAP, the Channels page would not load.

The DVR error log seems to have cut off the older data. I’ll grab it the next time it errors out.

For what it’s worth, the QNAP had this error “[Kernel] Out-Of-Memory. Kill process 18665(channels-dvr). To reclaim resources”

What’s odd is that I’m not using the QNAP for anything other than the Channels DVR app.

1 Like

Hmm, that’s weird.

If you’re able to SSH into your QNAP, run this command:

echo -500 > /proc/$(pidof channels-dvr)/oom_score_adj

And see if that helps keep it running for the next few days.

Thanks. I think I figured out how to SSH into the QNAP…after entering my password, I just paste what you posted and I’m good from there?

Yep.

If it works for you then I’ll create a new qnap package with it included.

I pasted it twice because I didn’t think it did anything. Is that an issue?

Beyond that, I think I’m good. I’ll let you know if it fixes things.

That’s fine. It doesn’t output anything, but I tested on my QNAP and it does what I expect.

Excellent. Thanks. Appreciate your help!

Just FYI

Got the out of memory, kill processes error notification again today. Brought the DVR down.

Can you SSH in and run dmesg, and then copy/paste all the output and email to [email protected]