Skip to content
This repository was archived by the owner on Aug 29, 2020. It is now read-only.
This repository was archived by the owner on Aug 29, 2020. It is now read-only.

errors.log is filling up hard drive #178

@mathi-ryte

Description

@mathi-ryte

Required information:

  • gotop version (gotop -V): 3.0.0
  • The output of uname -a: Darwin MacBook-Pro 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 4 23:08:59 PDT 2019; root:xnu-4570.71.57~1/RELEASE_X86_64 x86_64
  • Terminal emulator (e.g. iTerm or gnome terminal):
  • Any relevenat hardware info:
  • tmux version if using tmux:

Also please copy or attach ~/.local/state/gotop/errors.log if it exists and contains logs:

Thats the issue. Gotop was running for 24 hours and was producing a 20GB errors.log.
This copy/paste is only 12 seconds of running gotop and it already produced 3,2 MB errors.log

(It's just en excerpt:)

17:30:02 proc_other.go:56: failed to convert third field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:          1 launchd                                              0,0   0,1 launchd
17:30:02 proc_other.go:60: failed to convert fourth field to float: strconv.ParseFloat: parsing "0,1": invalid syntax. split:          1 launchd                                              0,0   0,1 launchd
17:30:02 proc_other.go:56: failed to convert third field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         57 syslogd                                              0,0   0,0 syslogd
17:30:02 proc_other.go:60: failed to convert fourth field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         57 syslogd                                              0,0   0,0 syslogd
17:30:02 proc_other.go:56: failed to convert third field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         58 UserEventAgent                                       0,0   0,1 UserEventAgent (System)
17:30:02 proc_other.go:60: failed to convert fourth field to float: strconv.ParseFloat: parsing "0,1": invalid syntax. split:         58 UserEventAgent                                       0,0   0,1 UserEventAgent (System)
17:30:02 proc_other.go:56: failed to convert third field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         60 com.crystalidea.macsfancontrol.smcwrite              0,0   0,0 com.crystalidea.macsfancontrol.smcwrite
17:30:02 proc_other.go:60: failed to convert fourth field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         60 com.crystalidea.macsfancontrol.smcwrite              0,0   0,0 com.crystalidea.macsfancontrol.smcwrite
17:30:02 proc_other.go:56: failed to convert third field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         62 uninstalld                                           0,0   0,0 uninstalld
17:30:02 proc_other.go:60: failed to convert fourth field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         62 uninstalld                                           0,0   0,0 uninstalld
17:30:02 proc_other.go:56: failed to convert third field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         63 kextd                                                0,0   0,1 kextd
17:30:02 proc_other.go:60: failed to convert fourth field to float: strconv.ParseFloat: parsing "0,1": invalid syntax. split:         63 kextd                                                0,0   0,1 kextd
17:30:02 proc_other.go:56: failed to convert third field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         64 fseventsd                                            0,0   0,0 fseventsd
17:30:02 proc_other.go:60: failed to convert fourth field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         64 fseventsd                                            0,0   0,0 fseventsd
17:30:02 proc_other.go:56: failed to convert third field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         66 mediaremoted                                         0,0   0,1 mediaremoted
17:30:02 proc_other.go:60: failed to convert fourth field to float: strconv.ParseFloat: parsing "0,1": invalid syntax. split:         66 mediaremoted                                         0,0   0,1 mediaremoted
17:30:02 proc_other.go:56: failed to convert third field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         68 appleeventsd                                         0,0   0,0 appleeventsd --server
17:30:02 proc_other.go:60: failed to convert fourth field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         68 appleeventsd                                         0,0   0,0 appleeventsd --server
17:30:02 proc_other.go:56: failed to convert third field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         69 systemstats                                          0,0   0,0 systemstats --daemon
17:30:02 proc_other.go:60: failed to convert fourth field to float: strconv.ParseFloat: parsing "0,0": invalid syntax. split:         69 systemstats                                          0,0   0,0 systemstats --daemon

I attached the whole file here...
errors.log

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