Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors.log is filling up hard drive #49

Closed
xxxserxxx opened this issue Feb 15, 2020 · 1 comment
Closed

errors.log is filling up hard drive #49

xxxserxxx opened this issue Feb 15, 2020 · 1 comment

Comments

@xxxserxxx
Copy link
Owner

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

@xxxserxxx
Copy link
Owner Author

@mathi-ryte -- fixed by a007047 , will be in 3.3.x of this repository.

Original ticket cjbassi#178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant