Skip to content

Red5 CPU usage 100% #252

Closed as not planned
Closed as not planned
@anvishwakarma

Description

@anvishwakarma

Issue

The red5 threads enter in infinite loop and consumes 100% cpu.

Short description

When RTMP client disconnects, it is not able to clear the session buffer and while trying to do so it enters in infinite loop due to incorrect logic in RTMPProtocolDecoder.java (decodebuffer).

Environment

Operating system and version: Ubuntu 16.04
Java version: java 8
Red5 version: 1.0.9

Expected behavior

Session should be disconnected and all resources released.

Actual behavior

Session disconnects but enters in infinite loop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions