Le 07/08/2012 17:21, Timo Sirainen a écrit :
On 7.8.2012, at 18.16, tonio@starbridge.org wrote:
I will give it a try ASAP, but is it a bad thing to run dovecot with many local {} ? Not a bad thing, but it uses up somewhat more memory.
Timo, I've just tried this patch, so far pop-login error doesnt shows up , but now I've got this one: (imap-login this time)
Aug 8 08:19:36 eol1 dovecot: imap-login: Fatal: master: service(imap-login): child 31887 killed with signal 6 (core dumped)
Director is configured in my dovecot.conf, but I dont use it here. Proxying is made by sql request with static host.
(gdb) bt full #0 0xffffe424 in __kernel_vsyscall () No symbol table info available. #1 0xb760d941 in raise () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 No symbol table info available. #2 0xb7610d72 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 No symbol table info available. #3 0xb77912c0 in default_fatal_finish (type=<optimized out>, status=status@entry=0) at failures.c:191 backtrace = 0xb77de600 "<$\t" #4 0xb7791321 in i_internal_fatal_handler (ctx=0xbfd20944, format=0xb77bd4de "key not found from hash", args=0xbfd20964 "\204\nÒ¿Hv\005\båey·Wb¨m\230v\005\bù\232x·") at failures.c:649 status = 0 #5 0xb7760edd in i_panic ( format=format@entry=0xb77bd4de "key not found from hash") at failures.c:263 ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0} args = 0xbfd20964 "\204\nÒ¿Hv\005\båey·Wb¨m\230v\005\bù\232x·" #6 0xb779678d in hash_table_remove (table=0x83596b8, key=0x8833fe0) at hash.c:317 node = <optimized out> hash = 1839751767 #7 0xb778adda in setting_entry_detach (entry=0x8833fd0, cache=0x8057648) at master-service-settings-cache.c:167 No locals. #8 cache_add (parser=0x8b2f388, output=0xbfd209c0, input=0xbfd209c8, cache=0x8057648) at master-service-settings-cache.c:203 entry = <optimized out> pool = 0x8833fc0 pool_size = <optimized out> entry_local_name = <optimized out> #9 master_service_settings_cache_read (cache=0x8057648, input=input@entry=0xbfd20a68, dyn_parsers=dyn_parsers@entry=0x0, parser_r=parser_r@entry=0xbfd20a64, error_r=error_r@entry=0xbfd20a60) at master-service-settings-cache.c:297 output = {specific_services = 0x0, service_uses_local = 1, service_uses_remote = 0, used_local = 1, used_remote = 0} new_input = {roots = 0x804dba0, config_path = 0x0, preserve_environment = false, preserve_user = false, preserve_home = false, never_exec = false, use_sysexits = false, parse_full_config = false, module = 0x804bc38 "imap-login", service = 0x804bc33 "imap", username = 0x0, local_ip = {family = 2, u = {ip6 = {__in6_u = { __u6_addr8 = "Wb¨m", '\000' <repeats 11 times>, __u6_addr16 = {25175, 28072, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {1839751767, 0, 0, 0}}}, ip4 = { s_addr = 1839751767}}}, remote_ip = {family = 2, u = {ip6 = { __in6_u = {__u6_addr8 = "[yÇc", '\000' <repeats 11 times>, __u6_addr16 = {31067, 25543, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {1674017115, 0, 0, 0}}}, ip4 = { s_addr = 1674017115}}}, local_name = 0x0} set = <optimized out> __FUNCTION__ = "master_service_settings_cache_read" #10 0xb77ef48d in login_settings_read (pool=0x9801dc8, local_ip=local_ip@entry=0xbfd20b1c, remote_ip=remote_ip@entry=0xbfd20b84, local_name=local_name@entry=0x0, other_settings_r=other_settings_r@entry=0xbfd20b18) at login-settings.c:226 input = {roots = 0x804dba0, config_path = 0x0, preserve_environment = false, preserve_user = false, preserve_home = false, never_exec = false, use_sysexits = false, parse_full_config = false, module = 0x804bc38 "imap-login", service = 0x804bc33 "imap", username = 0x0, local_ip = {family = 2, u = {ip6 = {__in6_u = { __u6_addr8 = "Wb¨m", '\000' <repeats 11 times>, __u6_addr16 = {25175, 28072, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {1839751767, 0, 0, 0}}}, ip4 = { s_addr = 1839751767}}}, remote_ip = {family = 2, u = {ip6 = { __in6_u = {__u6_addr8 = "[yÇc", '\000' <repeats 11 times>, __u6_addr16 = {31067, 25543, 0, 0, 0, 0, 0, 0},
__u6_addr32 = {1674017115, 0, 0, 0}}}, ip4 = {
s_addr = 1674017115}}}, local_name = 0x0}
error = <optimized out>
parser = <optimized out>
cache_sets = <optimized out>
sets = <optimized out>
i = <optimized out>
count = <optimized out>
__FUNCTION__ = "login_settings_read"
#11 0xb77ef833 in client_connected_finish (conn=0xbfd20b78) at main.c:119 client = <optimized out> proxy = <optimized out> local_ip = {family = 2, u = {ip6 = {__in6_u = { __u6_addr8 = "Wb¨m", '\000' <repeats 11 times>, __u6_addr16 = { 25175, 28072, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {1839751767, 0, 0, 0}}}, ip4 = {s_addr = 1839751767}}} set = <optimized out> local_port = 993 pool = 0x9801dc8 fd_ssl = <optimized out> other_sets = <optimized out> #12 0xb778929c in master_service_listen (l=0x834d308) at master-service.c:803 service = 0x8056398
conn = {fd = 155, listen_fd = 11, name = 0x8056585 "imaps",
remote_ip = {family = 2, u = {ip6 = {__in6_u = {
__u6_addr8 = "[yÇc", '\000' <repeats 11 times>,
__u6_addr16 = {31067, 25543, 0, 0, 0, 0, 0, 0},
__u6_addr32 = {1674017115, 0, 0, 0}}}, ip4 = {
s_addr = 1674017115}}}, remote_port = 55451, fifo = 0,
ssl = 1, accepted = 1}
#13 0xb77a0054 in io_loop_call_io (io=0x834d438) at ioloop.c:379 ioloop = 0x8056468 t_id = 2 #14 0xb77a0ebe in io_loop_handler_run (ioloop=ioloop@entry=0x8056468) at ioloop-epoll.c:213 ctx = 0x834c488 events = 0x0 event = 0x96af618 list = 0x834d468 io = <optimized out> tv = {tv_sec = 45, tv_usec = 831525} events_count = 0 msecs = <optimized out> ret = 1 i = <optimized out> j = <optimized out> call = <optimized out> #15 0xb779f9f0 in io_loop_run (ioloop=0x8056468) at ioloop.c:398 No locals. #16 0xb7788aae in master_service_run (service=0x8056398, callback=callback@entry=0xb77efb60 <client_connected>) at master-service.c:543 No locals. #17 0xb77f0300 in login_binary_run (binary=0x804bec0, argc=argc@entry=3, argv=0x80561c0, argv@entry=0xbfd20e14) at main.c:406 set_pool = 0x8056630 allow_core_dumps = <optimized out> login_socket = 0x80561e6 "director" c = <optimized out> #18 0x08049b63 in main (argc=3, argv=0xbfd20e14) at client.c:530 No locals.