Displaying 3 results from an estimated 3 matches for "anvil_client".
2018 Dec 20
2
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...CK) = 0
[pid 9652] connect(14, {sa_family=AF_UNIX, sun_path="anvil-auth-penalty"}, 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...
2019 Jan 08
1
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...quot;anvil-auth-penalty"}, 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_conn...
2019 Jan 06
0
Authentication/Penalty disabled (socket mode=0) introduces constant 5 sec delays (2.27 on debian 9)
...14, {sa_family=AF_UNIX, sun_path="anvil-auth-penalty"}, 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 ECONNREFU...