You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "liangcw1111 (via GitHub)" <gi...@apache.org> on 2025/07/29 06:53:08 UTC
[I] [Bug] [seatunnel-engine] imap数据量无限膨胀 [seatunnel]
liangcw1111 opened a new issue, #9637:
URL: https://github.com/apache/seatunnel/issues/9637
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
有两个imap会无限膨胀,一个是runningJobStateIMap, 这个imap扔了4种类型的key进去,但是只移除了3种,目前我司每日任务有8000+ 这个imap每天膨胀8000+
第二个是metricsImap,这个imap的移除需要先获取锁,若获取锁失败则直接return没有抛出异常,所以不会触发重试,在集群负载比较高时会导致imap数据清理失败
相关代码见截图
### SeaTunnel Version
2.3.10
### SeaTunnel Config
```conf
seatunnel:
engine:
classloader-cache-mode: true
history-job-expire-minutes: 1440
backup-count: 1
queue-type: blockingqueue
print-execution-info-interval: 60
print-job-metrics-info-interval: 60
slot-service:
dynamic-slot: true
checkpoint:
interval: 10000
timeout: 60000
storage:
type: hdfs
max-retained: 3
plugin-config:
namespace: /tmp/seatunnel/checkpoint_snapshot
storage.type: hdfs
fs.defaultFS: file:///tmp/ # Ensure that the directory has written permission
telemetry:
metric:
enabled: false
logs:
scheduled-deletion-enable: true
http:
enable-http: true
port: 8080
enable-dynamic-port: false
```
### Running Command
```shell
sh /alidata1/za-seatunnel/seatunnel-2.3.10/bin/seatunnel-cluster.sh -d -r worker
```
### Error Exception
```log
无
```
### Zeta or Flink or Spark Version
_No response_
### Java or Scala Version
_No response_
### Screenshots
<!-- Failed to upload "企业微信截图_20250729144403.png" -->
<!-- Failed to upload "企业微信截图_20250729144428.png" -->
<!-- Failed to upload "企业微信截图_20250729144842.png" -->
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [seatunnel-engine] Memory Leak [seatunnel]
Posted by "Hisoka-X (via GitHub)" <gi...@apache.org>.
Hisoka-X commented on issue #9637:
URL: https://github.com/apache/seatunnel/issues/9637#issuecomment-3173189598
Hi @dybyte , any update for this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [seatunnel-engine] Memory Leak [seatunnel]
Posted by "dybyte (via GitHub)" <gi...@apache.org>.
dybyte commented on issue #9637:
URL: https://github.com/apache/seatunnel/issues/9637#issuecomment-3146886721
Thanks for reporting this issue @liangcw1111
@Hisoka-X Is it okay if I take this issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [seatunnel-engine] imap数据量无限膨胀 [seatunnel]
Posted by "liangcw1111 (via GitHub)" <gi...@apache.org>.
liangcw1111 commented on issue #9637:
URL: https://github.com/apache/seatunnel/issues/9637#issuecomment-3130949418
<img width="643" height="333" alt="Image" src="https://github.com/user-attachments/assets/63ff6890-fb30-4fe1-a46a-b0bc840045a1" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [seatunnel-engine] imap数据量无限膨胀 [seatunnel]
Posted by "liangcw1111 (via GitHub)" <gi...@apache.org>.
liangcw1111 commented on issue #9637:
URL: https://github.com/apache/seatunnel/issues/9637#issuecomment-3130947965
<img width="595" height="221" alt="Image" src="https://github.com/user-attachments/assets/cb3fdcd9-5910-456a-88bb-a467a7af7548" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [seatunnel-engine] imap数据量无限膨胀 [seatunnel]
Posted by "liangcw1111 (via GitHub)" <gi...@apache.org>.
liangcw1111 commented on issue #9637:
URL: https://github.com/apache/seatunnel/issues/9637#issuecomment-3130946569
<img width="595" height="195" alt="Image" src="https://github.com/user-attachments/assets/1449cbdf-a675-43dc-ba84-22983154fe31" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [seatunnel-engine] Memory Leak [seatunnel]
Posted by "dybyte (via GitHub)" <gi...@apache.org>.
dybyte commented on issue #9637:
URL: https://github.com/apache/seatunnel/issues/9637#issuecomment-3178400277
Hi @Hisoka-X,
The main fixes are implemented, and I’ve submitted the PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [seatunnel-engine] Memory Leak [seatunnel]
Posted by "dybyte (via GitHub)" <gi...@apache.org>.
dybyte commented on issue #9637:
URL: https://github.com/apache/seatunnel/issues/9637#issuecomment-3173703637
Hi @Hisoka-X , I’m currently working on writing test code for the fixes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [seatunnel-engine] imap数据量无限膨胀 [seatunnel]
Posted by "liangcw1111 (via GitHub)" <gi...@apache.org>.
liangcw1111 commented on issue #9637:
URL: https://github.com/apache/seatunnel/issues/9637#issuecomment-3131439401
另外CoordinatorService 的 pendingJobMasterMap 在固定slot&REJECT配置时, 若资源不足则任务失败但是pendingJobMasterMap 没有清理
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] [seatunnel-engine] Memory Leak [seatunnel]
Posted by "Hisoka-X (via GitHub)" <gi...@apache.org>.
Hisoka-X closed issue #9637: [Bug] [seatunnel-engine] Memory Leak
URL: https://github.com/apache/seatunnel/issues/9637
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org