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

【deepin_V23_Release】【一般】【立即】【预发布测试】【系统】重启与关机,停留在LOGO界面时间过长,达到90秒以上 #8554

Closed
kobe337 opened this issue May 13, 2024 · 10 comments
Labels
吴波 吴波 回归通过 回归通过 陈会星 陈会星
Milestone

Comments

@kobe337
Copy link

kobe337 commented May 13, 2024

关联问题单:
#5087
#4424

SUMMARY | 问题概要

重启与关机,停留在LOGO界面时间过长,达到90秒以上

SOFTWARE/OS VERSIONS | 软件/系统版本信息

镜像版本:Deepin OS-23-20240509035255-1_x86_64

PRE-REQUIREMENT | 预置条件

No response

STEPS TO REPRODUCE | 复现步骤

1、开启常用应用,如浏览器、wine应用或者其他应用,执行重启或关机操作

OBSERVED RESULT | 观察到的结果

重启与关机,停留在LOGO界面时间过长,达到90秒以上
2bfb2ee557a469ffb28e016c2e58f5e2
image

EXPECTED RESULT | 期望的结果

重启与关机的操作,建议提升用户体验,优化耗时,比如10秒内进入重启与关机的流程中

ADDITIONAL INFORMATION | 额外补充

No response

@kobe337 kobe337 added this to the V23-Release milestone May 13, 2024
zsien added a commit to zsien/dde-application-manager that referenced this issue May 13, 2024
添加 systemd drop-in 文件,将 app-DDE- 开头的
服务退出超时时间设置为 5s

Issues: linuxdeepin/developer-center#8554
@kegechen
Copy link

现在修改后按这个方式执行,RC先只做到12
背景:当前关机需要90秒时间,影响体验
原因:
1自研应用关机时存在阻塞
2.三方应用阻塞
3.系统阻塞等待时间为90s
解决方案修改阻塞等待时间:
1.调整等待时间am启动相关的为3秒杀死进程(RC处理方案)
2.其他应用阻塞等待时间调整为30s(RC处理方案)
3.自研应用阻塞问题需要排查 (release处理)
4.如通过AM阻塞项需要暴露给用户可进行管理(长期工作)

zsien added a commit to zsien/dde-application-manager that referenced this issue May 13, 2024
添加 systemd drop-in 文件,将 app-DDE- 开头的
服务退出超时时间设置为 3s

Issues: linuxdeepin/developer-center#8554
@babyfengfjx babyfengfjx assigned zsien and unassigned babyfengfjx May 13, 2024
@meiyixiang
Copy link
Member

现在修改后按这个方式执行,RC先只做到12
背景:当前关机需要90秒时间,影响体验
原因:
1自研应用关机时存在阻塞
2.三方应用阻塞
3.系统阻塞等待时间为90s
解决方案修改阻塞等待时间:
1.调整等待时间am启动相关的为3秒杀死进程(RC处理方案)
2.其他应用阻塞等待时间调整为30s(RC处理方案)
3.自研应用阻塞问题需要排查 (release处理)
4.如通过AM阻塞项需要暴露给用户可进行管理(长期工作)

@babyfengfjx babyfengfjx assigned kobe337 and unassigned zsien May 14, 2024
@babyfengfjx
Copy link

@kobe337 请在最新版本回归验证。

@kobe337 kobe337 assigned kamiyadm and unassigned kobe337 May 14, 2024
@kobe337
Copy link
Author

kobe337 commented May 14, 2024

【环境】:
镜像:Deepin OS-23-20240509035255-1_x86_64
仓库:提测单仓库
内核:Linux deepinb3-PC 6.6.25-amd64-desktop-hwe #23.01.00.25 SMP PREEMPT_DYNAMIC Wed Apr 10 21:20:25 CST 2024 x86_64 GNU/Linux

【结论】:
测试未通过,存在dbus-service服务阻止进入重启或者关机的流程。

@kobe337
Copy link
Author

kobe337 commented May 14, 2024

@kamiyadm 经DDE研发同事确认,目前定位为玲珑版本的日历存在阻止进入流程,麻烦帮忙分析下哈
image
7366138d2e3b5bac36787ea6ccd46bdc

@kamiyadm
Copy link

kamiyadm commented May 14, 2024

玲珑启动的dde-calender-service 收到SIGTERM后没有退出, 通过将dde-calendar-service换成收到SIGTERM退出的demo程序可以正常退出,基本可以排除不是玲珑本体及crun的问题。

zsien added a commit to zsien/default-settings that referenced this issue May 14, 2024
@zsien zsien assigned kobe337 and unassigned kamiyadm May 15, 2024
zsien added a commit to zsien/dde-application-manager that referenced this issue May 15, 2024
添加 systemd drop-in 文件,将 app-DDE- 开头的
服务退出超时时间设置为 3s

Issues: linuxdeepin/developer-center#8554
@kobe337
Copy link
Author

kobe337 commented May 15, 2024

需求链接为 https://cooperation.uniontech.com/app/6f20cf83-ef8a-4067-bac9-b05c6d6bbcb6/659cb107406deda90632107c/6639cb45406deda906d32949/row/ac378b9b-cd5c-48d3-a62e-c1221116acd4

现在修改后按这个方式执行,RC先只做到12 背景:当前关机需要90秒时间,影响体验 原因: 1自研应用关机时存在阻塞 2.三方应用阻塞 3.系统阻塞等待时间为90s 解决方案修改阻塞等待时间: 1.调整等待时间am启动相关的为3秒杀死进程(RC处理方案) 2.其他应用阻塞等待时间调整为30s(RC处理方案) 3.自研应用阻塞问题需要排查 (release处理) 4.如通过AM阻塞项需要暴露给用户可进行管理(长期工作)

@kobe337 kobe337 assigned kamiyadm and unassigned kobe337 May 15, 2024
@kobe337
Copy link
Author

kobe337 commented May 15, 2024

@kamiyadm 请帮忙排查一下哈

玲珑启动的dde-calender-service 收到SIGTERM后没有退出, 通过将dde-calendar-service换成收到SIGTERM退出的demo程序可以正常退出,可以排除不是玲珑本体及crun的问题。

@kamiyadm
Copy link

kamiyadm commented May 16, 2024

临时在玲珑里修复一下,验证通过后换成玲珑的issue跟踪吧.
修复链接:OpenAtom-Linyaps/linyaps#439
新issure地址: OpenAtom-Linyaps/linyaps#440

@kobe337
Copy link
Author

kobe337 commented May 17, 2024

验证通过
【环境】:
镜像:Deepin OS-23-20240201095244-1_x86_64
仓库:提测单仓库 #8554
内核:Linux deepin-PC 6.6.25-amd64-desktop-hwe #23.01.00.25 SMP PREEMPT_DYNAMIC Wed Apr 10 21:20:25 CST 2024 x86_64 GNU/Linux

【结论】:
测试通过,暂无严重问题及影响, 按照issue操作验证回归,开启玲珑版本的浏览器、日历、邮箱,执行重启操作,验证通过

@kobe337 kobe337 closed this as completed May 17, 2024
@kobe337 kobe337 added 回归通过 回归通过 吴波 吴波 陈会星 陈会星 labels May 17, 2024
kegechen pushed a commit to linuxdeepin/dde-application-manager that referenced this issue May 27, 2024
添加 systemd drop-in 文件,将 app-DDE- 开头的
服务退出超时时间设置为 3s

Issues: linuxdeepin/developer-center#8554
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
吴波 吴波 回归通过 回归通过 陈会星 陈会星
Projects
Status: CLOSED
Development

No branches or pull requests

6 participants