Skip to content

[Feature][public]Kerberos认证开启后ps-public服务容易oom优化 #5312

@v-kkhuang

Description

@v-kkhuang

Search before asking

  • I had searched in the https://github.com/apache/linkis/issues and found no similar feature requirement.

Problem Description

当Kerberos认证开启后,ps-public服务容易发生内存溢出(OOM)问题,影响服务稳定性。

Description

  1. 启用Kerberos认证后,ps-public服务内存占用显著增加
  2. 在高并发场景下,服务容易触发OOM导致崩溃
  3. 需要优化Kerberos认证相关的内存使用,提高服务稳定性

Use case

在启用Kerberos认证的生产环境中,确保ps-public服务能够稳定运行,避免因OOM导致服务中断。

Solutions

  1. 分析Kerberos认证过程中的内存使用情况
  2. 优化认证缓存机制,避免内存泄漏
  3. 调整相关配置参数,如连接池大小、超时时间等
  4. 实现内存监控和自动回收机制
  5. 进行压力测试,验证优化效果

Anything else

none

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions