LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2013, 04:50 AM   #1
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Rep: Reputation: 1
Question 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 ;-)
 
Old 01-18-2013, 08:48 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by masuch View Post
which one is appropriate to increase ?
max_user_instances
 
1 members found this post helpful.
Old 01-19-2013, 06:39 AM   #3
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
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
?

Last edited by masuch; 01-19-2013 at 07:03 AM.
 
Old 01-19-2013, 06:53 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Yes but I thought the key was "fs.inotify.max_user_instances"?
 
Old 01-19-2013, 07:09 AM   #5
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by unSpawn View Post
Yes but I thought the key was "fs.inotify.max_user_instances"?
yes , I have just realized that.
 
  


Reply

Tags
error, files, gparted, inotify, open



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: failed to commit transaction(confliction files) linux_sonic Linux - Software 1 03-07-2012 04:31 AM
[SOLVED] 'too many files open' tried 'increasing RLIMIT_NOFILE' but failed... manikumar086 Linux - Newbie 4 09-27-2011 04:56 AM
X Error of failed request - when open a new tab in gnome-terminal quanta Fedora 0 03-17-2008 10:02 PM
crc failed error when getings .tar.gz files from SFU3.5 sugar2 Linux - Software 0 07-20-2007 08:18 PM
php error failed to open stream mhatre kedar Linux - Newbie 2 03-20-2005 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration