Displaying 20 results from an estimated 141 matches for "cache_size".
2005 Apr 15
1
How can I change SQLite cache size for R session?
How can I change SQLite cache size for R session?
SQLite cache size can be set by a pragma, for the
duration of the session - or by default.
.pragma cache_size
.pragma default_cache_size
my questions are about RSQLite, version 0.4, running
on Windows:
- what is the cache size set to when SQLite is
invoked from R?
- if the page_size is set to 4096 what will be the
cache size in bytes when cache_size 1000 is specified?
(in other words: does R know a...
2020 Feb 20
0
[PATCH] daemon: Translate device names if Linux device ordering is unstable (RHBZ#1804207).
...++ b/daemon/device-name-translation.c
@@ -27,12 +27,116 @@
#include <dirent.h>
#include <limits.h>
#include <sys/stat.h>
+#include <errno.h>
+#include <error.h>
+
+#include "c-ctype.h"
#include "daemon.h"
+static char **cache;
+static size_t cache_size;
+
+/**
+ * Cache daemon disk mapping.
+ *
+ * When the daemon starts up, populate a cache with the contents
+ * of /dev/disk/by-path. It's easiest to use C<ls -lv> here
+ * since the names are sorted awkwardly.
+ */
+void
+device_name_translation_init (void)
+{
+ const char *by_path =...
2020 Mar 05
5
[PATCH v2 0/4] daemon: Translate device names if Linux device is unstable (RHBZ#1804207).
v1 was here:
https://www.redhat.com/archives/libguestfs/2020-February/msg00220.html
This patch series is a little bit better. It's still a bit of a hack.
The _real_ fix for this is outlined in the TODO file (see patch 1) but
that requires a lot more work than we could do before 1.42 is
released, unless we delay 1.42 for a lot longer. I'm hoping with this
to have something which works
2007 Dec 11
1
minor issue - dovecot -n output with 1.1.beta11
...and beta11(for the same
config file), I noticed that 'dovecot -n' beta11 output does not show anymore
the following parameters, which are set to non-default values(and
which 'dovecot -a' shows):
login_processes_count
login_max_processes_count
first_valid_uid
first_valid_gid
cache_size
cache_ttl
cache_negative_ttl
mode(from auth default section)
And by the way, parameters from lda section are not showed both with -a
and -n. But it is so already for a long time, so I assume that it is OK :)
Regards, Arvids
2013 Dec 26
0
[PATCH] core: Avoid initializing the cache more than once
...v->cache_init = 1; /* Set cache as initialized */
}
/*
diff --git a/core/fs/diskio.c b/core/fs/diskio.c
index 7d95d67..e9a4c1d 100644
--- a/core/fs/diskio.c
+++ b/core/fs/diskio.c
@@ -28,6 +28,7 @@ struct device * device_init(void *args)
dev.disk = firmware->disk_init(args);
dev.cache_size = 128*1024;
dev.cache_data = malloc(dev.cache_size);
+ dev.cache_init = 0; /* Explicitly set cache as uninitialized */
return &dev;
}
diff --git a/core/fs/fs.c b/core/fs/fs.c
index 8c1feea..d6da8a5 100644
--- a/core/fs/fs.c
+++ b/core/fs/fs.c
@@ -422,8 +422,9 @@ void fs_init(con...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...*disk, char *buf, block_t block, int block_size)
/*
* Initialize the device structure.
*/
-struct device * device_init(void *args)
+__export struct device *device_init(void *args)
{
- static struct device dev;
+ struct device *dev;
- dev.disk = firmware->disk_init(args);
- dev.cache_size = 128*1024;
- dev.cache_data = malloc(dev.cache_size);
+ dev = malloc(sizeof(struct device));
+ if (!dev)
+ return NULL;
- return &dev;
+ dev->disk = firmware->disk_init(args);
+ if (!dev->disk)
+ goto out;
+
+ dev->cache_size = 128*1024;
+ dev->ca...
2010 Apr 19
1
permission denied, no logs
...executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
lda:
postmaster_address: postmaster at example.com
auth default:
cache_size: 10
debug: yes
passdb:
driver: pam
args: cache_key=%u dovecot
userdb:
driver: passwd
Thank you very much!
Shane brooks
IT Manager
940 West Oakland Avenue
Suite A8
Oakland, Florida 34787
407-654-6076 Office
407-654-6063 Fax
-------------- next part --------...
2008 Apr 23
2
Dovecot + iPhone
.../etc/pki/dovecot/private/dovecot.pem
login_dir: /usr/local/var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
mail_privileged_group: mail
mail_location: mbox:~/mail:INBOX=/var/mail/%u
mbox_lazy_writes: no
imap_client_workarounds: outlook-idle delay-newmail
auth default:
cache_size: 1024
passdb:
driver: pam
args: session=yes cache_key=%u dovecot
userdb:
driver: passwd
I want to start out by saying that Dovecot works 100% when viewing/moving
mail (on our company mail server that I maintain) via Outlook Express and/or
Windows Mail.
I'm having issues with...
2007 Nov 20
1
1.1.beta8 crashes with segfault when SIGHUP
..._excl: yes
fsync_disable: yes
mail_executable: /usr/local/dovecot/libexec/dovecot/pop3
mail_plugins: quota
mail_plugin_dir: /usr/local/dovecot/lib/dovecot/pop3
pop3_enable_last: yes
pop3_client_workarounds: outlook-no-nuls oe-ns-eoh
auth default:
mechanisms: plain login digest-md5 cram-md5 apop
cache_size: 4096
cache_ttl: 28800
cache_negative_ttl: 60
user: doveauth
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: sql
args: /usr/local/dovecot/etc/dovecot-sql.conf
userdb:
driver: prefetch
userdb:
driver: sql
args: /usr/local/dovecot/etc/dovecot-sql.con...
2007 Oct 03
5
Postfix with Deliver (LDA) - user unknown
..._workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_logout_format(default): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_logout_format(imap): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
pop3_logout_format(pop3): top=%t/%T, retr=%r/%R, del=%d/%m, size=%s
auth default:
cache_size: 1024
cache_ttl: 604800
verbose: yes
passdb:
driver: pam
args: cache_key=%Lu
userdb:
driver: passwd
socket:
type: listen
master:
path: /var/run/dovecot/auth-master
mode: 384
user: maildrop
plugin:
quota: maildir:storage=10000000:ignore=Trash
*** P...
2008 Nov 04
2
dovecot-1.1.6 fatal error: userdb didn't return a home directory
...ovecot/pop3
imap_client_workarounds(default): delay-newmail
imap_client_workarounds(imap): delay-newmail
imap_client_workarounds(pop3):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
mechanisms: plain login
cache_size: 1024
debug: yes
passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
socket:
type: listen
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
plugin:
expire: Trash 7 Spam 30...
2013 Oct 30
1
IMAP Dovecot unknown namespace creating root folders
...p, retr=%r/%b, del=%d/%m, size=%s
pop3_logout_format(pop3): top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, bytes=%i/%o
namespace:
? type: private
? prefix: INBOX.
? inbox: yes
? list: yes
? subscriptions: yes
lda:
? postmaster_address: postmaster at example.com
auth default:
? mechanisms: plain login
? cache_size: 1024
? username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$-=?^_{}~./@+%
? passdb:
? ? driver: checkpassword
? ? args: /usr/local/cpanel/bin/dovecot-auth
? userdb:
? ? driver: prefetch
? socket:
? ? type: listen
? ? client:
? ? ? path: /var/run/dovecot/auth-client
? ?...
2007 Dec 07
3
Corrupted Transaction Log File: v1.0.7
Following errors have happened quite a bit:
Dec 7 14:19:26 locallog at tg3/tg3 dovecot: IMAP(peter.day at mydomain.com):
Transaction log file
/home/virtual/mydomain.com/home/peter.day/Maildir/.Trash/dovecot.index.log:
marked corrupted
Dec 7 14:19:26 locallog at tg3/tg3 dovecot: IMAP(peter.day at mydomain.com):
Transaction log file
2012 Nov 08
3
Mails don't get deleted after POP3
...nt_workarounds:
pop3_logout_format: top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
dict_db_config:
dict_process_count: 1
managesieve_max_line_length: 65536
managesieve_logout_format: bytes=%i/%o
managesieve_implementation_string: dovecot
auth default:
mechanisms: plain
realms:
default_realm:
cache_size: 0
cache_ttl: 3600
cache_negative_ttl: 3600
executable: /usr/lib/dovecot/dovecot-auth
user: root
chroot:
username_chars: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
username_translation:
username_format:
master_user_separator:
anonymous_username...
2013 May 17
1
ACLs - creating new top level folders
...ntrol/%%u
list: children
lda:
postmaster_address: postmaster at ...
mail_plugins: sieve acl
quota_full_tempfail: yes
auth_socket_path: /var/run/dovecot-test/auth-master
log_path: /var/log/dovecot-test/deliver.log
info_log_path: /var/log/dovecot-test/deliver.log
auth default:
cache_size: 1024
cache_negative_ttl: 0
username_chars:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@~
master_user_separator: *
debug: yes
passdb:
driver: passwd-file
args: /etc/dovecot/dovecot-passwd.masterusers
pass: yes
master: yes
passdb:
dr...
2010 Aug 29
1
PAM authentication fails
...ds(managesieve):
lda:
postmaster_address: postmaster
deliver_log_format: msgid=%m: %$
rejection_reason: Your message to <%t> was automatically rejected:%n%r
auth_socket_path: /var/run/dovecot/auth-master
auth default:
mechanisms: plain login
realms: kader.hcc.nl hobby.nl
cache_size: 1024
user: vmail
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: pam
args: setcred=yes failure_show_msg=yes cache_key=%u dovecot
passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: passwd
userdb:
driver: sql...
2007 Sep 11
2
Possible bug in authentication cache in dovecot 1.1.alpha4
...il_location: maildir:~/Maildir
fsync_disable: yes
mail_executable: /usr/local/dovecot/libexec/dovecot/pop3
mail_plugin_dir: /usr/local/dovecot/lib/dovecot/pop3
pop3_enable_last: yes
pop3_client_workarounds: outlook-no-nuls oe-ns-eoh
auth default:
mechanisms: plain login digest-md5 cram-md5 apop
cache_size: 2048
cache_ttl: 28800
cache_negative_ttl: 60
user: doveauth
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: sql
args: /usr/local/dovecot/etc/dovecot-sql.conf
userdb:
driver: prefetch
Regards, Arvids
2008 Mar 29
3
Expire plugin with Mysql
Hey guys, got a question about the expire plugin. According to the
wiki, the expire plugin "keeps an internal database (Berkeley DB or
SQL)". I was wondering what fields in the mysql table are needed for
expire to work.
I assume it is setup is similar to the quota dict
setup, so was just wondering what fields are required (i.e:
select_field, where_field, username_field, for quota).
2006 Dec 26
2
Getting "Can't resolve address no: Name or service not known" error when starting Dovecot
...h: /var/log/dovecot/info.log
protocols: imap
listen: *:143
ssl_listen: no
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
login_max_processes_count: 8
mail_location: mbox:/home/mail/%u:INBOX=/var/mail/%u
auth default:
cache_size: 128
cache_ttl: 60
count: 8
passdb:
driver: shadow
userdb:
driver: passwd
Follows the full configuration file:
# Base directory where to store runtime data.
base_dir = /var/run/dovecot/
# Protocols we want to be serving: imap imaps pop3 pop3s
# If you only want to use dovecot-aut...
2013 Feb 13
2
Requested xxxx scheme, but we have a NULL password after upgrade
...sn't enabled by
# default.
#
# max_requests specifies how many PAM lookups to do in one process
before
# recreating the process. The default is 100, because many PAM plugins
# leak memory.
#
# cache_key can be used to enable authentication caching for PAM
# (auth_cache_size also needs to be set). It isn't enabled by default
# because PAM modules can do all kinds of checks besides checking
password,
# such as checking IP address. Dovecot can't know about these checks
# without some help. cache_key is simply a list of variables (see
# doc/wiki/Va...