织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

How to run standard linux commands in noDG游戏cache

时间:2025-07-25 08:40来源: 作者:admin 点击: 1 次
I'd really like to discourage doing this, as it may end up just as disruptive. You'll essentially now force a whole lot more IO, which may well (depen

I'd really like to discourage doing this, as it may end up just as disruptive. You'll essentially now force a whole lot more IO, which may well (depending on your setup) end up contending with mysql for IO which would be just as bad.

If you really must, make wrappers for cp/find/etc in a separate directory and stuff it first in PATH for the vendor script(s) execution environment. I.e.

mkdir /opt/evil echo -en "#! /bin/bash\nexec nocache /bin/cp \"\${@}\"\n" >/opt/evil/cp chmod a+x /opt/evil/cp # repeat for find and any other things you want to be run with nocache export PATH=/opt/evil:${PATH} vendor-script.sh

Additionally - if you use InnoDB, IIRC it does it's own in-process caching and does not rely (as heavily) on the linux pagecache.

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-07-26 08:07 最后登录:2025-07-26 08:07
栏目列表
推荐内容