High CPU Usage scoketserver.pl Napp-IT

Discussion in 'Solaris, Nexenta, OpenIndiana, and napp-it' started by TechIsCool, Aug 3, 2015.

  1. TechIsCool

    TechIsCool Active Member

    Joined:
    Feb 8, 2012
    Messages:
    263
    Likes Received:
    117
    @gea this is a question for you but I thought I would make it public so if someone searches for it they get results.

    I have a Low power HP Micro server running Napp-IT and I have been watching it recently to figure out where the CPU usage is going.

    What does socketserver.pl do while idle that is consuming a good share of my CPU 10-60% most of the time
     
    #1
  2. gea

    gea Well-Known Member

    Joined:
    Dec 31, 2010
    Messages:
    2,337
    Likes Received:
    784
    Socketserver.pl starts the Mojolicious html5 websocketserver with some agents to collect iostat and other stat values to be displayed as realtime graphs. It is also used to update the output of some menus like jobs.

    You can reduce the load when you disable monitoring. Click on "Mon" in the upper right to enable/ disable monitoring.
    If you want to disable completely, you can stop napp-it webservices (console as root)
    /etc/init.d/napp-it stop

    or start via
    /etc/init.d/napp-it start

    or
    you can edit this file and comment out the start of socketserver.pl
     
    #2
    T_Minus likes this.
  3. TechIsCool

    TechIsCool Active Member

    Joined:
    Feb 8, 2012
    Messages:
    263
    Likes Received:
    117
    @gea so the interesting thing is that the logs are still collected even if monitoring is disabled due to being the Free Edition. I have a dashed out mon section top right. it is sent to href="#"

    When commented out from the init script it works fine and does not pester the CPU anymore.
     
    #3
Similar Threads: High Usage
Forum Title Date
Solaris, Nexenta, OpenIndiana, and napp-it WD Ultrastar DC SS 530 SAS SSD for high performance HA storage/Slog Jan 10, 2019
Solaris, Nexenta, OpenIndiana, and napp-it Update for OmniOS 151014LTS: NFS exhausts memory under high write loads Jul 28, 2015
Solaris, Nexenta, OpenIndiana, and napp-it OmniOS + NappIT VM Appliance: Major Fault/Very high CPU Jan 29, 2014
Solaris, Nexenta, OpenIndiana, and napp-it OpenIndiana + OpenSource Clustering and HA/ High Availablity Apr 27, 2012
Solaris, Nexenta, OpenIndiana, and napp-it Napp-it Virtual Machine Memory Usage Critical Dec 11, 2019

Share This Page