Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何挂载dp #14

Closed
zyx134 opened this issue Mar 31, 2022 · 2 comments
Closed

请问如何挂载dp #14

zyx134 opened this issue Mar 31, 2022 · 2 comments

Comments

@zyx134
Copy link

zyx134 commented Mar 31, 2022

我试过修改/root/run文件
if $PRELOAD_LD;then
LD_PRELOAD=/lib/libhook.so ./df_game_r siroco11 start &
sleep 2
LD_PRELOAD=/lib/libhook.so ./df_game_r siroco52 start &
else
./df_game_r siroco11 start &
sleep 2
./df_game_r siroco52 start &
fi
。修改为
LD_PRELOAD=/data/ext/dp2.6/dp2/libdp2pre.so ./df_game_r siroco11 start &
LD_PRELOAD=/data/ext/dp2.6/dp2/libdp2pre.so ./df_game_r siroco52 start &
,但是重启docker之后又恢复成上面的了

@zyx134 zyx134 closed this as completed Mar 31, 2022
@XanderYe
Copy link
Collaborator

修改容器内的 /home/template/root/run

@XanderYe
Copy link
Collaborator

建议替换libGeoIP.so.1,这样还是能使用libhook.so优化cpu占用;或者使用集成了DP的站库分离 https://github.com/XanderYe/dnf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants