search for: hibernate

Displaying 20 results from an estimated 817 matches for "hibernate".

2015 Oct 18
3
Hibernation disabled when mailbox selected
After setting imap_hibernate_timeout to 60s, I could not find any hibernated connections after a few hours. I tested hibernation and made an observation: IDLE'd imap sessions only hibernate if they don't have a mailbox SELECT'd, otherwise they never hibernate. Is this the way it's supposed to work? Joseph Ta...
2015 Aug 25
2
IMAP hibernate feature committed
* Timo Sirainen <tss at iki.fi> 2015.08.25 17:28: > >> ==> /var/log/dovecot/dovecot.log <== > >> Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied > >> Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: Couldn't hibernate imap client: Couldn't export state: Virtual mailboxes have no GUIDs Those are completely gone with the latest two commits. I was expecting the permission error to fi...
2018 Oct 23
2
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
I tested with FreeBSD 11 and it worked just fine... did you follow https://wiki.dovecot.org/IMAPServer/Hibernation this to set it up? Aki > On 23 October 2018 at 10:15 Alex <alex at jili.ga> wrote: > > > Aki, is it configuration error or dovecot bug ? > Can I use imap-hibernate on FreeBSD ? > > > > Alex ????? 2018-10-19 10:31: > > Yes, > > > > After I changed mode and user/group > > > > Oct 18 19:17:50 server dovecot: > > imap(email at example.com)<57613><VVXuZ4N4avOASO/q>: Error: kevent(-1) > > for no...
2018 Oct 19
2
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
...19:17:50 server dovecot: imap(email at example.com)<57613><VVXuZ4N4avOASO/q>: Error: close(-1) for notify remove failed: Bad file descriptor Oct 18 19:17:50 server dovecot: imap(email at example.com)<57613><VVXuZ4N4avOASO/q>: Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied All time this error: Oct 18 19:28:48 server dovecot: imap(email at example.com)<53735><ZbKQR4N4DvOASO/q>: Error: kevent(-1) for notify remove failed: Bad file descriptor Oct 18 19:28:48 server dovecot: imap(email at example.com)<53735><ZbKQR4N...
2015 Aug 24
3
IMAP hibernate feature committed
http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 Today I finally committed the "imap-hibernate" feature that I first started developing about a year ago (and had been thinking about for several years before that). The main purpose here is to reduce the number of imap processes and the amount of memory they use by moving IDLEing connections into imap-hibernate processes where they are wa...
2018 Oct 19
2
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
Hello! I tried to use imap-hibernate. But errors in maillog: Oct 19 05:14:24 server dovecot: imap(email at example.com)<67125><Lu7ndYt4n8aASO/q>: Error: kevent(-1) for notify remove failed: Bad file descriptor Oct 19 05:14:24 server dovecot: imap(email at example.com)<67125><Lu7ndYt4n8aASO/q>: Error: close...
2017 Apr 06
2
IMAP hibernate and scalability in general
We've been using hibernate for about half a year with no ill effects. There were various logged errors in earlier versions of dovecot, but even with those, we never heard a reported customer-side error (almost always when transitioning from hibernate back to regular imap; in the case of those errors, presumably the mail clie...
2015 Aug 25
2
IMAP hibernate feature committed
* Thomas Leuxner <tlx at leuxner.net> 2015.08.25 09:45: > > http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397 > > ==> /var/log/dovecot/dovecot.log <== > Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied > Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: Couldn't hibernate imap client: Couldn't export state: Virtual mailboxes have no GUIDs > Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: net_connect_unix(/var/run/dovecot/ima...
2015 Aug 26
5
IMAP hibernate feature committed
* Timo Sirainen <tss at iki.fi> 2015.08.25 22:21: > There's no good default setting here. It depends on your userdb settings and/or mail_uid setting. So for example if your imap processes are running as vmail user, you should set service imap-hibernate { unix_listener imap-hibernate { user = vmail } }. Then again if you are using system users (or otherwise multiple UIDs) it gets more difficult to implement this securely (mode=0666 works always, but security isn't too good). This same problem exists for various other parts of Dovecot, for exam...
2018 Oct 24
2
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
...;82402><Nhu9MPR4KuaASO/q>: Error: kevent(-1) for notify remove failed: Bad file descriptor Oct 24 10:11:16 server dovecot: imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error: close(-1) for notify remove failed: Bad file descriptor Oct 24 10:11:16 server dovecot: imap-hibernate: Error: Failed to parse client input: Invalid peer_dev_minor value: 18446744073709486335 Oct 24 10:11:16 server dovecot: imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error: /var/run/dovecot/imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor...
2017 Apr 06
2
IMAP hibernate and scalability in general
...urse is (as mentioned before) the memory usage of all those IMAP processes and the fact that quite a few things outside of dovecote (ps, etc) tend to get quite sedate when dealing with tens of thousands of processes. We just started to deploy a new mailbox cluster pair with 2.2.27 and having IMAP hibernate configured. Getting this work is a PITA though with regards to ownership and access rights to the various sockets, this part could definitely do with some better (I know, difficult) defaults or at least more documentation (none besides the source and this ML). Initial results are very promising, d...
2018 Oct 23
0
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
...rked just fine... did you follow > https://wiki.dovecot.org/IMAPServer/Hibernation this to set it up? > > Aki > >> On 23 October 2018 at 10:15 Alex <alex at jili.ga> wrote: >> >> >> Aki, is it configuration error or dovecot bug ? >> Can I use imap-hibernate on FreeBSD ? >> >> >> >> Alex ????? 2018-10-19 10:31: >> > Yes, >> > >> > After I changed mode and user/group >> > >> > Oct 18 19:17:50 server dovecot: >> > imap(email at example.com)<57613><VVXuZ4N4avOASO/q&g...
2018 Oct 23
0
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
Aki, is it configuration error or dovecot bug ? Can I use imap-hibernate on FreeBSD ? Alex ????? 2018-10-19 10:31: > Yes, > > After I changed mode and user/group > > Oct 18 19:17:50 server dovecot: > imap(email at example.com)<57613><VVXuZ4N4avOASO/q>: Error: kevent(-1) > for notify remove fail > ed: Bad file descriptor > Oct...
2015 Aug 25
0
IMAP hibernate feature committed
...mas Leuxner <tlx at leuxner.net> wrote: > > * Timo Sirainen <tss at iki.fi> 2015.08.25 17:28: > >>>> ==> /var/log/dovecot/dovecot.log <== >>>> Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied >>>> Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: Couldn't hibernate imap client: Couldn't export state: Virtual mailboxes have no GUIDs > > Those are completely gone with the latest two commits. I was expecting the permissio...
2009 Dec 20
1
Supsend/hibernate on Samsung NC10
Hi, I cannot have suspend and hibernate working on a Samsung NC10 (netbook) running CentOS 5.4 i386. When I try suspending/hibernating the screen becomes black (with a few logs, like "shrinking memory" for hibernate) and then the computer hangs and I have to force a shutdown with the power button. This wiki page seems to say...
2017 Apr 06
0
IMAP hibernate and scalability in general
Hello, On Wed, 5 Apr 2017 23:45:33 -0700 Mark Moseley wrote: > We've been using hibernate for about half a year with no ill effects. There > were various logged errors in earlier versions of dovecot, but even with > those, we never heard a reported customer-side error (almost always when > transitioning from hibernate back to regular imap; in the case of those > errors, pres...
2017 May 12
2
[BUG] doveadm kick doesn't play well with hibernate
...Jessie backports). When issuing a "doveadm kick" for a specific user I was greeted by: --- "warning: other connections would also be kicked from following users:" --- and a list of 22odd thousand users. As it turns out, kick wants to smack the hibernation proces(ses) that have hibernated sessions for this user, obviously the wrong approach here. If there's doveadm command to wake up and thus un-hibernate sessions for a specific user this could be used as a workaround but a quick glance suggest no such thing. This functionality is absolutely crucial for us as we need this fo...
2018 Oct 24
0
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
...04\\0\\0\\0\\M-g\\^C\\0\\0\",12) = 12 (0xc) fstat(11,{ mode=srw-rw-rw- ,inode=13188,size=27,blksize=8192 }) = 0 (0x0) fcntl(11,F_GETFL,) = 6 (0x6) kevent(10,{ 11,EVFILT_READ,EV_ADD,0x0,0x0,0x4207a1a0 },1,0x0,0,0x0) = 0 (0x0) write(11,\"VERSION\\timap-hibernate\\t1\\t0\\n\",27) = 27 (0x1b) kevent(10,0x0,0,{ 11,EVFILT_READ,0x0,0x0,0x2ab,0x4207a1a0 },4,{ 2147483.000000000 }) = 1 (0x1) recvmsg(0xb,0x7fffffffe880,0x0) = 27 (0x1b) kevent(10,0x0,0,{ 11,EVFILT_READ,0x0,0x0,0x290,0x4207a1a0 },4,{ 2147483.000000000 }) = 1 (0x1) recvmsg(0x...
2020 Mar 14
2
imap-hibernate won't start
I can't get imap-hibernate to fire up. The process is not starting, and there are no clues in the logs. I tried several users/groups, but nothing happens (although I see plenty of IDLE imap-connections). Even mode 0666 didn't work. I'm on Slackware (no FreeBSD), built from source with ./configure --with-mysql My...
2015 Aug 27
0
IMAP hibernate feature committed
...33 PM, Thomas Leuxner wrote: > * Timo Sirainen <tss at iki.fi> 2015.08.25 22:21: > >> There's no good default setting here. It depends on your userdb settings and/or mail_uid setting. So for example if your imap processes are running as vmail user, you should set service imap-hibernate { unix_listener imap-hibernate { user = vmail } }. Then again if you are using system users (or otherwise multiple UIDs) it gets more difficult to implement this securely (mode=0666 works always, but security isn't too good). This same problem exists for various other parts of Dovecot, for exam...