QBoost Run on A Schedule

I want to periodically run QBoost and see that I can use a cron job to schedule it.
I leave my NAS running all year of course, but for half the year I am in another state and only have remote access. With reboots for reasons like firmware updates, I need to have this job be a permanent schedule but see that sometimes the cron jobs get cleared.
Has anyone figured a workaround? I dont want to having to go in remotely to find out if I need to go in and reschedule it.
Or at least having an automated job check/notification would be sufficient. But that would likely get wiped on reboot too.

The article on how to do this in the old (very Missed!) forum didn’t give any good detailed examples.

Scott

Best to disable/remove QBoost altogether.

See here:

Also make sure the remote access it NOT done by using port forwards!

1 Like

Knowing your setup would allow us to provide better answers.(NAS model, memory, firmware, apps that are used etc)

Is there a particular issue you are trying to “fix” with QBoost? I’ve never run it on my home NAS that runs 24/7/365 and see no need to (I only reboot for firmware updates). If you do have a specific issue, then it may be worthwhile looking it that.

I know this doesn’t really address the question in your post, but rather than figuring out how to run it, you may find it doesn’t provide you with much, or any, value.

Oh yes, I forgot since it is not in my signiture with the loss of the old usual forum site…

I have a TS-251+ in one home and an older 251 in my other. They are both running 8g ram and 10tb JBOD drive with QTS 5.2.8 and I use them as files servers and run QVR Pro with 7 cams and one container to monitor my Unify Wifi system and periodic monthly AV scans. I do not use it for video or other system resource hogs other than the QVR. The issue I have periodically on either machine is where I get “System is out of memory” warnings and advises to disable apps or add memory and that it is going thru the Kill process. This occurs when nothing is happening externally that I can tell since it happens when I am not accessing anything. When I look at what QBoost shows for available Free memory it shows a small percent left it is always cleaned up by QBoost. I am maxed out at 8g RAM and I know this entry level NAS processor is getting taxed, but that’s what I have and what I am working with. So being able to say run QBoost every week while I am home or away appears to be a solution to the mem issue.

It’s not a solution, it just puts off the low memory notification from QTS (for a while).

If you’re constantly low on memory, the only fixes are: add more memory, or run fewer applications.

1 Like

To configure the scheduled task in the crontab, and make it persistent:

https://www.qnap.com/en/how-to/faq/article/how-to-add-jobs-to-crontab-to-schedule-a-job

Now, I don’t know it will really help in your case. Seems you are low on RAM.

I have used QBoost on my TS-451 but have never used it on my other two NAS units. It certainly has helped with memory issues on that old machine. But not entirely sure what it does either. If @OneCD is correct, then it doesn’t do much… :smiley:

Thank you for your feedback. This FAQ should be able to resolve the issue you are experiencing. Please give it a try, and if you encounter any problems or have further questions after following the steps, feel free to let us know. Thank you!

I agree with the low on memory idea. For my needs, I am not expecting to move to a larger NAS with more ram. These two units have been operating in the same way for about 7 years now and with only the low memmory issue a few times every few months or less. The low mem issues do not persist, which I thing is good news. With my power outages that invariably occurr (even with my UPSs,) those restarts I suppose are going to take care of the issue. Does the QBoost operation do anything good for me? Perhpas not. Thanks all for the ideas and advice. S

If it temporarily negates the memory warning issues, then that at least is a positive. It really doesn’t do anything else useful or necessary that I am aware of, and really only masks any underlying issues. However, pretty minor positive, pretty minor negative.

Use it if it makes you feel better :slight_smile:

Qboost does a great job at cleaning an excessive use of the swap.

I have it configured in /etc/config/crontab to run every 6 hours. Just add that one line:

0 */6 * * * /bin/echo 1 > /proc/sys/vm/drop_caches