Network smb problem


I have two computers in my network and a raspberry pi with kodi 17.
When the servers are sleeping and i press info or press play, on one computer i get after few seconds the message file not found. But on the other computer it takes almost two minutes and freezes the user interface completely. Even the log info on the screen with cpu info freezes.
The files are all referenced over the network with samba of the pi over smb. It is really annoying when you have to wait two minutes before you can do anything. On windows with kodi i don’t have this problem.

It seems like a timeout issue (or lack thereof). Because if the pi is not restarted the next day when i want to start a movie while server is still sleeping it does give me an error after few seconds.

20:38:36.512 T:1958629376 NOTICE: -----------------------------------------------------------------------
20:38:36.512 T:1958629376 NOTICE: Starting Kodi (17.5). Platform: Linux ARM (Thumb) 32-bit
20:38:36.512 T:1958629376 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
20:38:36.512 T:1958629376 NOTICE: Kodi compiled Oct 29 2017 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 3.16.39 (200743)
20:38:36.512 T:1958629376 NOTICE: Running on Open Source Media Center 2017.10-1, kernel: Linux ARM 32-bit version 4.9.29-10-osmc
20:38:36.512 T:1958629376 NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
20:38:36.512 T:1958629376 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available

20:42:13.019 T:1543500784 DEBUG: CWebServer[8080]: request received for /jsonrpc
20:42:18.447 T:1760527344 DEBUG: Previous line repeats 8 times.
20:42:18.448 T:1760527344 DEBUG: script.module.osmcsetting.updates : - blurp 383 - MyVideoNav.xml
20:42:18.694 T:1543500784 DEBUG: CWebServer[8080]: request received for /jsonrpc
20:42:41.257 T:1937765360 DEBUG: Thread JobWorker 1937765360 terminating (autodelete)
20:42:41.257 T:1742701552 DEBUG: Thread JobWorker 1742701552 terminating (autodelete)
20:42:41.347 T:1656746992 DEBUG: Thread JobWorker 1656746992 terminating (autodelete)
20:42:41.365 T:1604318192 DEBUG: Thread JobWorker 1604318192 terminating (autodelete)
20:43:08.462 T:1760527344 DEBUG: script.module.osmcsetting.updates : - blurp 383 - MyVideoNav.xml
20:44:25.663 T:1958629376 DEBUG: Previous line repeats 1 times.
20:44:25.664 T:1958629376 DEBUG: OnClick called on ‘videodb://movies/titles/224’ but file doesn’t exist
20:44:25.664 T:1958629376 DEBUG: ------ Window Init (DialogConfirm.xml) ------

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

Thanks for your understanding. We hope that we can help you get up and running again shortly.