ERROR:core:proto_udp_send

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ERROR:core:proto_udp_send

Dawid Mielnik
Hi All,

Can you help me understand the cause of these error messages ?

[...]
Jul 26 09:56:00.259767 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259813 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259822 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259831 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259839 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259847 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
[...]


Opensips 2.2.2. 
I am also using rest_client - for each call, before being proxied, an http request is made by rest_client. Before and during this time the http server was overloaded and took quite long time. I am suspecting that this is linked to it but would like to understand how exactly.

Thanks,
Dawid


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ERROR:core:proto_udp_send

Liviu Chircu

Hi Dawid,

This seems to have been fixed a long time ago [1], so I'm a bit puzzled. Just to be 100% sure, can you try to locate the exact binary path your OpenSIPS service is running on, and figure out the exact version that way? (e.g. output of "/usr/local/sbin/opensips -V")

[1]: https://github.com/OpenSIPS/opensips/commit/d3aaf44c

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 26.07.2017 19:11, Dawid Mielnik wrote:
Hi All,

Can you help me understand the cause of these error messages ?

[...]
Jul 26 09:56:00.259767 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259813 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259822 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259831 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259839 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259847 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
[...]


Opensips 2.2.2. 
I am also using rest_client - for each call, before being proxied, an http request is made by rest_client. Before and during this time the http server was overloaded and took quite long time. I am suspecting that this is linked to it but would like to understand how exactly.

Thanks,
Dawid



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ERROR:core:proto_udp_send

Dawid Mielnik
Hi Liviu,

Exact version info:

version: opensips 2.2.2 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: 9eb177d
main.c compiled on 11:43:55 Nov  3 2016 with gcc 4.4.7

BR,
Dawid

On Wed, Jul 26, 2017 at 7:09 PM, Liviu Chircu <[hidden email]> wrote:

Hi Dawid,

This seems to have been fixed a long time ago [1], so I'm a bit puzzled. Just to be 100% sure, can you try to locate the exact binary path your OpenSIPS service is running on, and figure out the exact version that way? (e.g. output of "/usr/local/sbin/opensips -V")

[1]: https://github.com/OpenSIPS/opensips/commit/d3aaf44c

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 26.07.2017 19:11, Dawid Mielnik wrote:
Hi All,

Can you help me understand the cause of these error messages ?

[...]
Jul 26 09:56:00.259767 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259813 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259822 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259831 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259839 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259847 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
[...]


Opensips 2.2.2. 
I am also using rest_client - for each call, before being proxied, an http request is made by rest_client. Before and during this time the http server was overloaded and took quite long time. I am suspecting that this is linked to it but would like to understand how exactly.

Thanks,
Dawid



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ERROR:core:proto_udp_send

Razvan Crainea-3
Hi, Dawid!

I think the error appears when the Networking send buffers are full. If your system has enough resources, you can try to increase the memory used by the buffers[1].

[1] https://www.cyberciti.biz/faq/linux-tcp-tuning/

Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 07/26/2017 08:21 PM, Dawid Mielnik wrote:
Hi Liviu,

Exact version info:

version: opensips 2.2.2 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: 9eb177d
main.c compiled on 11:43:55 Nov  3 2016 with gcc 4.4.7

BR,
Dawid

On Wed, Jul 26, 2017 at 7:09 PM, Liviu Chircu <[hidden email]> wrote:

Hi Dawid,

This seems to have been fixed a long time ago [1], so I'm a bit puzzled. Just to be 100% sure, can you try to locate the exact binary path your OpenSIPS service is running on, and figure out the exact version that way? (e.g. output of "/usr/local/sbin/opensips -V")

[1]: https://github.com/OpenSIPS/opensips/commit/d3aaf44c

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 26.07.2017 19:11, Dawid Mielnik wrote:
Hi All,

Can you help me understand the cause of these error messages ?

[...]
Jul 26 09:56:00.259767 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259813 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259822 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259831 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259839 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259847 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
[...]


Opensips 2.2.2. 
I am also using rest_client - for each call, before being proxied, an http request is made by rest_client. Before and during this time the http server was overloaded and took quite long time. I am suspecting that this is linked to it but would like to understand how exactly.

Thanks,
Dawid



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ERROR:core:proto_udp_send

Dawid Mielnik
Hi Liviu,

Thanks for your answer!

I am still somehow trying to relate this to the rest_client problems context as it happened in exact same time (the errors have not been oberved in other situations even with higher traffic). 
I do not know internals of OpenSIPS - but is it possible that this is somehow related to receive buffers ? That is, OpenSIPS threads are busy waiting for rest_get responses (which have long delays) which leads to slow processing of incoming traffic and hence these errors ?
Or is this not related in any way?

Thanks,
Dawid


On Thu, Jul 27, 2017 at 11:07 AM, Răzvan Crainea <[hidden email]> wrote:
Hi, Dawid!

I think the error appears when the Networking send buffers are full. If your system has enough resources, you can try to increase the memory used by the buffers[1].

[1] https://www.cyberciti.biz/faq/linux-tcp-tuning/

Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 07/26/2017 08:21 PM, Dawid Mielnik wrote:
Hi Liviu,

Exact version info:

version: opensips 2.2.2 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: 9eb177d
main.c compiled on 11:43:55 Nov  3 2016 with gcc 4.4.7

BR,
Dawid

On Wed, Jul 26, 2017 at 7:09 PM, Liviu Chircu <[hidden email]> wrote:

Hi Dawid,

This seems to have been fixed a long time ago [1], so I'm a bit puzzled. Just to be 100% sure, can you try to locate the exact binary path your OpenSIPS service is running on, and figure out the exact version that way? (e.g. output of "/usr/local/sbin/opensips -V")

[1]: https://github.com/OpenSIPS/opensips/commit/d3aaf44c

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 26.07.2017 19:11, Dawid Mielnik wrote:
Hi All,

Can you help me understand the cause of these error messages ?

[...]
Jul 26 09:56:00.259767 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259813 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259822 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259831 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259839 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
Jul 26 09:56:00.259847 ERR 32258  ERROR:core:proto_udp_send: sendto(sock,0x7fb4817b3ba8,563,0,0x7fb484c23f10,16): Resource temporarily unavailable(11)
[...]


Opensips 2.2.2. 
I am also using rest_client - for each call, before being proxied, an http request is made by rest_client. Before and during this time the http server was overloaded and took quite long time. I am suspecting that this is linked to it but would like to understand how exactly.

Thanks,
Dawid



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Loading...