3.2.0.beta4-dev를 업데이트가 아닌 단순 재빌드로 실행 중입니다. 완전 패치된 Ubuntu 22를 기반으로 하고 있습니다.
- 아래 log1 참조: 메시지가 단순히 경고라는 점은 알고 있습니다. 관리자에게 "에러"처럼 보이는 것으로 예상되는 상황에서 INFO가 설정에 주입되도록 제안합니다:
INFO: 다음 명령은 무시해도 되는 예상된 경고를 출력할 수 있습니다.
- 마찬가지로, 수년 동안 " Background saving terminated with success "에서 멈춤이나 정체가 발생한다는 보고가 있었습니다. 문제는 백그레이브 저장 자체에 있는 것이 아니라, 그 다음에 수행되지만 공지되지 않는 프로세스에 있습니다. 그 다음 작업은 다른 작업들과 비교했을 때 단순히 시간이 오래 걸릴 수 있습니다. 여기에도 INFO 노트가 도움이 될 것입니다:
INFO: 다음 작업은 시간이 오래 걸릴 수 있습니다. 5분에서 30분 이상 소요될 수 있습니다.
INFO: 인내심을 갖고 이 프로세스를 중단하지 마세요.
- 실제 텍스트 "Background saving terminated with success"는 . 왜 무언가를 저장하는 백그라운드 프로세스를 "종료(terminate)"해야 하는 것일까요?
* Background saving started by pid 904
* DB saved on disk
* Fork CoW for RDB: current 1 MB, peak 1 MB, average 0 MB
* Background saving terminated with success
"백그라운드가 종료되지 않았다"는 의미, 즉 "작업을 종료하려는 의도로 동작이 수행되었다"는 점은 이해합니다. 하지만 동사 "terminate"는 타동사나 부동사로 사용될 수 있습니다. 이 부분을 "Background DB save completed successfully"처럼 모호하지 않은 표현으로 변경하는 것은 어떨까요?
- 아래 log2 참조 및 위의 #2와 관련. 해당 백그라운드 저장 프로세스 이후에 의도된 동작은 무엇인가요? 저는 모르지만, 24분간 기다리면 실제로 “에러” 문제로 보이는 “Warning” 메시지가 표시됩니다. 하나 이상의 장시간 실행 작업이 시작되기 전에, 시도될 내용을 설명하는 INFO를 제안합니다:
INFO: 이메일과 관련된 작업이 곧 수행될 예정입니다.
INFO: 다음 작업은 시간이 오래 걸릴 수 있습니다. 5분에서 30분 이상 소요될 수 있습니다.
INFO: 인내심을 갖고 이 프로세스를 중단하지 마세요.
그리고 "이슈 보고서"로, 20분 이상의 지연과 그 후의 경고가 최신 beta-dev에서 항상 발생하고 있음을 언급합니다. “LOG: database system is shut down” 메시지와 그 후에 발생하는 긴 대기 시간은 우려를 자아냅니다.
감사합니다!!
Log1:
I, [2023-11-30T19:16:37.221350 #1] INFO -- :
I, [2023-11-30T19:16:37.222007 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning " > @glint/environment-ember-loose@1.1.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning " > @glint/environment-ember-template-imports@1.1.0" has unmet peer dependency "ember-template-imports@^3.0.0".
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
warning Pattern ["wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/home/discourse/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi-c
js@npm:wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-577e4c44-4eab-4cdd-b260-702143419d8a > discourse > @ember/legacy-built-in-components@0.5.0" has incorrect peer dependency "ember-source@>= 4.8".
warning "workspace-aggregator-577e4c44-4eab-4cdd-b260-702143419d8a > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-577e4c44-4eab-4cdd-b260-702143419d8a > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-577e4c44-4eab-4cdd-b260-702143419d8a > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-577e4c44-4eab-4cdd-b260-702143419d8a > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-577e4c44-4eab-4cdd-b260-702143419d8a > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
I, [2023-11-30T19:20:49.159245 #1] INFO -- : yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Log2:
110:M 30 Nov 2023 02:09:26.839 * Background saving terminated with success
2023-11-30 02:33:14.679 UTC [41] LOG: lock file "postmaster.pid" contains wrong PID: 566 instead of 41
2023-11-30 02:33:14.689 UTC [41] LOG: performing immediate shutdown because data directory lock file is invalid
2023-11-30 02:33:14.689 UTC [41] LOG: received immediate shutdown request
2023-11-30 02:33:14.849 UTC [982] WARNING: terminating connection because of crash of another server process
2023-11-30 02:33:14.849 UTC [982] DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2023-11-30 02:33:14.849 UTC [982] HINT: In a moment you should be able to reconnect to the database and repeat your command.
2023-11-30 02:33:14.898 UTC [48] WARNING: terminating connection because of crash of another server process
2023-11-30 02:33:14.898 UTC [48] DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2023-11-30 02:33:14.898 UTC [48] HINT: In a moment you should be able to reconnect to the database and repeat your command.
2023-11-30 02:33:15.486 UTC [41] LOG: database system is shut down