Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3675

Eliminate ps command and use /proc/<pid> status in ServerUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • storm-server
    • None

    Description

      In ServerUtils.java, the ps command is very expensive on loaded Linux system. when trying to determine if all worker processes are dead. Changed ownership or missing /proc/<pid> directory for should be sufficient to detect death of process.

       

      Attachments

        Activity

          People

            bipinprasad Bipin Prasad
            bipinprasad Bipin Prasad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m