SOLVED: Amahi DLNA - sysctl fs.inotify.max_user_watches

cowen
Posts: 32
Joined: Fri Sep 20, 2013 9:32 am
Location: NRW - Germany

SOLVED: Amahi DLNA - sysctl fs.inotify.max_user_watches

Postby cowen » Mon Dec 23, 2013 3:00 am

Hi,

I had a problem where my DLNA server did not find certain folders on the linked shares. After some novice debugging I found that there was a warning stating the number of inotify.max_user_watches was low (at 8192).

I have searched the mighty google and the wiki here and found that you can increae this number using...

sysctl fs.inotify.max_user_watches=100000

The help I found also says that to increase the number permanently, I must edit a file. However, I can't find this file on my Amahi server. Can anybody point me in the right direction?

The instructions I was following are from here:
https://wiki.archlinux.org/index.php/Mi ... _DB_Update

Thanks

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Amahi DLNA - sysctl fs.inotify.max_user_watches

Postby bigfoot65 » Mon Dec 23, 2013 7:41 am

Is this Ubuntu? If so, check out this thread.
http://askubuntu.com/questions/353041/h ... ?t=2073540

Best to google for the OS you are using and you should find the answer.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

cowen
Posts: 32
Joined: Fri Sep 20, 2013 9:32 am
Location: NRW - Germany

Re: Amahi DLNA - sysctl fs.inotify.max_user_watches

Postby cowen » Sat Jan 11, 2014 10:42 am

Sorry, I forgot to reply to this (actually I forgot I had this problem until I rebooted the server and found my DLNA client was missing lots of files again).

I found additional information here that solved my problem.
http://confluence.jetbrains.com/display ... ches+Limit

After rebooting the server, everything seems to be functioning still. In this case, the issue is solved.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Amahi DLNA - sysctl fs.inotify.max_user_watches

Postby bigfoot65 » Sat Jan 11, 2014 10:46 am

Glad to hear it's resolved.

Would you mind posting the info in the wiki? I would rather capture it there for DLNA to prevent loss of info. The link could change or go away completely over time.

https://wiki.amahi.org/index.php/Dlna

Thanks in advance!
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

cowen
Posts: 32
Joined: Fri Sep 20, 2013 9:32 am
Location: NRW - Germany

Re: SOLVED: Amahi DLNA - sysctl fs.inotify.max_user_watches

Postby cowen » Sat Jan 11, 2014 11:05 am

I would but I have no WIKI account.

When I requested one, I had a friendly reply asking if I really needed an account. I figured if I needed to justify my account request, it was probably limited to very 'special' individuals and never pursued it any further!! :lol:

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: SOLVED: Amahi DLNA - sysctl fs.inotify.max_user_watches

Postby bigfoot65 » Sat Jan 11, 2014 11:14 am

Easy to get one. Just put in justification that you need to update DLNA page. The reason we have it this way is to keep spammers out.

I am an approval authority, so I can do it now once you apply.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 11 guests