Skip to content

Unhide does not terminate #12

Description

@Hu6li

Hello,

On RHEL8, I have the problem that unhide-linux sys does not terminate and keeps running for days. The observed behavior does not affect every RHEL8 instance, and currently, I have difficulties identifying which instances are affected.

Unhide is stuck in a loop and keeps checking the PIDs. It repeatedly runs checkps(tmppid, checks), where it checks if the currently_to_be_checked_PID is also listed in the output of ps --no-header -p %i o pid.

Sometimes this succeeds, but if the PID does not exist, it will check for threads using: ps --no-header -eL o lwp. This check takes a lot of time since on my test system there are 4K PIDs returned, which it checks one by one to see if the thread is found.

This command is being executed over and over again without really finishing, thus blocking unhide from completing successfully.

Do you have any suggestions on how to fix this problem?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions