Error and Panic (with coredump)
Hi there,
i'm pretty new to this stuff, just tell me if you need more information.
Apr 26 17:15:43 dilia dovecot:
imap(user@domain.de)<78561><rtYxnuHAZoPAqBSC>: Error:
i_stream_seekable_write_failed: close((&sstream->fd)) @
istream-seekable.c:246 failed (fd=21): Bad fi
le descriptor
Apr 26 17:15:43 dilia dovecot:
imap(user@domain.de)<78561><rtYxnuHAZoPAqBSC>: Panic: file
istream-seekable.c: line 226 (read_from_buffer): assertion failed:
(*ret_r >0)
Apr 26 17:15:43 dilia dovecot:
imap(user@domain.de)<78561><rtYxnuHAZoPAqBSC>: Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0xdb73b) [0x7f13aead973b] ->
/usr/lib/dovecot/libdov
ecot.so.0(+0xdb7d1) [0x7f13aead97d1] ->
/usr/lib/dovecot/libdovecot.so.0(+0x4a199) [0x7f13aea48199] ->
/usr/lib/dovecot/libdovecot.so.0(+0x4c7cf) [0x7f13aea4a7cf] ->
/usr/lib/dovecot/libdove
cot.so.0(+0xee6e2) [0x7f13aeaec6e2] ->
/usr/lib/dovecot/libdovecot.so.0(+0xeeb46) [0x7f13aeaecb46] ->
/usr/lib/dovecot/libdovecot.so.0(+0xe6cd9) [0x7f13aeae4cd9] ->
/usr/lib/dovecot/libdovec
ot.so.0(i_stream_get_size+0x2a) [0x7f13aeae5baa] ->
/usr/lib/dovecot/modules/lib20_zlib_plugin.so(+0x417c)
[0x7f13ae80817c] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_mail_set_seq+0x2
5) [0x7f13aec57eb5] ->
/usr/lib/dovecot/libdovecot-storage.so.0(+0xd19ce) [0x7f13aec5e9ce] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x61)
[0x7f13aec5f0e
1] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x28)
[0x7f13aebe7e58] -> dovecot/imap user@domain.de 192.168.xxx.xxx UID
SORT [0x55740be9495f] ->
dovecot/imap user@domain.de 192.168.xxx.xxx UID
SORT [0x55740be9528c] -> dovecot/imap
user@domain.de 192.168.xxx.xxx UID SORT [0x55740be87b7
1] -> dovecot/imap user@domain.de 192.168.xxx.xxx UID
SORT [0x55740be8ddc0] -> dovecot/imap
user@domain.de 192.168.xxx.xxx UID SORT [0x55740be8c3f2] ->
dovecot/imap user@domain.de 192.168.xxx.xxx UID SORT
[0x55740be8c494] -> dovecot/imap user@domain.de 192.168.xxx.xxx UID
SORT [0x55740be8c845]
-> dovecot/imap user@domain.de 192.168.xxx.xxx UID
SORT [0x55740be8cd6e] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x6f)
[0x7f13aeaefbef] -> /usr/lib/dovec
ot/libdovecot.so.0(io_loop_handler_run_internal+0x136)
[0x7f13aeaf11e6] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c)
[0x7f13aeaefc8c] -> /usr/lib/dovecot/libdovecot.so.0(io_
loop_run+0x40) [0x7f13aeaefdf0] ->
/usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13)
[0x7f13aea70123] -> dovecot/imap user@domain.de 192.168.xxx.xxx UID
SORT [0x5574
0be7ebf5] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb)
[0x7f13ae85709b]
Apr 26 17:15:44 dilia dovecot:
imap(user@domain.de)<78561><rtYxnuHAZoPAqBSC>: Fatal: master:
service(imap): child 78561 killed with signal 6 (core dumped)
# 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.4 ()
# OS: Linux 4.19.0-9-amd64 x86_64 Debian 10.9
# Hostname: dilia.intern.domain.de
auth_cache_size = 10 M
auth_default_realm = domain.de
auth_mechanisms = plain login
default_vsz_limit = 1 G
disable_plaintext_auth = no
imapc_features = " fetch-headers"
imapc_host = mail.intern.domain.de
imapc_user = %u
mail_location = maildir:~/Maildir
mail_plugins = zlib acl
mail_prefetch_count = 20
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify envir
onment mailbox date index ihave duplicate mime foreverypart extracttext
namespace {
hidden = no
ignore_on_failure = no
inbox = no
list = children
location = maildir:%%h/Maildir:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u
prefix = shared/%%u/
separator = /
subscriptions = yes
type = shared
}
namespace inbox {
hidden = no
inbox = yes
list = yes
location =
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
prefix = INBOX/
separator = /
subscriptions = yes
type = private
}
passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { acl = vfile acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size sieve = file:~/sieve;active=~/.dovecot.sieve zlib_save = gz zlib_save_level = 6 } protocols = " imap lmtp sieve" service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = vmail user = vmail } } service imap-login { process_min_avail = 12 service_count = 0 }
service imap {
process_limit = 8192
}
service lmtp {
inet_listener lmtp {
address = 127.0.0.1
port = 24
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
}
ssl_cert = </etc/ssl/certs/mail.intern.combined.cer
ssl_cipher_list =
ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW:!DH@STRENGTH
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_min_protocol = TLSv1.2
ssl_prefer_server_ciphers = yes
userdb {
driver = prefetch
}
userdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
verbose_proctitle = yes
protocol lmtp {
mail_plugins = zlib acl sieve
}
protocol imap {
mail_max_userip_connections = 20
mail_plugins = zlib acl imap_zlib imap_acl
}
Regards, Thomas
On 26/04/2021 19:03 Thomas Knaute <thomas.knaute@p2mberlin.de> wrote:
Hi there,
i'm pretty new to this stuff, just tell me if you need more information.
Apr 26 17:15:43 dilia dovecot:
imap(user@domain.de)<78561><rtYxnuHAZoPAqBSC>: Error:
i_stream_seekable_write_failed: close((&sstream->fd)) @
istream-seekable.c:246 failed (fd=21): Bad fi le descriptor Regards, Thomas
Do you by change run out of disk space in /tmp or see any other errors?
Aki
On 26/04/2021 19:03 Thomas Knaute <thomas.knaute@p2mberlin.de> wrote:
Hi there,
i'm pretty new to this stuff, just tell me if you need more information.
Apr 26 17:15:43 dilia dovecot:
imap(user@domain.de)<78561><rtYxnuHAZoPAqBSC>: Error:
i_stream_seekable_write_failed: close((&sstream->fd)) @
istream-seekable.c:246 failed (fd=21): Bad fi le descriptor Regards, ThomasDo you by change run out of disk space in /tmp or see any other errors?
Aki
it was /dev/mapper/dilia-vg-tmp 360M 3,6M 334M 2% /tmp
now it is /dev/mapper/dilia-vg-tmp 1,4G 2,8M 1,3G 1% /tmp
Other Errors:
User has several thousand mails in the "Send" folder. Whenever the
webmailer tried to read the folder, this error occurred.
Apr 15 13:50:44 dilia dovecot:
imap(user@domain.de)<11957><mbjjeAHApvIK8gIi>: Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0xdb13b) [0x7fd9e90ce13b] ->
/usr/lib/dovecot/libdovecot.so.0(+0xdb1d1) [0x7fd9e90ce1d1] ->
/usr/lib/dovecot/libdovecot.so.0(+0x4a21b) [0x7fd9e903d21b] ->
/usr/lib/dovecot/libdovecot.so.0(+0x4dfc7) [0x7fd9e9040fc7] ->
/usr/lib/dovecot/libdovecot.so.0(+0xe6942) [0x7fd9e90d9942] ->
/usr/lib/dovecot/libdovecot.so.0(i_stream_alloc+0x88) [0x7fd9e90db098]
-> /usr/lib/dovecot/libdovecot.so.0(+0xee059) [0x7fd9e90e1059] ->
/usr/lib/dovecot/libdovecot.so.0(+0xee546) [0x7fd9e90e1546] ->
/usr/lib/dovecot/libdovecot.so.0(+0xe66d9) [0x7fd9e90d96d9] ->
/usr/lib/dovecot/libdovecot.so.0(i_stream_get_size+0x2a)
[0x7fd9e90da5aa] ->
/usr/lib/dovecot/modules/lib20_zlib_plugin.so(+0x417c)
[0x7fd9e8dfd17c] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_mail_set_seq+0x25)
[0x7fd9e924ceb5] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xd19ce)
[0x7fd9e92539ce] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x10d) [0x7fd9e925418d] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x28) [0x7fd9e91dce58] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next+0x3f) [0x7fd9e91dcedf] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0e847] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0f779] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f00c07] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0cd80] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0b3f2] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0b494] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0b845] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0bd6e] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x6f) [0x7fd9e90e45ef] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x136) [0x7fd9e90e5be6] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c) [0x7fd9e90e468c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x40)
[0x7fd9e90e47f0]
Apr 15 13:50:44 dilia dovecot:
imap(user@domain.de)<11957><mbjjeAHApvIK8gIi>: Fatal: master:
service(imap): child 11957 returned error 83 (Out of memory (service
imap { vsz_limit=512 MB }, you may need to increase it) - set
CORE_OUTOFMEM=1 environment to get core dump)
so i increased the limit: /etc/dovecot/conf.d/10-master.conf:default_vsz_limit = 1024M
On 27.4.2021 9.57, Thomas Knaute wrote:
On 26/04/2021 19:03 Thomas Knaute <thomas.knaute@p2mberlin.de> wrote:
Hi there,
i'm pretty new to this stuff, just tell me if you need more information.
Apr 26 17:15:43 dilia dovecot: imap(user@domain.de)<78561><rtYxnuHAZoPAqBSC>: Error: i_stream_seekable_write_failed: close((&sstream->fd)) @ istream-seekable.c:246 failed (fd=21): Bad fi le descriptor Regards, Thomas
Do you by change run out of disk space in /tmp or see any other errors?
Aki
it was /dev/mapper/dilia-vg-tmp 360M 3,6M 334M 2% /tmp
now it is /dev/mapper/dilia-vg-tmp 1,4G 2,8M 1,3G 1% /tmp
Other Errors:
User has several thousand mails in the "Send" folder. Whenever the webmailer tried to read the folder, this error occurred.
Apr 15 13:50:44 dilia dovecot: imap(user@domain.de)<11957><mbjjeAHApvIK8gIi>: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xdb13b) [0x7fd9e90ce13b] -> /usr/lib/dovecot/libdovecot.so.0(+0xdb1d1) [0x7fd9e90ce1d1] -> /usr/lib/dovecot/libdovecot.so.0(+0x4a21b) [0x7fd9e903d21b] -> /usr/lib/dovecot/libdovecot.so.0(+0x4dfc7) [0x7fd9e9040fc7] -> /usr/lib/dovecot/libdovecot.so.0(+0xe6942) [0x7fd9e90d9942] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_alloc+0x88) [0x7fd9e90db098] -> /usr/lib/dovecot/libdovecot.so.0(+0xee059) [0x7fd9e90e1059] -> /usr/lib/dovecot/libdovecot.so.0(+0xee546) [0x7fd9e90e1546] -> /usr/lib/dovecot/libdovecot.so.0(+0xe66d9) [0x7fd9e90d96d9] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_get_size+0x2a) [0x7fd9e90da5aa] -> /usr/lib/dovecot/modules/lib20_zlib_plugin.so(+0x417c) [0x7fd9e8dfd17c] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_set_seq+0x25) [0x7fd9e924ceb5] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xd19ce) [0x7fd9e92539ce] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x10d) [0x7fd9e925418d] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x28) [0x7fd9e91dce58] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next+0x3f) [0x7fd9e91dcedf] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0e847] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0f779] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f00c07] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0cd80] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0b3f2] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0b494] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0b845] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0bd6e] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x6f) [0x7fd9e90e45ef] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x136) [0x7fd9e90e5be6] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c) [0x7fd9e90e468c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x40) [0x7fd9e90e47f0] Apr 15 13:50:44 dilia dovecot: imap(user@domain.de)<11957><mbjjeAHApvIK8gIi>: Fatal: master: service(imap): child 11957 returned error 83 (Out of memory (service imap { vsz_limit=512 MB }, you may need to increase it) - set CORE_OUTOFMEM=1 environment to get core dump)
so i increased the limit: /etc/dovecot/conf.d/10-master.conf:default_vsz_limit = 1024M
Did these actions fix the issues?
Aki
On 27.4.2021 9.57, Thomas Knaute wrote:
On 26/04/2021 19:03 Thomas Knaute <thomas.knaute@p2mberlin.de> wrote:
Hi there,
i'm pretty new to this stuff, just tell me if you need more information.
Apr 26 17:15:43 dilia dovecot: imap(user@domain.de)<78561><rtYxnuHAZoPAqBSC>: Error: i_stream_seekable_write_failed: close((&sstream->fd)) @ istream-seekable.c:246 failed (fd=21): Bad fi le descriptor Regards, Thomas
Do you by change run out of disk space in /tmp or see any other errors?
Aki
it was /dev/mapper/dilia-vg-tmp 360M 3,6M 334M 2% /tmp
now it is /dev/mapper/dilia-vg-tmp 1,4G 2,8M 1,3G 1% /tmp
Other Errors:
User has several thousand mails in the "Send" folder. Whenever the webmailer tried to read the folder, this error occurred.
Apr 15 13:50:44 dilia dovecot: imap(user@domain.de)<11957><mbjjeAHApvIK8gIi>: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xdb13b) [0x7fd9e90ce13b] -> /usr/lib/dovecot/libdovecot.so.0(+0xdb1d1) [0x7fd9e90ce1d1] -> /usr/lib/dovecot/libdovecot.so.0(+0x4a21b) [0x7fd9e903d21b] -> /usr/lib/dovecot/libdovecot.so.0(+0x4dfc7) [0x7fd9e9040fc7] -> /usr/lib/dovecot/libdovecot.so.0(+0xe6942) [0x7fd9e90d9942] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_alloc+0x88) [0x7fd9e90db098] -> /usr/lib/dovecot/libdovecot.so.0(+0xee059) [0x7fd9e90e1059] -> /usr/lib/dovecot/libdovecot.so.0(+0xee546) [0x7fd9e90e1546] -> /usr/lib/dovecot/libdovecot.so.0(+0xe66d9) [0x7fd9e90d96d9] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_get_size+0x2a) [0x7fd9e90da5aa] -> /usr/lib/dovecot/modules/lib20_zlib_plugin.so(+0x417c) [0x7fd9e8dfd17c] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_set_seq+0x25) [0x7fd9e924ceb5] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xd19ce) [0x7fd9e92539ce] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x10d) [0x7fd9e925418d] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x28) [0x7fd9e91dce58] -> /usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next+0x3f) [0x7fd9e91dcedf] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0e847] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0f779] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f00c07] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0cd80] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0b3f2] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0b494] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0b845] -> dovecot/imap user@domain.de 10.242.2.34 UID fetch [0x557be3f0bd6e] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x6f) [0x7fd9e90e45ef] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x136) [0x7fd9e90e5be6] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c) [0x7fd9e90e468c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x40) [0x7fd9e90e47f0] Apr 15 13:50:44 dilia dovecot: imap(user@domain.de)<11957><mbjjeAHApvIK8gIi>: Fatal: master: service(imap): child 11957 returned error 83 (Out of memory (service imap { vsz_limit=512 MB }, you may need to increase it) - set CORE_OUTOFMEM=1 environment to get core dump)
so i increased the limit: /etc/dovecot/conf.d/10-master.conf:default_vsz_limit = 1024M
Did these actions fix the issues?
Increasing the size of /tmp seems to have solved the problem. I
increased vsz_limit a few days ago, could it be that this is what
caused the other error to occur (more often)?
thank you!
regards, thomas
On 28/04/2021 14:50 Thomas Knaute <thomas.knaute@p2mberlin.de> wrote:
On 27.4.2021 9.57, Thomas Knaute wrote:
On 26/04/2021 19:03 Thomas Knaute <thomas.knaute@p2mberlin.de> wrote:
Hi there,
i'm pretty new to this stuff, just tell me if you need more information.
Apr 26 17:15:43 dilia dovecot: imap(user@domain.de)<78561><rtYxnuHAZoPAqBSC>: Error: i_stream_seekable_write_failed: close((&sstream->fd)) @ istream-seekable.c:246 failed (fd=21): Bad fi le descriptor Regards, Thomas
Do you by change run out of disk space in /tmp or see any other errors?
Aki
it was /dev/mapper/dilia-vg-tmp 360M 3,6M 334M 2% /tmp
now it is /dev/mapper/dilia-vg-tmp 1,4G 2,8M 1,3G 1% /tmp
Other Errors:
User has several thousand mails in the "Send" folder. Whenever the webmailer tried to read the folder, this error occurred.
Apr 15 13:50:44 dilia dovecot: imap(user@domain.de)<11957><mbjjeAHApvIK8gIi>: Error: Raw backtrace:
Apr 15 13:50:44 dilia dovecot: imap(user@domain.de)<11957><mbjjeAHApvIK8gIi>: Fatal: master: service(imap): child 11957 returned error 83 (Out of memory (service imap { vsz_limit=512 MB }, you may need to increase it) - set CORE_OUTOFMEM=1 environment to get core dump)
so i increased the limit: /etc/dovecot/conf.d/10-master.conf:default_vsz_limit = 1024M
Did these actions fix the issues?
Increasing the size of /tmp seems to have solved the problem. I
increased vsz_limit a few days ago, could it be that this is what
caused the other error to occur (more often)?thank you!
regards, thomas
Could be, yes.
Aki
participants (2)
-
Aki Tuomi
-
Thomas Knaute