Skip to content

Microsoft.AspNetCore.Server.Kestrel , Heartbeat took longer than "00:00:01" #17321

@dingsongjie

Description

@dingsongjie

I ran an aspnet core service in kubernetes and was limited to 2 cpu, sometimes I found it killed by kubernetes, because its health check failed, and I also found some logs,It shows the threadpool was busy.

ServiceName:Archives @timestamp:November 22nd 2019, 12:09:11.242 LoggerName:Microsoft.AspNetCore.Server.Kestrel HostName:api-b5bdcdb89-qs649 Level:WARN Message:Heartbeat took longer than "00:00:01" at "11/22/2019 04:09:11 +00:00". _id:H4VMkW4BNxpo_f7ksKOv _type:_doc _index:service_log_2019-11-22 _score: -

But the cpu usage is low ,and I have not set a memory limit, what happend to it ?
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions