GeminiChatUp icon indicating copy to clipboard operation
GeminiChatUp copied to clipboard

似乎本地运行崩溃的概率较高。

Open Yisiooo opened this issue 1 year ago • 2 comments

不太清楚是什么原因。本来用nohup跑的。但是似乎几个小时内就消失了。多次测试都这样。现在改成了pm2。一天下来发现pm2统计他重启了16次。服务器性能应该是满足的。也没有高负载的状态。不清楚具体原因。pm2的log记录内容不多。看了下nohup的日志。具体如下

▲ Next.js 14.0.4

  • Local: http://localhost:3008
  • Environments: .env

warning package.json: "dependencies" has dependency "postcss" with range "8.4.28" that collides with a dependency in "devDependencies" of the same name with version "^8" warning package.json: "dependencies" has dependency "tailwindcss" with range "3.3.3" that collides with a dependency in "devDependencies" of the same name with version "^3.3.0" warning package.json: "dependencies" has dependency "typescript" with range "5.1.6" that collides with a dependency in "devDependencies" of the same name with version "^5" ✓ Ready in 4.2s ○ Compiling / ... ✓ Compiled / in 8.9s (2542 modules) WARNING: Panel defaultSize prop recommended to avoid layout shift after server rendering ✓ Compiled in 2.2s (1258 modules) ○ Compiling /favicon.ico ... ✓ Compiled /favicon.ico in 1499ms (1312 modules) ○ Compiling /middleware ... ✓ Compiled /middleware in 868ms (75 modules) ○ Compiling /api/geminicontent ... ✓ Compiled /api/geminicontent in 724ms (197 modules) Error: aborted at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:531:35) at TCP. (node:net:337:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } ⨯ uncaughtException: Error: aborted at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:531:35) at TCP. (node:net:337:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } ⨯ uncaughtException: Error: aborted at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:531:35) at TCP. (node:net:337:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } Error: aborted at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:531:35) at TCP. (node:net:337:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } ⨯ uncaughtException: Error: aborted at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:531:35) at TCP. (node:net:337:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } ⨯ uncaughtException: Error: aborted at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:531:35) at TCP. (node:net:337:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } Error: aborted at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:531:35) at TCP. (node:net:337:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } ⨯ uncaughtException: Error: aborted at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:531:35) at TCP. (node:net:337:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } ⨯ uncaughtException: Error: aborted at abortIncoming (node:_http_server:793:17) at socketOnClose (node:_http_server:787:3) at Socket.emit (node:events:531:35) at TCP. (node:net:337:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'ECONNRESET' } WARNING: Panel defaultSize prop recommended to avoid layout shift after server rendering WARNING: Panel defaultSize prop recommended to avoid layout shift after server rendering WARNING: Panel defaultSize prop recommended to avoid layout shift after server rendering WARNING: Panel defaultSize prop recommended to avoid layout shift after server rendering

问了下gpt。是因为3个版本的问题么?

Yisiooo avatar Jan 25 '24 13:01 Yisiooo

持续报错导致的内存升高吧。可以使用非stream 模式看看

3个版本是什么意思?

loo-y avatar Jan 25 '24 14:01 loo-y

持续报错导致的内存升高吧。可以使用非stream 模式看看

3个版本是什么意思?

warning package.json: "dependencies" has dependency "postcss" with range "8.4.28" that collides with a dependency in "devDependencies" of the same name with version "^8" warning package.json: "dependencies" has dependency "tailwindcss" with range "3.3.3" that collides with a dependency in "devDependencies" of the same name with version "^3.3.0" warning package.json: "dependencies" has dependency "typescript" with range "5.1.6" that collides with a dependency in "devDependencies" of the same name with version "^5" 就是这三个版本。。应该是内存的问题。昨天到目前没有任何问题。。

Yisiooo avatar Jan 26 '24 07:01 Yisiooo