Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-16103

Preflight info is dumped into esp log even though logLevel=1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.4
    • Fix Version/s: 6.0.6
    • Component/s: ESP
    • Labels:
      None

      Description

      Michael Gardner Kevin Wang

      Whenever I run preflight on a system, it looks like the entire preflight dump is written to the esp.log.

      Here's an example:

      0000458A 2016-08-16 10:30:57.880 3443 12610 "HTTP First Line: POST /ws_machine/GetMachineInfo HTTP/1.1"
      0000458B 2016-08-16 10:30:57.881 3443 12610 "POST /ws_machine/GetMachineInfo, from unknown@10.176.152.82"
      0000458C 2016-08-16 10:30:59.225 3443 11976 "ssh result(0):
      CPU-Idle: 100%
      ComputerUpTime: 10:30:59 up 97 days, 3:41
      --SpaceUsedAndFree--
      Physical Memory: 357772 3695932
      Swap: 812104 3382192
      /: 1942472 154680
      /dev/shm: 0 2097152
      /mnt/disk1: 9519100 264071680
      /mnt/disk2: 2889572 270701208
      --ProcessList1--
      Process /var/run/HPCCSystems/mydali: 2556 5-21:15:16
      Process /var/run/HPCCSystems/mydfuserver: 2732 5-21:15:15
      Process /var/run/HPCCSystems/myeclagent: 2912 5-21:15:14
      Process /var/run/HPCCSystems/myeclccserver: 3080 5-21:15:12
      Process /var/run/HPCCSystems/myeclscheduler: 3270 5-21:15:10
      Process /var/run/HPCCSystems/myesp: 3443 5-21:15:09
      Process /var/run/HPCCSystems/mysasha: 3913 5-21:15:05
      --ProcessList2--
      PID CMD
      1 init
      2 kthreadd
      3 migration/0
      4 ksoftirqd/0
      5 stopper/0
      6 watchdog/0
      7 migration/1
      8 stopper/1
      9 ksoftirqd/1
      10 watchdog/1
      11 migration/2
      12 stopper/2
      13 ksoftirqd/2
      14 watchdog/2
      15 migration/3
      16 stopper/3
      17 ksoftirqd/3
      18 watchdog/3
      19 events/0
      20 events/1
      21 events/2
      22 events/3
      23 events/0
      24 events/1
      25 events/2
      26 events/3
      27 events_long/0
      28 events_long/1
      29 events_long/2
      30 events_long/3
      31 events_power_ef
      32 events_power_ef
      33 events_power_ef
      34 events_power_ef
      35 cgroup
      36 khelper
      37 netns
      38 async/mgr
      39 pm
      40 sync_supers
      41 bdi-default
      42 kintegrityd/0
      43 kintegrityd/1
      44 kintegrityd/2
      45 kintegrityd/3
      46 kblockd/0
      47 kblockd/1
      48 kblockd/2
      49 kblockd/3
      50 kacpid
      51 kacpi_notify
      52 kacpi_hotplug
      53 ata_aux
      54 ata_sff/0
      55 ata_sff/1
      56 ata_sff/2
      57 ata_sff/3
      58 ksuspend_usbd
      59 khubd
      60 kseriod
      61 md/0
      62 md/1
      63 md/2
      64 md/3
      65 md_misc/0
      66 md_misc/1
      67 md_misc/2
      68 md_misc/3
      69 linkwatch
      70 khungtaskd
      71 kswapd0
      72 ksmd
      74 aio/0
      75 aio/1
      76 aio/2
      77 aio/3
      78 crypto/0
      79 crypto/1
      80 crypto/2
      81 crypto/3
      88 kthrotld/0
      89 kthrotld/1
      90 kthrotld/2
      91 kthrotld/3
      93 kpsmoused
      94 usbhid_resumer
      95 deferwq
      118 rpciod/0
      119 rpciod/1
      120 rpciod/2
      121 rpciod/3
      122 kslowd000
      123 kslowd001
      124 nfsiod
      895 edac-poller
      1076 ttm_swap
      1083 radeon-crtc
      1084 radeon-crtc
      1147 mpt_poll_0
      1148 mpt/0
      1149 scsi_eh_0
      1199 kdmremove
      1200 kstriped
      1297 kauditd
      1502 dhclient
      1795 jbd2/sda1-8
      1796 ext4-dio-unwrit
      1823 jbd2/sdb1-8
      1824 ext4-dio-unwrit
      1891 dbus-daemon
      2020 master
      2030 qmgr
      2034 crond
      2330 init_dafilesrv
      2397 dafilesrv
      2490 init_dali
      2556 daserver
      2666 init_dfuserver
      2732 dfuserver
      2844 init_eclagent
      2912 agentexec
      3014 init_eclccserve
      3080 eclccserver
      3204 init_eclschedul
      3270 eclscheduler
      3377 init_esp
      3443 esp
      3548 init_roxie
      3617 roxie
      3846 init_sasha
      3913 saserver
      4022 init_thor
      5303 rsyslogd
      5383 mingetty
      5385 mingetty
      5387 mingetty
      5390 mingetty
      5392 mingetty
      5394 mingetty
      10226 thorslave_mytho
      10230 thormaster_myth
      11325 crond
      11326 sync_logins
      11327 sync_logins
      11328 sleep
      11340 pickup
      11357 sshd
      11363 sshd
      11364 bash
      11878 tail
      12613 sshd
      12615 ssh
      12616 sshd
      12617 preflight
      12703 ps
      12704 tail
      12705 awk
      14119 flush-8:0
      20944 udevd
      21141 sshd
      21172 snmpd
      21407 ntpd
      31934 sshd
      31940 sshd
      31941 bash"

      This might present an issue if a user (or multiple users) leaves their browser tab on system preflight overnight (as there is an auto refresh option on by default) on a bigger system and this could use up disk space quickly.

      Stuart Ort

        Attachments

          Activity

            People

            • Assignee:
              Michael-Gardner Michael Gardner
              Reporter:
              cloln Chris Lo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: