[Dovecot] 1.2: Inotify instance limit for user exceeded, disabling?
From my log: Aug 10 12:23:39 postamt dovecot: IMAP(megow): Inotify instance limit for user exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances
# wc -l subscriptions 95
# cat /proc/sys/fs/inotify/max_user_instances 128
Why does 95 exceed 128?
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On Wed, 2010-08-11 at 17:37 +0200, Ralf Hildebrandt wrote:
From my log: Aug 10 12:23:39 postamt dovecot: IMAP(megow): Inotify instance limit for user exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances
# wc -l subscriptions 95
That's irrelevant.
# cat /proc/sys/fs/inotify/max_user_instances 128
Why does 95 exceed 128?
You're using virtual users and you have over 128 connections running IDLE command.
I suppose I should update that error message a bit.. This is the second time this has been asked me today. Maybe:
"Inotify instance limit for user vmail (UID 1234) exceeded, disabling."
- Timo Sirainen tss@iki.fi:
On Wed, 2010-08-11 at 17:37 +0200, Ralf Hildebrandt wrote:
From my log: Aug 10 12:23:39 postamt dovecot: IMAP(megow): Inotify instance limit for user exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances
# wc -l subscriptions 95
That's irrelevant.
Well, I thought it would affect THAT user only.
# cat /proc/sys/fs/inotify/max_user_instances 128
Why does 95 exceed 128?
You're using virtual users
No.
and you have over 128 connections running IDLE command.
That user is the ONLY user getting this error. He's the one user with the most subfolders.
I suppose I should update that error message a bit.. This is the second time this has been asked me today. Maybe:
"Inotify instance limit for user vmail (UID 1234) exceeded, disabling."
No, every user has his/her own UID :)
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On Wed, 2010-08-11 at 18:16 +0200, Ralf Hildebrandt wrote:
Aug 10 12:23:39 postamt dovecot: IMAP(megow): Inotify instance limit for user exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances
and you have over 128 connections running IDLE command.
That user is the ONLY user getting this error. He's the one user with the most subfolders.
Is it possible that the user has over 128 IMAP connections? :) That's the only reason for this error I can think of.
On Wed, 2010-08-11 at 18:08 +0100, Timo Sirainen wrote:
On Wed, 2010-08-11 at 18:16 +0200, Ralf Hildebrandt wrote:
Aug 10 12:23:39 postamt dovecot: IMAP(megow): Inotify instance limit for user exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances
and you have over 128 connections running IDLE command.
That user is the ONLY user getting this error. He's the one user with the most subfolders.
Is it possible that the user has over 128 IMAP connections? :) That's the only reason for this error I can think of.
Oh, I know: You're using virtual mailboxes?
- Timo Sirainen tss@iki.fi:
On Wed, 2010-08-11 at 18:08 +0100, Timo Sirainen wrote:
On Wed, 2010-08-11 at 18:16 +0200, Ralf Hildebrandt wrote:
Aug 10 12:23:39 postamt dovecot: IMAP(megow): Inotify instance limit for user exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances
and you have over 128 connections running IDLE command.
That user is the ONLY user getting this error. He's the one user with the most subfolders.
Is it possible that the user has over 128 IMAP connections? :) That's the only reason for this error I can think of.
Oh, I know: You're using virtual mailboxes?
no :)
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On Wed, 2010-08-11 at 19:52 +0200, Ralf Hildebrandt wrote:
Is it possible that the user has over 128 IMAP connections? :) That's the only reason for this error I can think of.
Oh, I know: You're using virtual mailboxes?
no :)
Oh. That was a good theory, since I recently changed that code to support IDLEing. Although now that I read the subject, it was only in v2.0 and not v1.2..
But yeah, if you haven't added any limits to how many connections users can create, I guess they could easily use up 128 connections.
- Timo Sirainen tss@iki.fi:
But yeah, if you haven't added any limits to how many connections users can create, I guess they could easily use up 128 connections.
mail_max_userip_connections = 2048 that's because of the webmailer, which, due to imapproxy, uses many simultaneous connections.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On Wed, 2010-08-11 at 19:59 +0200, Ralf Hildebrandt wrote:
- Timo Sirainen tss@iki.fi:
But yeah, if you haven't added any limits to how many connections users can create, I guess they could easily use up 128 connections.
mail_max_userip_connections = 2048 that's because of the webmailer, which, due to imapproxy, uses many simultaneous connections.
With v2.0 you could put that inside "remote webmail {}" block. I think.
Timo Sirainen put forth on 8/11/2010 12:55 PM:
But yeah, if you haven't added any limits to how many connections users can create, I guess they could easily use up 128 connections.
IIRC, the default limit in 1.2 is 10 connections per IP--which IMO, for 99+% of users, is 8 too many, maybe 9. ;)
-- Stan
- Timo Sirainen tss@iki.fi:
That user is the ONLY user getting this error. He's the one user with the most subfolders.
Is it possible that the user has over 128 IMAP connections? :) That's the only reason for this error I can think of.
Maybe folder * connections? God only knows what my users do!
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
participants (3)
-
Ralf Hildebrandt
-
Stan Hoeppner
-
Timo Sirainen