-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
更新华尔街日报的源就内存不足 #13143
Comments
Searching for maintainers:
如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 |
Searching for maintainers:
如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 |
我刚刚试着把redis也打开了。swap也有768MB 。但是更新源的时候瞬间CPU百分百,然后内存急剧上到接近700MB,还是内存爆了。日志报的错误和上面一样。 |
vercel上部署的,第一次能打开,过一会再打开就报这个错误了 This Serverless Function has timed out. Your connection is working correctly. Vercel is working correctly. 504: GATEWAY_TIMEOUT |
官网也打不了 https://rsshub.app/wsj/en-us/opinion 如果返回超时,能理解。但超时爆了内存,就导致后面的feed也更新不了了。连锁反应就不合理。(超时为什么爆内存?) 而且几乎每次都是wsj 看了下昨晚的日志
|
每个小时的自动更新都是WSJ爆了内存,这真不是内存管理的bug么? |
试了官网https://rsshub.app/wsj/zh-cn ,也是一样 Route requested: /zh-cn 这个路由已经几乎用不了了。 |
再测试了官网,可以了,但是自建的就是打不开,套了Warp也不行。 |
路由地址
完整路由地址
相关文档
https://docs.rsshub.app/zh/routes/traditional-media#the-wall-street-journal-(wsj)-hua-er-jie-ri-bao-news
预期是什么?
正常更新
实际发生了什么?
info: /wsj/zh-cn, user IP: ::ffff:172.21.0.4
<--- Last few GCs --->
[18:0x6df5fc0] 1093794 ms: Mark-sweep (reduce) 355.5 (364.3) -> 355.3 (363.1) MB, 1465.0 / 0.0 ms (+ 106.3 ms in 11 steps since start of marking, biggest step 26.0 ms, walltime since start of marking 1631 ms) (average mu = 0.242, current mu = 0.177) fin[18:0x6df5fc0] 1094990 ms: Mark-sweep 356.3 (363.1) -> 356.3 (367.1) MB, 1192.2 / 0.0 ms (average mu = 0.142, current mu = 0.005) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0xb83f50 node::Abort() [node]
2: 0xa94834 [node]
3: 0xd647c0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
4: 0xd64b67 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5: 0xf42265 [node]
6: 0xf5474d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
7: 0xf2ee4e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
8: 0xf30217 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
9: 0xf113ea v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
10: 0x12d674f v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
11: 0x17035b9 [node]
Aborted (core dumped)
部署
自建
部署相关信息
No response
额外信息
这不是重复的 issue
The text was updated successfully, but these errors were encountered: