iamaleksey / oserl Goto Github PK
View Code? Open in Web Editor NEWA fork of http://sourceforge.net/projects/oserl/ with a few patches.
Home Page: http://github.com/iamaleksey/oserl
A fork of http://sourceforge.net/projects/oserl/ with a few patches.
Home Page: http://github.com/iamaleksey/oserl
Im facing an issue with a trx connection, if the incomming and outgoing (submit_sm/deliver_sm) troughtput is high enough the gen_esme server crash's with a , which takes about 2 minutes to crash, i need this for a production system for next month :s, and my SMSC provider only supports trx connections, i was using tr and rx connections with no problem with other SMSC's,
also i noticed that this ony happens when receving and sending messages in simultaneous, if im only sending, or receiving this issues does not occur.
Im using SMPPSim from logica as a simulator.
Also oserl supports async smpp sessions ? The doc is very vague on this and also doesn't mention the window width, if its configurable, only rps.
looking at the process_info of the gen_esme connection process i notice that the server is "loked" in some operation, here follows the sasl error report and process_info
** Generic server <0.160.0> terminating
** Last message in was {'EXIT',<0.158.0>,
{timeout,
{gen_server,call,
[<0.158.0>,
{{submit_sm,
[{short_message,
[0,72,0,105,0,32,0,116,0,104,0,101,0,114,0,101,
0,32,0,84,0,82,0,88]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,"7337"},
{data_coding,8},
{dest_addr_ton,1},
{dest_addr_npi,1},
{source_addr_npi,1},
{registered_delivery,0},
{priority_flag,0},
{schedule_delivery_time,[]},
{validity_period,[]}]},
[{uid,
"8723648C5319FF0AB78864A5A6BD94A8F66DE233"}]},
120000]}}}
** When Server state == {st,<0.158.0>,undefined,12751,1083,
{1304,83762,900153}}
** Reason for termination ==
** {timeout,
{gen_server,call,
[<0.158.0>,
{{submit_sm,
[{short_message,
[0,72,0,105,0,32,0,116,0,104,0,101,0,114,0,101,0,32,0,
84,0,82,0,88]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,"7337"},
{data_coding,8},
{dest_addr_ton,1},
{dest_addr_npi,1},
{source_addr_npi,1},
{registered_delivery,0},
{priority_flag,0},
{schedule_delivery_time,[]},
{validity_period,[]}]},
[{uid,"8723648C5319FF0AB78864A5A6BD94A8F66DE233"}]},
120000]}}
ok
(smpp_con@arsenio-desktop)135> rb:show(2).
Crashing process
initial_call {cl_queue_srv,init,['Argument__1']}
pid <0.160.0>
registered_name []
error_info
{exit,
{timeout,
{gen_server,call,
[<0.158.0>,
{{submit_sm,
[{short_message,
[0,72,0,105,0,32,0,116,0,104,0,101,0,114,0,
101,0,32,0,84,0,82,0,88]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,"7337"},
{data_coding,8},
{dest_addr_ton,1},
{dest_addr_npi,1},
{source_addr_npi,1},
{registered_delivery,0},
{priority_flag,0},
{schedule_delivery_time,[]},
{validity_period,[]}]},
[{uid,"8723648C5319FF0AB78864A5A6BD94A8F66DE233"}]},
120000]}},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}
ancestors [smpp_connection,smpp_connector_sup,<0.51.0>]
messages []
links []
dictionary []
trap_exit true
status running
heap_size 17711
stack_size 24
reductions 59200658
ok
(smpp_con@arsenio-desktop)136> erlang:process_info(erlang:whereis(smpp_connection)).
[{registered_name,smpp_connection},
{current_function,{gen,do_call,4}},
{initial_call,{proc_lib,init_p,5}},
{status,waiting},
{message_queue_len,40},
{messages,[{'$gen_call',{<0.10847.4>,#Ref<0.0.43.198005>},
{{submit_sm,[{short_message,[0,72,0,105,0,32,0,116,0,104,0|...]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,"7337"},
{data_coding,8},
{dest_addr_ton,1},
{dest_addr_npi,1},
{source_addr_npi,1},
{registered_delivery,0},
{priority_flag,0},
{schedule_delivery_time,[]},
{validity_period,[]}]},
[{uid,"F68E1631C5756718C4D2A0F7961069BD992D208"}]}},
{'$gen_call',{<0.10848.4>,#Ref<0.0.43.198013>},
{{submit_sm,[{short_message,[0,72,0,105,0,32,0,116,0,104|...]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,"7337"},
{data_coding,8},
{dest_addr_ton,1},
{dest_addr_npi,1},
{source_addr_npi,1},
{registered_delivery,0},
{priority_flag,0},
{schedule_delivery_time,[]},
{validity_period,...}]},
[{uid,"E87007766E3D5E5AD6BB68835CBBEEAD5FB19237"}]}},
{'$gen_call',{<0.10841.4>,#Ref<0.0.43.198016>},
{handle_deliver_sm,{5,0,22410,
[{short_message,"RE 2856249 19930922"},
{sm_default_msg_id,0},
{data_coding,0},
{replace_if_present_flag,0},
{registered_delivery,0},
{validity_period,[]},
{schedule_delivery_time,[]},
{priority_flag,...},
{...}|...]}}},
{'$gen_call',{<0.10849.4>,#Ref<0.0.43.198019>},
{{submit_sm,[{short_message,[0,72,0,105,0,32,0,116|...]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,"7337"},
{data_coding,8},
{dest_addr_ton,1},
{dest_addr_npi,1},
{source_addr_npi,1},
{registered_delivery,0},
{priority_flag,...},
{...}|...]},
[{uid,"3E0CBFEA73A8B709ACF1EE7D8FA8898E9859DD71"}]}},
{'$gen_call',{<0.10845.4>,#Ref<0.0.43.198021>},
{{submit_sm,[{short_message,[0,72,0,105,0,32,0|...]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,"7337"},
{data_coding,8},
{dest_addr_ton,1},
{dest_addr_npi,1},
{source_addr_npi,1},
{registered_delivery,...},
{...}|...]},
[{uid,"C9352FD329A7C5FED4ECC9725BA52CE433E0DDB3"}]}},
{'$gen_call',{<0.10850.4>,#Ref<0.0.43.198036>},
{{submit_sm,[{short_message,[0,72,0,105,0,32|...]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,"7337"},
{data_coding,8},
{dest_addr_ton,1},
{dest_addr_npi,1},
{source_addr_npi,...},
{...}|...]},
[{uid,"5B07AFCB6EA1BE25CA1CCEC8925C6A1DA2AAB0F4"}]}},
{'$gen_call',{<0.10851.4>,#Ref<0.0.43.198041>},
{{submit_sm,[{short_message,[0,72,0,105,0|...]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,"7337"},
{data_coding,8},
{dest_addr_ton,1},
{dest_addr_npi,...},
{...}|...]},
[{uid,"962DA498590F67AF868DDAC9F95A72E7D6640C17"}]}},
{'$gen_call',{<0.10852.4>,#Ref<0.0.43.198046>},
{{submit_sm,[{short_message,[0,72,0,105|...]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,"7337"},
{data_coding,8},
{dest_addr_ton,...},
{...}|...]},
[{uid,"8E1E1D7F548C82D443C98FDB6E4FFD50205DBB9F"}]}},
{'$gen_call',{<0.10853.4>,#Ref<0.0.43.198051>},
{{submit_sm,[{short_message,[0,72,0|...]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,[...]},
{data_coding,...},
{...}|...]},
[{uid,"39974B8D22FEC1158E9B34D669BF781CC5794205"}]}},
{'$gen_call',{<0.10854.4>,#Ref<0.0.43.198056>},
{{submit_sm,[{short_message,[0,72|...]},
{destination_addr,"351913768304"},
{source_addr_ton,5},
{source_addr,...},
{...}|...]},
[{uid,"8E8F476574C69BDBB2488F71E1876892BD320FB6"}]}},
{'$gen_call',{<0.10855.4>,#Ref<0.0.43.198061>},
{{submit_sm,[{short_message,[0|...]},
{destination_addr,[...]},
{source_addr_ton,...},
{...}|...]},
[{uid,"2A7DF716CED714200404E10324A90DCA183A49FD"}]}},
{'$gen_call',{<0.10856.4>,#Ref<0.0.43.198066>},
{{submit_sm,[{short_message,[...]},
{destination_addr,...},
{...}|...]},
[{uid,"4969C8F1E1D21BA7604D9393B3624A6B1BA7B649"}]}},
{'$gen_call',{<0.10857.4>,#Ref<0.0.43.198071>},
{{submit_sm,[{short_message,...},{...}|...]},[{uid,[...]}]}},
{'$gen_call',{<0.10858.4>,#Ref<0.0.43.198076>},
{{submit_sm,[{...}|...]},[{uid,...}]}},
{'$gen_call',{<0.10859.4>,#Ref<0.0.43.198081>},
{{submit_sm,[...]},[{...}]}},
{'$gen_call',{<0.10860.4>,#Ref<0.0.43.198086>},
{{submit_sm,...},[...]}},
{'$gen_call',{<0.10861.4>,#Ref<0.0.43.198091>},{{...},...}},
{'$gen_call',{<0.10862.4>,...},{...}},
{'$gen_call',{...},...},
{'$gen_call',...},
{...}|...]},
Hello,
Would it be possible to have a release tag for the latest commit? It would be great for building packages for different operating systems :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.