I have set up raspberry-pi on my home LAN and want to access it remotely. I have set up ssh daemon and port forwarding and i can login into raspbpi and do terminal work.
The problem is, that sometimes, some commands got "stuck" and reacts after several minutes delay.
When I run 'ls' i see half of the files and second half appears after many minutes.
Running 'cat file.txt' executes instantly, but 'vim file.txt' usually opens blank file and wait for text to load for several minutes.
Why these lags occur and what can I try to experience lag free interaction?