OpenVZ Forum


Home » International » Russian » Debian etch 2.6.18-028stab021 + dovecot
Debian etch 2.6.18-028stab021 + dovecot [message #14586] Mon, 02 July 2007 22:11 Go to previous message
weldpua2008 is currently offline  weldpua2008
Messages: 58
Registered: July 2006
Member
Привет


Debian etch 2.6.18-028stab021
ЗЫ: Ядрышко выше не дается, ибо патча нету для Дебиана - а опять идти на тестинг - не хотелось...

#dovecot --version
1.0.rc15
До этого на sarge все работало нормально
Теперь вижу в логах devecot'a, периодически, такие сообщения:

dovecot: 2007-06-23 17:53:51 Error: auth(default): net_connect_unix(/var/run/dovecot//auth-worker.11920) failed:Cannot allocate memory
dovecot: 2007-06-23 17:54:19 Error: pop3-login: Can't connect to auth server at default: Cannot allocate memory

Открыл баг-репорт(Bug#431452), но в итоге получил вот такой ответ и сразу вспомнил из чего ядро деланое:

Quote:

the only plausible reason for "Cannot allocate memory" is that the kernel is really running out of memory and for this reason, I'm closing the bug report.



---------
# cat dovecot.conf |grep -v '#'
base_dir = /var/run/dovecot/
protocols = imap imaps pop3 pop3s
listen = *
disable_plaintext_auth = no
shutdown_clients = yes
log_path = /var/log/exim4/dovecot.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
ssl_disable = yes
login_dir = /var/run/dovecot/login
login_chroot = yes
login_user = dovecot
login_process_per_connection = yes
login_processes_count = 3
login_max_processes_count = 512
login_max_connections = 256
login_greeting = Dovecot ready.
mail_location = maildir:/var/mail/%d/%n/Maildir
mail_extra_groups = mail
first_valid_uid = 1
last_valid_uid = 0
first_valid_gid = 1
last_valid_gid = 0
max_mail_processes = 1024
mbox_lock_timeout = 300
protocol imap {
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
auth default {
passdb pam {
}
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
user = root
ssl_require_client_cert = no
ssl_username_from_cert = no
}
dict {
}
plugin {
}



# cat dovecot-sql.conf |grep -v '#'
driver = mysql
connect = host=127.0.0.1 dbname=somedb user=dovecot password=pasword

default_pass_scheme = CRYPT
password_query = SELECT crypt as password FROM users,domains WHERE users.localpart = '%n' AND users.domain_id =
domains.domain_id AND domains.domain='%d' AND users.enabled = '1'
user_query = SELECT users.uid as uid, users.gid as gid FROM users,domains WHERE users.localpart = '%n' AND users.domain_id
= domains.domain_id AND domains.domain='%d'


#cat dovecot-mysql.conf |grep -v '#'
db_host = localhost
db_port = 3306
db = somedb
db_user = dovecot
db_passwd password
db_client_flags = 0
password_query = SELECT crypt FROM users,domains WHERE users.localpart = '%n' AND users.domain_id = domains.domain_id AND
domains.domain='%d' AND users.enabled = '1'
user_query = SELECT users.uid, users.gid FROM users,domains WHERE users.localpart = '%n' AND users.domain_id =
domains.domain_id AND domains.domain='%d'
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2.6.18-028stab035
Next Topic: Глюк с bridge+veth
Goto Forum:
  


Current Time: Mon Nov 04 07:42:14 GMT 2024

Total time taken to generate the page: 0.03446 seconds