Re: [OpenSIPS-Devel] [opensips] TCP listeners occasionally get stuck and consume 100% CPU (#410)

2015-02-09 Thread Bogdan Andrei IANCU
Hi @kelnos , your backtrace points to the lock for protecting the write 
operations on a TCP connection. This means you have a connection with a very 
very slow (and possible blocking) writing. 
I would suggest to switch to async writing for TCP:
 
http://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc82
or to stay in blocking mode but to reduce the write timeout:
 
http://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc89

Regards,
Bogdan

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/410#issuecomment-73475921___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] SQLite3 database support - Feature Request (#409)

2015-02-09 Thread anto
Closed #409.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/409#event-232738200___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] SQLite3 database support - Feature Request (#409)

2015-02-09 Thread anto
Sorry Bogdan for being childish. But I really had to react the same way as any 
arrogant people who tell me to GO AWAY, just because of I was asking 
question. If I would have asked for help in any setup or configuration, I 
definitely do not do that here in your project's github issue tracking.

And thanks a lot for your answer, which is quite fair and good enough for me.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/409#issuecomment-73581037___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 0d743f: Remove global holders for listeners.

2015-02-09 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/transport-interface
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0d743fb1341d80563056df82fcfde0377f9ada2e
  
https://github.com/OpenSIPS/opensips/commit/0d743fb1341d80563056df82fcfde0377f9ada2e
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
M modules/acc/acc_extra.c
M modules/seas/event_dispatcher.c

  Log Message:
  ---
  Remove global holders for listeners.


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] bc17da: Remove global holders for listeners.

2015-02-09 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/transport-interface
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bc17dacdb7ae9034e5757e109dca4509092f7620
  
https://github.com/OpenSIPS/opensips/commit/bc17dacdb7ae9034e5757e109dca4509092f7620
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
M forward.c
M globals.h
M main.c
M modules/registrar/save.c
M net/api_proto.h
M net/api_proto_net.h
M net/net_tcp.c
M net/net_tcp.h
A net/net_udp.c
M net/net_udp.h
M net/proto_tcp/proto_tcp.c
M net/trans.c
M net/trans.h
M pt.c
M socket_info.c
M socket_info.h

  Log Message:
  ---
  Remove global holders for listeners.


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] b003f5: Sip-wisely Content-Type parsing

2015-02-09 Thread ionutrazvanionita
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b003f506bc6174226a363dc2a430f4d20c5262f4
  
https://github.com/OpenSIPS/opensips/commit/b003f506bc6174226a363dc2a430f4d20c5262f4
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
M modules/b2b_entities/dlg.c

  Log Message:
  ---
  Sip-wisely Content-Type parsing


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 3b3b4e: Sip-wisely Content-Type parsing

2015-02-09 Thread ionutrazvanionita
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3b3b4e5eb1c41123c330bdf45397fc037c51efb5
  
https://github.com/OpenSIPS/opensips/commit/3b3b4e5eb1c41123c330bdf45397fc037c51efb5
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
M modules/b2b_entities/dlg.c

  Log Message:
  ---
  Sip-wisely Content-Type parsing


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 2e6323: Sip-wisely Content-Type parsing

2015-02-09 Thread ionutrazvanionita
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2e6323e65a9282f7de994c0668c8313a2b46146e
  
https://github.com/OpenSIPS/opensips/commit/2e6323e65a9282f7de994c0668c8313a2b46146e
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
M modules/b2b_entities/dlg.c

  Log Message:
  ---
  Sip-wisely Content-Type parsing


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] e87271: Sip-wisely Content-Type parsing

2015-02-09 Thread ionutrazvanionita
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e8727160bf1caa0ae264ffa5b02d11a78921b8b5
  
https://github.com/OpenSIPS/opensips/commit/e8727160bf1caa0ae264ffa5b02d11a78921b8b5
  Author: ionutrazvanionita ionution...@opensips.org
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
M modules/b2b_entities/dlg.c

  Log Message:
  ---
  Sip-wisely Content-Type parsing


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 167366: Add conn_init() and conn_clean() per connection.

2015-02-09 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/transport-interface
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 167366320e35d639648b6d8e4a1aa12f427a435f
  
https://github.com/OpenSIPS/opensips/commit/167366320e35d639648b6d8e4a1aa12f427a435f
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
M main.c
M net/api_proto_net.h
M net/net_tcp.c
M net/proto_tcp/proto_tcp.c
M net/tcp_conn_defs.h

  Log Message:
  ---
  Add conn_init() and conn_clean() per connection.

Network layer triggers corresponding (to proto) init() and clean() functions 
when creating or trashing a TCP connection.
For TCP plain, the handling of data chunks (pending writes) moved into these 
new function, independent of the TCP network layer.


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 3ba41f: send() function added in proto API.

2015-02-09 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/transport-interface
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3ba41f56e2eba96b89c354920b802bf7842ce0db
  
https://github.com/OpenSIPS/opensips/commit/3ba41f56e2eba96b89c354920b802bf7842ce0db
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
M forward.h
M net/api_proto.h
M net/proto_tcp/proto_tcp.c

  Log Message:
  ---
  send() function added in proto API.

proto TCP exposes a send() function via API.
send_msg() is using the proto APIs to select the send() function according to 
the protocol.


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 2922fc: Several TCP related params moved from core to TCP ...

2015-02-09 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/transport-interface
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2922fcdcbbcfef38a1c0c34cb41a15bd401f4d45
  
https://github.com/OpenSIPS/opensips/commit/2922fcdcbbcfef38a1c0c34cb41a15bd401f4d45
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2015-02-09 (Mon, 09 Feb 2015)

  Changed paths:
M cfg.lex
M cfg.y
M globals.h
M io_wait.c
M io_wait.h
M main.c
M net/net_tcp.c
M net/net_tcp.h
M net/net_tcp_proc.c
M net/net_tcp_proc.h
M net/proto_tcp/proto_tcp.c
M reactor_defs.h
M udp_server.c

  Log Message:
  ---
  Several TCP related params moved from core to TCP plain module.

Moved from core to TCP module:
* tcp_max_msg_chunks
* tcp_crlf_pingpong
* tcp_crlf_drop
* tcp_async
* tcp_async_max_postponed_chunks
* tcp_async_local_connect_timeout
* tcp_async_local_write_timeout

The async support test moved from reactor into TCP-plain module.


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel