CoreELEC 19 Matrix Discussion (Kodi RC)

same 'too many open files"

confirm

Maybe you turn on debug logging, do make a reboot and replicate the issue.
Then you can open a issue on https://github.com/xbmc/xbmc/issues and upload the Kodi.log.

Best would be to replicate the issue with another platform like Linux or Windows. Amlogic isnā€™t official supported by Kodi but they canā€™t close their eyes if it happen also on official supported platforms.

EDIT: it looks like a samba issue.
So correct place for a ticket would be https://github.com/LibreELEC/LibreELEC.tv/issues

CoreELEC-Amlogic-ng.arm-19.0-Matrix_nightly_20210210

MECOOL KI PRO
Doesnā€™t working no one driver dvb (doesnt seeing adapter)
Wrong reboot

CoreELEC-Amlogic-ng.arm-19.0-Matrix_nightly_20210207 all its working OK driver last kernel (driver Coreelec doesnt seeing to)

1 Like

I confirm here the same happens!

1 Like

Mecool KI Pro
driver only works on old Kernel - it will not work in Matrix and this is unlikely to change - ever.

Shoog

I think you are giving erroneous information, you could be better informed with @cdu13a
before passing wrong information to users.
CoreELEC-Amlogic-ng.arm-19.0-Matrix_nightly_20210207 it works perfectly KI Pro!

dvb works perfectly on Matrix on the Ki Pro ?

Shoog

Crazycat e latest, yes

CoreELEC-Amlogic-ng.arm-19.0-Matrix_nightly_20210207 mecool dvb avalink 8261
Coreelec driver - no
Crazy cat driver - yes
Last kernel driver - yes

@catshome @markfnz @thecubasekid

Please someone post at least one log next time!

Please try this:
rename/copy /storage/.config/samba.conf.sample to /storage/.config/samba.conf
Add this in global section like this:

[global]
   max open files = 65616

Iā€™ve set the max open files = 65616 in samba.conf and restarted. Unfortunately same error. The last several lines of the kodi.log as follows (sorry I canā€™t attach a file as new user)

2021-02-11 22:34:06.526 T:5150    ERROR <general>: GetDirectory - Error getting smb://192.168.1.11/music/FLAC/Pink Floyd/The Wall/CD2/
2021-02-11 22:34:06.541 T:5150    ERROR <general>: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@192.168.1.11/music/FLAC/Pink%20Floyd/Ummagumma%20%5bVinyl%5d'
                                                   unix_err:'18' error : 'Too many open files'
2021-02-11 22:34:06.541 T:5150    ERROR <general>: GetDirectory - Error getting smb://192.168.1.11/music/FLAC/Pink Floyd/Ummagumma [Vinyl]/
2021-02-11 22:34:06.783 T:5150     INFO <general>: My Music: Scanning for music info using worker thread, operation took 02:57
2021-02-11 22:34:06.814 T:5235    ERROR <general>: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@192.168.1.11/music'
                                                   unix_err:'18' error : 'Too many open files'
2021-02-11 22:34:06.814 T:5235    ERROR <general>: GetDirectory - Error getting smb://192.168.1.11/music/
2021-02-11 22:34:06.814 T:5037     INFO <general>: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
2021-02-11 22:34:06.832 T:5236    ERROR <general>: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@192.168.1.11/music'
                                                   unix_err:'18' error : 'Too many open files'
2021-02-11 22:34:06.832 T:5236    ERROR <general>: GetDirectory - Error getting smb://192.168.1.11/music/
2021-02-11 22:34:06.832 T:5037    ERROR <general>: CGUIMediaWindow::GetDirectory(smb://192.168.1.11/music/) failed

I notice in the Samba doc it notes:
ā€œThe limit of the number of open files is usually set by the UNIX per-process file descriptor limit rather than this parameter so you should never need to touch this parameter.ā€

Perhaps itā€™s not the Samba limit?

Iā€™ll test tomorrow with the directory causing the issue directly attached with a USB drive and see if it still occurs so we can narrow down to Samba or otherwise.

Thanks

Can you try with Ubuntu Kodi nightly and/or Windows Kodi nightly?
Just to see if the error is located in Kodi or samba service and if itā€™s a platform independent error.

I have the same error:

2021-02-11 10:05:51.198 T:4954    ERROR <general>: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@192.168.1.7/Music/Jimmy%20Eat%20World'
                                                   unix_err:'18' error : 'Too many open files'
2021-02-11 10:05:51.199 T:4954    ERROR <general>: GetDirectory - Error getting smb://192.168.1.7/Music/Jimmy Eat World/
2021-02-11 10:05:51.199 T:4954    DEBUG <general>: DoScan Scanning dir 'smb://192.168.1.7/Music/Jimmy Eat World/' as not in the database
2021-02-11 10:05:51.235 T:4954    ERROR <general>: SMBDirectory->GetDirectory: Unable to open directory : 'smb://USERNAME:PASSWORD@192.168.1.7/Music/John%20Williams'
                                                   unix_err:'18' error : 'Too many open files'

let me try with Ubuntu

EDIT:
Same on Ubuntu, so itā€™s a Kodi issue

2 Likes

Good day,
i install Coreelec 19 nightly on my Beelink Gt1 mini 2/32 gb. Minor video jams occur during the same time interval during playback. On 9.2.5 stable no problem. How do i create a problem log? Thank you.

Maybe try pastebin and post the link.

@vpeter
Many thanks getting VNC plugin to work :wink:

1 Like

Seems this is a Matrix problem so you will have to wait for the Kodi team to resolve it.

Shoog

1 Like

OK, Iā€™m in no hurry, although I like to check nightly builds and if something goes wrong I can always go back to the previous one

Can you please post your dmesg log in the last nightly working and in a nightly that it doesnā€™t work?

Can you do the same @joaolevi ?

Yes, I can, and can you give command flags or prefixes for dmesg?