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

Please enter the title of the bug report #14168

Closed
3 tasks done
eureka176 opened this issue Feb 21, 2025 · 1 comment
Closed
3 tasks done

Please enter the title of the bug report #14168

eureka176 opened this issue Feb 21, 2025 · 1 comment

Comments

@eureka176
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

思源进程不断重启

Expected result

使用方式:在win10通过浏览器访问45043端口,没用客户端
启动进程后,看到/var/log/syslog日志中siyuan进程不断重启

Screenshot or screen recording presentation

No response

Version environment

- Version: siyuan-3.1.22-linux-arm64.tar.gz
- Operating System: RPI4+ubuntu 22.04
- Browser (if used):
  Microsoft Edge 版本 133.0.3065.69 (正式版本) (64 位)
- 进程:
/home/eureka/Downloads/siyuan/resources/kernel/SiYuan-Kernel --port 45043 --wd /home/eureka/Downloads/siyuan/resources --accessAuthCode xxx

Log file

Feb 21 20:23:10 RPI4-200 systemd[1]: Started Siyuan Daemon.
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:10 working.go:150:
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: ___ ___ ___ ___
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: / /\ ___ ___ //\ / /\ //
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: / /:/_ / /\ //| \ :\ / /::\ \ :
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: / /:/ /\ / /:/ | |:| \ :\ / /:/:\ \ :
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: / /:/ /::\ /
/::\ | |:| ___ \ :\ / /://::\ __:
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: //:/ /:/:\ _/:_ ||:| /
/\ __:\ /
/:/ /:/:\ /_/::::::::
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: \ :/:/
/:/ \ :/\ //::::\ \ :\ / /:/ \ :/:// \ :~~/
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: \ ::/ /:/ _::/ ~:\ \ :\ /:/ \ ::/ \ :\ ~~~
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: _
/ /:/ //:/ \ :\ \ :/:/ \ :\ \ :
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: /
/:/ _/ _/ \ ::/ \ :\ \ :
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: _/ _/ _/ _/
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:10 runtime.go:87: kernel is booting:
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: * ver [3.1.22]
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: * arch [arm64]
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: * os [ubuntu]
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: * pid [1916]
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: * runtime mode [prod]
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: * working directory [/home/eureka/Downloads/siyuan/resources]
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: * read only [false]
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: * container [std]
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: * database [ver=20220501]
Feb 21 20:23:10 RPI4-200 SiYuan-Kernel[1916]: * workspace directory [/home/share/docs/siyuan_workplace/]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 conf.go:129: loaded conf [/home/share/docs/siyuan_workplace/conf/conf.json]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 conf.go:408: repo key [1]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 conf.go:473: OpenAI API enabled
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: userAgent=SiYuan/3.1.22 std/linux
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: baseURL=https://xxx.com
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: timeout=600s
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: proxy=
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: model=gpt-4
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: maxTokens=0
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: temperature=1.0
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: maxContexts=7
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 conf.go:520: user has disabled [Google Analytics]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 runtime.go:139: use network proxy [system]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 serve.go:209: kernel [pid=1916] http server [0.0.0.0:45043] is booting
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 working.go:515: database [/home/share/docs/siyuan_workplace/temp/siyuan.db] size [71.33 MB]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 working.go:515: database [/home/share/docs/siyuan_workplace/temp/blocktree.db] size [10.69 MB]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 working.go:515: database [/home/share/docs/siyuan_workplace/temp/history.db] size [3.22 MB]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 working.go:515: database [/home/share/docs/siyuan_workplace/temp/asset_content.db] size [241.67 kB]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 conf.go:865: tree/block count [255/30257]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 working.go:196: kernel booted
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 font.go:58: loaded system fonts [48] in [82ms]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 box.go:77: auto stat [trees=255, blocks=30257, dataSize=175.09 MB, assetsSize=95.82 MB]
Feb 21 20:23:11 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:11 disk.go:33: disk usage [total=9.93 TB, used=789.72 GB, free=8.64 TB]
Feb 21 20:23:12 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:12 fixedport.go:35: fixed port service [0.0.0.0:6806] is running
Feb 21 20:23:15 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:15 pandoc.go:186: initialized built-in pandoc [ver=, bin=]
Feb 21 20:23:15 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:23:15 conf.go:1127: pandoc initialized, set pandoc bin to []
Feb 21 20:24:11 RPI4-200 SiYuan-Kernel[1916]: W 2025/02/21 20:24:11 process.go:66: no active UI proc, continue to check from attached ui processes after 15s
Feb 21 20:24:26 RPI4-200 SiYuan-Kernel[1916]: W 2025/02/21 20:24:26 process.go:72: no active UI proc, continue to check from all processes after 15s
Feb 21 20:24:41 RPI4-200 SiYuan-Kernel[1916]: W 2025/02/21 20:24:41 process.go:80: confirmed no active UI proc, exit kernel process now
Feb 21 20:24:41 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:24:41 conf.go:617: exiting kernel [force=false, setCurrentWorkspace=true, execInstallPkg=1]
Feb 21 20:24:41 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:24:41 database.go:1318: closed database
Feb 21 20:24:41 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:24:41 conf.go:1048: cleared workspace temp
Feb 21 20:24:41 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:24:41 sync.go:798: sync websocket closed
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:24:42 conf.go:687: exited kernel
Feb 21 20:24:42 RPI4-200 systemd[1]: siyuan.service: Deactivated successfully.
Feb 21 20:24:42 RPI4-200 systemd[1]: siyuan.service: Consumed 5.200s CPU time.
Feb 21 20:24:42 RPI4-200 systemd[1]: siyuan.service: Scheduled restart job, restart counter is at 12.
Feb 21 20:24:42 RPI4-200 systemd[1]: Stopped Siyuan Daemon.
Feb 21 20:24:42 RPI4-200 systemd[1]: siyuan.service: Consumed 5.200s CPU time.
Feb 21 20:24:42 RPI4-200 systemd[1]: Started Siyuan Daemon.
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: I 2025/02/21 20:24:42 working.go:150:
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: ___ ___ ___ ___
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: / /\ ___ ___ //\ / /\ //
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: / /:/_ / /\ //| \ :\ / /::\ \ :
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: / /:/ /\ / /:/ | |:| \ :\ / /:/:\ \ :
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: / /:/ /::\ /
/::\ | |:| ___ \ :\ / /://::\ __:
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: //:/ /:/:\ _/:_ ||:| /
/\ __:\ /
/:/ /:/:\ /_/::::::::
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: \ :/:/
/:/ \ :/\ //::::\ \ :\ / /:/ \ :/:// \ :~~/
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: \ ::/ /:/ _::/ ~:\ \ :\ /:/ \ ::/ \ :\ ~~~
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: _
/ /:/ //:/ \ :\ \ :/:/ \ :\ \ :
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: /
/:/ _/ _/ \ ::/ \ :\ \ :
Feb 21 20:24:42 RPI4-200 SiYuan-Kernel[1928]: _/ _/ _/ _/

More information

No response

@88250
Copy link
Member

88250 commented Feb 22, 2025

设计如此,桌面端内核在没有界面连接的情况下会自动退出。

Feb 21 20:24:11 RPI4-200 SiYuan-Kernel[1916]: W 2025/02/21 20:24:11 process.go:66: no active UI proc, continue to check from attached ui processes after 15s
Feb 21 20:24:26 RPI4-200 SiYuan-Kernel[1916]: W 2025/02/21 20:24:26 process.go:72: no active UI proc, continue to check from all processes after 15s
Feb 21 20:24:41 RPI4-200 SiYuan-Kernel[1916]: W 2025/02/21 20:24:41 process.go:80: confirmed no active UI proc, exit kernel process now
Feb 21 20:24:41 RPI4-200 SiYuan-Kernel[1916]: I 2025/02/21 20:24:41 conf.go:617: exiting kernel [force=false, setCurrentWorkspace=true, execInstallPkg=1]

@88250 88250 closed this as completed Feb 22, 2025
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