[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:
That's irrelevant.
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>:
Well, I thought it would affect THAT user only.
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.
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
- Timo Sirainen <tss@iki.fi>:
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:
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
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>:
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