search for: net_connect_unix_with_retri

Displaying 6 results from an estimated 6 matches for "net_connect_unix_with_retri".

2018 Dec 20
2
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
..."}, 110) = -1 ECONNREFUSED (Connection refused) [pid 9652] close(14) = 0 [pid 9652] nanosleep({tv_sec=0, tv_nsec=90000000}, NULL) = 0 with ddd I get to: src/lib-master/anvil-client.c: int anvil_client_connect(struct anvil_client *client, bool retry) { //[...] fd = retry ? net_connect_unix_with_retries(client->path, 5000) : net_connect_unix(client->path); //[...] and retry is forced to TRUE by the caller and net_connect_unix_with_retries retries in case of ECONNREFUSED. How I get into it : ssh -X root at telegraphe-test apt install dovecot-dbg cd /dev/shm apt source dovecot cd doveco...
2019 Jan 08
1
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...14)?????????????????? = 0 >> [pid? 9652] nanosleep({tv_sec=0, tv_nsec=90000000}, NULL) = 0 >> >> >> with ddd I get to: >> src/lib-master/anvil-client.c: int anvil_client_connect(struct >> anvil_client *client, bool retry) { >> //[...] >> fd = retry ? net_connect_unix_with_retries(client->path, 5000) : >> net_connect_unix(client->path); >> //[...] >> >> and retry is forced to TRUE by the caller and >> net_connect_unix_with_retries retries in case of ECONNREFUSED. >> >> >> How I get into it : >> >> ssh -X r...
2019 Jan 06
0
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...ction refused) > [pid 9652] close(14) = 0 > [pid 9652] nanosleep({tv_sec=0, tv_nsec=90000000}, NULL) = 0 > > > with ddd I get to: > src/lib-master/anvil-client.c: int anvil_client_connect(struct anvil_client *client, bool retry) { > //[...] > fd = retry ? net_connect_unix_with_retries(client->path, 5000) : net_connect_unix(client->path); > //[...] > > and retry is forced to TRUE by the caller and net_connect_unix_with_retries retries in case of ECONNREFUSED. > > > How I get into it : > > ssh -X root at telegraphe-test > > apt install dovecot...
2018 Mar 04
1
2.2.34 fails to build on OpenBSD
...ovecot-2.2.34-no_db-no_ldap-no_mysql-no_postgresql/dovecot-2.2.34/src/lib/.libs/liblib.a -L.libs -lssl_iostream_openssl -lssl -lcrypto -Wl,-rpath,/usr/local/lib/dovecot /home/ports/pobj/dovecot-2.2.34-no_db-no_ldap-no_mysql-no_postgresql/dovecot-2.2.34/src/lib/.libs/liblib.a(net.o): In function `net_connect_unix_with_retries': net.c:(.text+0x852): warning: rand() may return deterministic values, is that what you want? .libs/libssl_iostream_openssl.so: undefined reference to `ssl_iostream_cert_match_name' .libs/libssl_iostream_openssl.so: undefined reference to `ssl_iostream_context_deinit' .libs/libssl...
2014 Jan 15
0
EAGAIN in dict proxy
...f the clients do indeed immediately try again, they are successful. (An INET listening socket does not seem to have this problem, incidentally) All of this is a long-winded way of saying that I believe in lib-dict/dict-client.c:client_dict_connect() the call to net_connect_unix should be a call to net_connect_unix_with_retries() with a small timeout. It would also be useful for us if an INET socket could be used.
2010 May 14
3
dovecot 2.0 vs. SELinux
...ot;/etc/dovecot/dovecot.conf"}, 110) = -1 ECONNREFUSED (Connection refused) close(4) = 0 nanosleep({0, 80000000}, NULL) = 0 ... (tries to connect 14x) traceback for connect causing this selinux denial is: connect net_connect_unix : lib/network.c #246 net_connect_unix_with_retries : lib/network.c : #255 master_service_open_config : lib-master/master-service-settings.c #157 master_service_settings_read : lib-master/master-service-settings.c #302 master_settings_read : master/main.c main : master/main.c Does anyone know what happens here? Why dovecot tries to use regular...