LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gparted error inotify_init failed: Too many open files (https://www.linuxquestions.org/questions/linux-newbie-8/gparted-error-inotify_init-failed-too-many-open-files-4175446157/)

masuch 01-18-2013 04:50 AM

gparted error inotify_init failed: Too many open files
 
Hi,

I have got error with gparted started from terminal:
inotify_init failed: Too many open files

I have read somewhere that is should be corrected by increasing of value of /proc/sys/fs/inotify

but there are three values:

cat /proc/sys/fs/inotify/max_queued_events
16384
cat /proc/sys/fs/inotify/max_user_instances
128
cat /proc/sys/fs/inotify/max_user_watches
65536

which one is appropriate to increase ?

thank you,
kind regards,
M.

P.S. anyway, I have been expectring to increase some value of number of opened files , not those ones ;-)

unSpawn 01-18-2013 08:48 PM

Quote:

Originally Posted by masuch (Post 4872764)
which one is appropriate to increase ?

max_user_instances

masuch 01-19-2013 06:39 AM

thank you,
if I want it permanently - is it best way to put it in
Quote:

/etc/sysctl.conf
fs.inotify.max_user_instances = 2048
?

unSpawn 01-19-2013 06:53 AM

Yes but I thought the key was "fs.inotify.max_user_instances"?

masuch 01-19-2013 07:09 AM

Quote:

Originally Posted by unSpawn (Post 4873417)
Yes but I thought the key was "fs.inotify.max_user_instances"?

yes , I have just realized that.


All times are GMT -5. The time now is 06:54 AM.