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

Large log file #48

Closed
glibsm opened this issue Jan 31, 2019 · 5 comments
Closed

Large log file #48

glibsm opened this issue Jan 31, 2019 · 5 comments
Labels
Type: bug Something isn't working wontfix

Comments

@glibsm
Copy link

glibsm commented Jan 31, 2019

Moving tbodt/deoplete-tabnine#18 to the appropriate place.

The log appears to be out of control:

~/.config/nvim/plugged/deoplete-tabnine master*
❯ ll tabnine.log
-rw-r--r--  1   941M Jan 31 13:27 tabnine.log

It seems to be mostly polluted by the following message:

~/.config/nvim/plugged/deoplete-tabnine master* 27s
❯ tail tabnine.log
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)
[2019-01-31][13:27:12][server::pipeline::walk][ERROR] Walk error: No such file or directory (os error 2)

I'm not sure if it's related to the CPU usage problems, but TabNine has been spiking to 200-300% cpu util without any apparent need (in fact often vim is actually suspended through C-Z).

Potentially related to #24?

@zxqfl
Copy link
Contributor

zxqfl commented Feb 1, 2019

I'm not sure what could be causing this error. In the next release, I'll make this error log the file/directory that TabNIne was looking for.

I don't support TabNine was indexing the log file? This can easily lead to log file blowup.

@glibsm
Copy link
Author

glibsm commented Feb 4, 2019

@zxqfl I'm not sure. Is it possible that opening the said file in vim would cause it to be indexed? I don't think I ever looked at the log, and the first time I went to seek it out it was already ~1GB.

Including file/directory in the log statement sounds like a good idea so next time this has some extra context.

@oolongtea
Copy link

I'm seeing the same log messages being spammed, as well as CPUs being maxed out for minutes at a time.

$ ./TabNine --version
TabNine 2.1.5 (x86_64-unknown-linux-musl)
Jacob Jackson <jacob@tabnine.com>

$ nvim --version
NVIM v0.3.8
Build type: RelWithDebInfo
LuaJIT 2.0.5

# using github.com/tbodt/deoplete-tabnine, git hash 5ba086d08f1da93ec9bbe9276dbc62fcb301aeed

@amircodota amircodota added the Type: bug Something isn't working label Mar 19, 2020
@amircodota
Copy link
Contributor

Does it still reproduce?

@stale
Copy link

stale bot commented Oct 3, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 3, 2022
@stale stale bot closed this as completed Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug Something isn't working wontfix
Projects
None yet
Development

No branches or pull requests

4 participants