Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-9374

Memory Monitor does not work on Mac OS X

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Mac OS X Snow Leopard

      Description

      When starting Jenkins on Mac OS X Snow Leopard 10.6.7 and going to the nodes page I get the following exception:

      WARNUNG: Failed to monitor master for Freier Swap Space
      java.io.IOException: No suitable implementation found: os.name=Mac OS X os.arch=x86_64 sun.arch.data.model=64
      at org.jvnet.hudson.MemoryMonitor.obtain(MemoryMonitor.java:60)
      at org.jvnet.hudson.MemoryMonitor.get(MemoryMonitor.java:31)
      at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:103)
      at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:99)
      at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
      at hudson.node_monitors.SwapSpaceMonitor$1.monitor(SwapSpaceMonitor.java:83)
      at hudson.node_monitors.SwapSpaceMonitor$1.monitor(SwapSpaceMonitor.java:81)
      at hudson.node_monitors.AbstractNodeMonitorDescriptor$Record.run(AbstractNodeMonitorDescriptor.java:202)

      Seems that the MemoryMonitor does not work for Mac OS X.

        Issue Links

          Activity

          wolfs wolfs created issue -
          wolfs wolfs made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Stefan Wolf
          Path:
          src/main/java/org/jvnet/hudson/Top.java
          http://jenkins-ci.org/commit/extras-memory-monitor/a24039e6e61d4096fedd012bee36f544597bd355
          Log:
          [FIXED JENKINS-9374] For Mac OS added some new command line options and
          two new patterns for swap space. Also changed number of lines to read to
          9, since swap space information for Mac OS is in line 9.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stefan Wolf Path: src/main/java/org/jvnet/hudson/Top.java http://jenkins-ci.org/commit/extras-memory-monitor/a24039e6e61d4096fedd012bee36f544597bd355 Log: [FIXED JENKINS-9374] For Mac OS added some new command line options and two new patterns for swap space. Also changed number of lines to read to 9, since swap space information for Mac OS is in line 9.
          scm_issue_link SCM/JIRA link daemon made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/pom.xml
          http://jenkins-ci.org/commit/jenkins/23daeeec8abe0630c2534fc44769eb86a4425dcd
          Log:
          [FIXED JENKINS-9374] integrated a fix to Mac OS X Snow Leopard memory
          monitor fix.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/pom.xml http://jenkins-ci.org/commit/jenkins/23daeeec8abe0630c2534fc44769eb86a4425dcd Log: [FIXED JENKINS-9374] integrated a fix to Mac OS X Snow Leopard memory monitor fix.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #735
          [FIXED JENKINS-9374] integrated a fix to Mac OS X Snow Leopard memory

          Kohsuke Kawaguchi : 23daeeec8abe0630c2534fc44769eb86a4425dcd
          Files :

          • changelog.html
          • core/pom.xml
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #735 [FIXED JENKINS-9374] integrated a fix to Mac OS X Snow Leopard memory Kohsuke Kawaguchi : 23daeeec8abe0630c2534fc44769eb86a4425dcd Files : changelog.html core/pom.xml
          166_mmx 166_MMX made changes -
          Link This issue is duplicated by JENKINS-9490 [ JENKINS-9490 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/pom.xml
          http://jenkins-ci.org/commit/jenkins/23daeeec8abe0630c2534fc44769eb86a4425dcd
          Log:
          [FIXED JENKINS-9374] integrated a fix to Mac OS X Snow Leopard memory
          monitor fix.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/pom.xml http://jenkins-ci.org/commit/jenkins/23daeeec8abe0630c2534fc44769eb86a4425dcd Log: [FIXED JENKINS-9374] integrated a fix to Mac OS X Snow Leopard memory monitor fix.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          changelog.html
          core/pom.xml
          http://jenkins-ci.org/commit/jenkins/23daeeec8abe0630c2534fc44769eb86a4425dcd
          Log:
          [FIXED JENKINS-9374] integrated a fix to Mac OS X Snow Leopard memory
          monitor fix.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/pom.xml http://jenkins-ci.org/commit/jenkins/23daeeec8abe0630c2534fc44769eb86a4425dcd Log: [FIXED JENKINS-9374] integrated a fix to Mac OS X Snow Leopard memory monitor fix.

            People

            • Assignee:
              wolfs wolfs
              Reporter:
              wolfs wolfs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: