search for: instance_update_now

Displaying 5 results from an estimated 5 matches for "instance_update_now".

2019 Feb 07
2
system wakeup caused by write operations to /var/lib/dovecot/instances
Hi Timo, Thank you very much for replying with an instant solution! Suggestion for future release: a setting in the configuration to enable/disable the automatic instance_update_now action and/or set the timeout by the user. In the meanwhile I can use the recompiled version with this code change. Problem solved for me. Regards, Tijl Timo Sirainen schreef op 2019-02-07 15:59: > On 2 Feb 2019, at 6.44, Tijl <dovecot at odie.be> wrote: > >> How can doveco...
2019 Feb 02
2
system wakeup caused by write operations to /var/lib/dovecot/instances
Hi, I hope someone can help me with this. Problem Dovecot writes to _/var/lib/dovecot/instances_ 1 up to 3 times a day, causing the system to wake up and disks to spin up. Details content of /var/lib/dovecot/instances : 1549073010 dovecot /var/run/dovecot /etc/dovecot/dovecot.conf --> only the timestamp is changed (to current time) when dovecot writes to this file --> during write the
2019 Feb 07
0
system wakeup caused by write operations to /var/lib/dovecot/instances
On Thu, Feb 07, 2019 at 05:10:04PM +0100, Tijl via dovecot wrote: > Hi Timo, > > Thank you very much for replying with an instant solution! > > Suggestion for future release: a setting in the configuration to > enable/disable the automatic instance_update_now action and/or set the > timeout by the user. > > In the meanwhile I can use the recompiled version with this code change. > Problem solved for me. > > Regards, > Tijl > > Timo Sirainen schreef op 2019-02-07 15:59: > > > On 2 Feb 2019, at 6.44, Tijl <dove...
2019 Feb 07
0
system wakeup caused by write operations to /var/lib/dovecot/instances
On 2 Feb 2019, at 6.44, Tijl <dovecot at odie.be> wrote: > How can dovecot be run without writing to /var/lib/dovecot/instances everyday? Is there a configuration setting for this? You'd need to patch src/master/main.c instance_update_now() to remove: to_instance = timeout_add((3600 * 12 + i_rand_limit(60 * 30)) * 1000, instance_update_now, list); I'm not quite sure why I wrote such code to update it continuously. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pi...
2012 Aug 13
2
[PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
...ot;MOUNTPOINT_LIST_FNAME, NULL); + perm_path = t_strconcat(set->state_dir, "/"MOUNTPOINT_LIST_FNAME, NULL); state_path = t_strconcat(set->base_dir, "/"MOUNTPOINT_LIST_FNAME, NULL); mountpoints = mountpoint_list_init(perm_path, state_path); @@ -340,9 +340,12 @@ instance_update_now, list); } -static void instance_update(void) +static void instance_update(const struct master_settings *set) { - instances = master_instance_list_init(MASTER_INSTANCE_PATH); + const char *path; + + path = t_strconcat(set->state_dir, "/instances", NULL); + instances = master_instanc...