IRC log for #asterisk on 20170612

00:15.52*** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net)
00:20.19*** join/#asterisk infobot (ibot@rikers.org)
00:20.19*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.16.0 (2017/05/30), 11.25.1 (2016/12/08), Standard: 14.5.0 (2017/05/30); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
00:29.23*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
01:23.04*** join/#asterisk [[thufir]] (~thufir@192.157.119.2)
02:13.27*** join/#asterisk craigify (~craigify@ip184-186-18-123.no.no.cox.net)
02:20.27*** join/#asterisk genpaku (~genpaku@107.191.100.185)
02:30.34*** join/#asterisk anpi (~crr@unaffiliated/anpi)
02:55.20*** join/#asterisk tuxd00d_ (~tuxd00d@ip68-106-11-138.ph.ph.cox.net)
03:02.07*** join/#asterisk [[thufir]] (~thufir@192.157.119.2)
03:42.48*** join/#asterisk cmendes0101 (~cmendes01@24.114.224.36)
04:28.52*** join/#asterisk bmg505 (~leon@196-210-25-24.dynamic.isadsl.co.za)
04:31.28*** join/#asterisk Dovid (~dovid@74.123.202.218)
05:27.20*** join/#asterisk jdgirard (~quassel@252.79.90.202.dsl.dyn.mana.pf)
05:29.49*** join/#asterisk Dovid (~dovid@static-173-63-105-210.nwrknj.fios.verizon.net)
05:49.26*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
06:07.59*** join/#asterisk pdugas (~retentive@c-73-82-30-193.hsd1.ga.comcast.net)
06:29.43*** join/#asterisk aness (~aness@cm-84.209.155.137.getinternet.no)
06:54.31*** join/#asterisk pchero_work (~pchero@109.70.54.56)
06:59.20*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
07:26.18*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
08:01.01*** join/#asterisk stefanauss (~stefanaus@95.142.177.153)
08:01.52*** join/#asterisk Samael28 (~Samael28@46-133-44-225.dialup.umc.net.ua)
08:28.28*** join/#asterisk Kaian (~kaian@212.81.221.228)
08:37.51*** join/#asterisk Dovid (~dovid@74.123.202.218)
08:48.54*** join/#asterisk Samael28 (~Samael28@80.78.45.158)
08:51.21*** join/#asterisk sekil (~sekil@nat-73.net011.net)
09:04.53*** join/#asterisk jkroon (~jkroon@165.16.204.41)
09:19.00*** join/#asterisk dpes (d9a88dc2@gateway/web/freenode/ip.217.168.141.194)
09:20.06dpeshi all, where can I find info about >>proper<< firewall settings for asterisk 14.4.1 ?
09:20.20dpesthere is a lot tutorials in net... but not consistent
09:20.39dpesor where in config could I control ports
09:36.37*** join/#asterisk sotoz (~sotoz@095-097-255-066.static.chello.nl)
10:02.11*** join/#asterisk Dirk23 (Dirk23@diehildebrands.de)
10:19.54*** join/#asterisk sekil (~sekil@nat-73.net011.net)
10:33.13*** join/#asterisk DanB (~DanB@clt-195.192.204.224.ip-anschluss.net)
11:06.48wdoekesdpes: udptl.conf, sip.conf/pjsip.conf, rtp.conf, assuming you'll be doing sip/rtp/t38
11:28.09*** join/#asterisk sekil (~sekil@109-93-199-144.static.isp.telekom.rs)
11:34.41*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
11:35.05*** join/#asterisk ketas- (~ketas@0011-0000-0000-0000-35dc-8408-07d0-2001.dyn.estpak.ee)
11:47.13dpeswdoekes: thx!
12:01.38*** join/#asterisk Samael28 (~Samael28@80.78.45.158)
12:04.33*** join/#asterisk dacod (~dacod@186.249.206.29)
12:14.41*** join/#asterisk Samael28 (~Samael28@80.78.45.158)
12:20.34*** join/#asterisk ketas (~ketas@200-62-46-176.dyn.estpak.ee)
12:28.39*** join/#asterisk cervajs2 (~cervajs2@178.148.broadband4.iol.cz)
12:29.32*** join/#asterisk Rini (uid196547@gateway/web/irccloud.com/x-xuvqsrwedkrzaleu)
12:30.02cervajs2hi. i have problem with pjproject cflags %configure --without-tds --without-portaudio --with-pjproject-bundled PJPROJECT_CFLAGS='-DPJ_GRP_LOCK_DEBUG=1 -DPJ_LOG_MAX_SIZE=4500 -DPJ_HAS_IPV6=0'  is this syntax correct? or do i need some semicolon?
12:34.51*** join/#asterisk samwierema (~samwierem@82.169.225.211)
12:43.22*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
12:54.18*** join/#asterisk scgm11_ (~scgm11@r186-52-183-170.dialup.adsl.anteldata.net.uy)
12:57.29*** join/#asterisk DivideBy0x0 (~DivideBy0@unaffiliated/divideby0x0)
12:57.30*** mode/#asterisk [+o DivideBy0x0] by ChanServ
12:58.30*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:16.28*** join/#asterisk Samael28 (~Samael28@80.78.45.158)
13:36.48cervajs2what is for  pjproject set log level X ?
13:37.44*** join/#asterisk sekil (~sekil@nat-73.net011.net)
13:43.49*** join/#asterisk newtonr (RustyNewto@nat/digium/x-ubeeuddovtpkrcyy)
13:43.49*** mode/#asterisk [+o newtonr] by ChanServ
13:48.35*** join/#asterisk putnopvut (putnopvut@asterisk/master-of-queues/mmichelson)
13:48.35*** mode/#asterisk [+o putnopvut] by ChanServ
13:58.02*** join/#asterisk kharwell (kharwell@nat/digium/x-lapcfzujaqrkkuup)
13:58.02*** mode/#asterisk [+o kharwell] by ChanServ
14:09.17*** join/#asterisk daniel_phonism (2fce67e5@gateway/web/freenode/ip.47.206.103.229)
14:12.06*** join/#asterisk Samael28 (~Samael28@46-133-86-158.dialup.umc.net.ua)
14:14.40*** join/#asterisk sh_smith (foobar@cpe-76-174-26-91.socal.res.rr.com)
14:14.47*** join/#asterisk daniel_phonism (~daniel_ph@static-47-206-103-229.tamp.fl.frontiernet.net)
14:27.23*** join/#asterisk Samael28 (~Samael28@46-133-86-158.dialup.umc.net.ua)
14:27.28*** join/#asterisk eric_hill (~eric_hill@wsip-184-180-163-60.ks.ks.cox.net)
14:32.08*** join/#asterisk rmudgett (rmudgett@nat/digium/x-gsuzhrnhpjjpctye)
14:32.09*** mode/#asterisk [+o rmudgett] by ChanServ
14:44.53*** join/#asterisk scgm11_ (~scgm11@r186-50-100-145.dialup.adsl.anteldata.net.uy)
14:54.31*** join/#asterisk daniel_phonism (~daniel_ph@static-47-206-103-229.tamp.fl.frontiernet.net)
15:22.20*** join/#asterisk Oatmeal (~Suzeanne@c-68-45-30-44.hsd1.nj.comcast.net)
15:37.51*** join/#asterisk gswain (uid91227@gateway/web/irccloud.com/x-jpehnmhwuwblzhgo)
15:47.27*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
15:51.34*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
15:51.34*** mode/#asterisk [+o cresl1n] by ChanServ
15:54.49*** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net)
15:55.38*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
16:06.23*** join/#asterisk UncleKiwi (~UncleKiwi@unaffiliated/unclekiwi)
16:09.41*** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net)
16:12.15*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
16:26.12*** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme)
16:28.28*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
16:54.57*** join/#asterisk skywayskase (~skywayska@67.139.42.219)
17:07.40*** join/#asterisk skywayskase (~skywayska@67.139.42.219)
17:19.34*** join/#asterisk eric_hill (~eric_hill@wsip-184-180-163-60.ks.ks.cox.net)
17:29.38*** join/#asterisk ChannelZ (~bobm@burner.com)
17:30.52ChannelZHrrm. Did anyone have any problems with * 13.16 segfaulting on launch while trying to load various ari modules?
17:31.24ChannelZI just built it on two different machines and it crashes. Rebuild 13.14 and it's fine.
17:33.39fileChannelZ: https://issues.asterisk.org/jira/browse/ASTERISK-27026?jql=text%20~%20"ari.conf"
17:36.04ChannelZhmmm interesting, thanks file!
17:50.54*** join/#asterisk danjenkins (danjenkins@gateway/shell/firrre/x-jwqorccfxjtjkrqi)
17:50.55*** mode/#asterisk [+o danjenkins] by ChanServ
17:51.46*** join/#asterisk infernix (nix@unaffiliated/infernix)
17:55.13*** join/#asterisk cmendes0101 (~cmendes01@172.56.35.152)
17:58.15*** join/#asterisk jrun (~jrun@unaffiliated/glphvgacs)
17:58.54*** join/#asterisk Jesterboxboy (~Thunderbi@80-109-194-26.cable.dynamic.surfer.at)
18:11.38qakhanhi all, is there any good reference for asterisk HA
18:11.46*** join/#asterisk DivideBy0 (~DivideBy0@unaffiliated/divideby0x0)
18:11.46*** mode/#asterisk [+o DivideBy0] by ChanServ
18:14.32*** join/#asterisk skywayskase (~skywayska@67.139.42.219)
18:17.36*** join/#asterisk sekil (~sekil@cable-89-216-231-235.dynamic.sbb.rs)
18:22.40lvlinuxWhat's the default timeout for Read()??? The Wiki doesn't say, nor does core show application Read, but they both make mention of a "default timeout"
18:25.27lvlinuxSorry let me correct myself: the wiki doesn't mention a default timeout, but says that if a timeout isn't specified, it will finish when # is pressed.
18:25.52lvlinuxBut the built in help does mention the default timeout.
18:27.01*** join/#asterisk salviadud (~ralfalfa@189-211-190-134.static.axtel.net)
18:31.41tuxd00dqakhan: How many ways can you prepare an egg? Which is your favorite way to prepare an egg?  Asterisk HA is the same with many ways to do it and it comes down to a matter of preference. Also, are we talking about a small deployment with two servers, or something much larger?
18:34.16[TK]D-Fenderlvlinux, looks like 6s
18:34.56lvlinuxk thanks. Was mainly just curious as it's no problem to set whatever I want.
18:35.26qakhantuxd00d i will start with 2 servers
18:39.50tuxd00dqakhan: What are you trying to protect against?  What are you trying to make redundant? How much downtime can you afford?  How many endpoints?  There are many questions, so if you’re looking for advice here, you’ll have to be very explicit on what you’re trying to accomplish.
18:43.09qakhantuxd00d i want to setup redundant asterisk so if server A goes down Server B automatically take over. i am use SIP Trunk. which can be move to active server accordingly.
18:48.36*** join/#asterisk EnrgySmth (d8eba101@gateway/web/freenode/ip.216.235.161.1)
18:48.45tuxd00dA simple “heartbeat” method would work for that.  But what to you mean by going down?  Asterisk crash, os crash, someone turned off the light switch the server was plugged into?
18:50.28qakhanyes anythign can happend to server. asterisk crash, OS crash. Network port goes bad. physical machine crash etc....
19:00.31tuxd00dqakhan: A heart beat program would satisfy that.  Something like  http://clusterlabs.org/
19:08.12tuxd00dqakhan: Alternatively, using a SIP proxy (such as #Kamailio) may work better for you (to load balance between two or more Asterisk), but you’d need a deep understanding of SIP.
19:08.45tuxd00dqakhan: Then you’re not “wasting” hardware on an utilized spare.
19:10.01tuxd00dqakhan: *nonutilized spare
19:30.41*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
19:45.49*** join/#asterisk dviola (~diego@unaffiliated/diegoviola)
19:48.52*** part/#asterisk dviola (~diego@unaffiliated/diegoviola)
20:15.32*** join/#asterisk dviola (~diego@unaffiliated/diegoviola)
20:16.43*** part/#asterisk dviola (~diego@unaffiliated/diegoviola)
20:19.57Kobazthis is really bad
20:20.06Kobazi have a pretty important machine that's locking up on === ---> Waiting for Lock #0 (db.c): MUTEX 276 ast_db_get &dblock 0x807c40 (1)
20:20.44Kobazasterisk 1.8
20:20.57SamotUpgrade.
20:21.01Kobazcan't
20:21.11Kobaz11 has major performance problems on this customer
20:21.13SamotThere's not support for 1.8
20:21.15Kobazchoppy audio, delayed audio
20:21.16Kobazi know
20:21.19Samot11 is SFO
20:21.22Kobazright
20:21.23SamotAnd dead in 3 months
20:21.25Samot13 or 14
20:21.30Kobazand that's not an option
20:21.54SamotThen you're digging through Google searches.
20:22.23Kobaznot really, it's not a common problem, there's almost zero information on it
20:22.36SamotWell...
20:22.37Kobazthe main public issues around astdb lockups are media based
20:22.45Kobazslow media, etc... but this astdb is on a ramdisk
20:23.40SamotSo an way outdated version of Asterisk and the AstDB runs on a RAMDisk?!
20:23.49SamotYeah, you're pretty much on your own.
20:24.00Kobazof course
20:24.14Kobazyou need to run astdb on a ramdisk on 11 as well, otherwise you'll get lockups too
20:24.18SamotWell you have an option.
20:24.24Kobazon any kind of high load system...
20:24.30SamotBuild a real server, not use RAMDisk and upgrade to 13 or 14.
20:24.38Kobazthanks for your worthless advice
20:24.43Kobazlooks like a repeat of last time
20:24.50SamotI'm not sure how that's worthless.
20:24.56SamotThat's actually a real solution.
20:25.06Kobazbecause like i said, that's not an option right now, this needs to get resolved in minutes not days
20:25.18SamotIt's not going to be solve in minutes.
20:25.26Kobazright exactly
20:25.32SamotIt's an uncommon deployment of a way out of date system.
20:25.34Kobazthat's why 13/14 is a no go
20:25.46SamotBuild a new 1.8 box
20:25.51Kobazthat's not an option
20:25.57SamotSo what is an option?
20:25.57Kobazplease be realistic
20:26.02Kobazfixing the root cause
20:26.07SamotA magical solution for a problem no one has had?
20:26.08Kobazas with most issues
20:26.15SamotWhat is the root cause?
20:26.16Kobazyou're not helping, please stop
20:26.19Kobazif i knew, i would fix it
20:26.28SamotHow will we figure that out?
20:26.46Kobazthis is more of a developer discussion anyway
20:26.54SamotLol.
20:26.55Kobazyou would need to understand the internals of astdb in order to help
20:26.55SamotOK
20:27.11SamotYou mean sqllite3?
20:27.44Kobazastdb
20:27.45Kobazmain/db.c
20:27.57SamotAstDB runs on SQLlite3
20:28.01Kobazright
20:28.02SamotThat's what it is.
20:28.07Kobazthis isn't an sqlite issue
20:28.13Kobazthis is a mutex lock in astdb
20:28.44Samothttps://www.sqlite.org/c3ref/mutex_alloc.html
20:28.47Samot^^ You mean those?
20:28.50Kobazno
20:28.58Kobazi mean this:  Waiting for Lock #0 (db.c): MUTEX 308 db_get_common &dblock 0x815460 (1)
20:29.05Kobazi'm talking about asterisk
20:30.38lorsungcui thought 1.8 wasn't sqlite
20:30.47Kobazer, well. i have problems with bolt
20:30.49Kobazboth
20:30.50rmudgettSamot: AstDB used an old berkley db in 1.8.  Was switched to sqlite3 in v11
20:30.52Kobaz1.8 is still astdb
20:30.59lorsungcuyes but not sqlite
20:32.40Kobazi fixed the locking problem
20:33.00Kobazput a 10 attempt trylock in the ast_db functions
20:33.17lorsungcuthat is adequately hackish
20:33.18lorsungculol
20:33.21Kobazyes
20:33.22Kobazhaha
20:33.42Samotrmudgett: That's right. I remember berkley in 1.4
20:34.04SamotI thought sqllite came earlier..
20:34.18Kobaznope
20:34.21Kobazsqlite is new-ish
20:34.34Kobazsome module is stuck loading, can't figure out what
20:35.26*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-170.cust.bezeqint.net)
20:35.26Kobazconsole stops at   -- Loaded provisioning template 'default'
20:36.35*** join/#asterisk skywayskase (~skywayska@67.139.42.219)
20:37.18Kobazthe only asterisk that's working right now is 11, but with aforementioned quality problems
20:37.20*** join/#asterisk pchero (~pchero@109.70.54.56)
20:37.25Kobazi'm gonna pull trunk and see if that's any better
20:37.54lorsungcuKobaz: what quality problems?
20:38.17jrunhow do i stop chan_sip from offering m=video in sdp negotiations?
20:38.20Kobazchoppy audio, delayed audio
20:38.30Kobazasterisk running at 300% cpu according to top
20:38.40lorsungcuKobaz: how many concurrent calls?
20:38.41Kobazwhich is insane
20:38.43Kobaz25
20:38.44lorsungcutranscoding?
20:38.49Kobazno transcoding
20:38.49lorsungcuthat's not a lot
20:38.58lorsungcuwhat codec?
20:39.04Kobaznope. it's not a lot... ulaw
20:39.10Kobazand doing mixmonitor recording
20:39.22lorsungcuso 25 with mixmonitor or 25 + mixmonitor
20:39.29Kobazif i map out the threads in asterisk to real processes, i get 3-5% per mixmonitor thread
20:39.39Kobaz25 with mixmonitor to a ramdisk
20:39.40SamotWhat type of CPU?
20:39.54Kobazdual Intel(R) Xeon(R) CPU E31240 @ 3.30GHz
20:40.19SamotSounds like an I/O problem with the RAMDisk.
20:40.27lorsungcuor any disk
20:40.46SamotDB locks, CPU usage...
20:40.48jrunchan_sip seems to be offering m=video dispite videosupport=no
20:40.49SamotAll related.
20:40.58Samotjrun: Which side of the call?
20:41.00lorsungcujrun: what codecs are you offering
20:41.05Kobazwell, db locks is logic flow
20:41.15Kobazit's locking and not releasing
20:41.25SamotDB requests are based on I/O
20:41.30Kobazwell, which can be io under the hood, if the lower level op isn't finishing
20:41.35lorsungcuKobaz: it's locking and not releasing in time
20:41.35SamotIt might not be unlocked because of an I/O issue.
20:41.41Kobazlorsungcu: exactly
20:41.44lorsungcuKobaz: it is eventually releasing
20:41.50KobazTiming buffered disk reads: 1384 MB in  3.00 seconds = 461.33 MB/sec
20:42.02jrunlorsungcu: ulaw
20:42.11lorsungcujrun: show the invites
20:42.13jrunSamot: inbound
20:42.15lorsungcu?pb
20:42.18Kobazio wait is incredibly low, 1-2%
20:42.21lorsungcuwhoops lol
20:42.27Samot~pb
20:42.27infobotpastebin is probably a web-based service where you should paste anything over 3 lines so you don't flood the channel. Here are links to a few: http://pastebin.ca, http://channels.debian.net/paste, http://paste.lisp.org, http://bin.cakephp.org/; or install pastebinit with yum or aptitude.
20:42.46KobazSamot: please stop
20:43.11lorsungcuKobaz: that was for me :p
20:43.20lorsungcui think
20:44.29Kobazso the mixmonitors are chewing like 15-20% cpu, each
20:44.31Kobazon occasion
20:46.54Kobazany ideas why mixmonitor cpu usage would be so high?
20:46.58Kobaz(without transcoding)
20:47.10Kobazi'm going right to sln
20:47.50jrunlorsungcu: INVITES:
20:47.57jrunhttps://gist.github.com/7171478f824634e046d7f4e3e631043c
20:48.08lorsungcuKobaz: what's the mixmonitor command you're using that causes it
20:48.24KobazMixMonitor(/rec/1497300248.269.sln,b)
20:49.13Samotjrun: That's the Yealink offering video
20:50.03Samotm=video 0 RTP/AVP 97 98 99 110 117 <-- That means port 0 for video media
20:50.04lorsungcusho nuf
20:50.05SamotNo port
20:50.07SamotNo video
20:50.28SamotAsterisk is answering back saying "I don't support video"
20:51.04jrunSamot: yealink ACK's that but keeps ringing!
20:51.11Kobazmerging my local 11 branch with the latest 11.25
20:51.19Kobazit was based previously on 11.20
20:51.27jrunSamot: i see.
20:51.42jrunSamot: it happens only on their phones with video cap.
20:51.48SamotRight
20:51.54jrunit works with pjsip though
20:52.01SamotBecause video cap = I should be using video
20:52.17SamotYou can allow/disallow codecs per driver
20:52.18jrunand the only diff i've seen is the Contact: (between chan_sip and res_pjsip)
20:52.25SamotAre you allowing video in PJSIP?
20:53.21jruni'm not disabling it... video_support is commented.
20:54.23SamotYou need to look at the individual endpoint settings for those phones and make sure they aren't allowed codecs just for them that aren't globally allowed for others.
20:54.41SamotIt's the only way those vid cap phones on PJSIP can have video between them.
20:54.53SamotUnless those phones are calling each other directly
20:58.18jrunhow do you disable video in pjsip ?
20:58.34jruni'm looking at pjsip.conf.sample and there is no video_support
21:01.40*** join/#asterisk brad_mssw (~brad@66.129.88.50)
21:01.49Kobazlorsungcu: run of the mill..... right
21:02.02lorsungcuyeah ntohing special
21:02.09drmessanoCheck your RAM
21:02.15lorsungcuyeah thats next
21:02.21drmessanoSomething is fucky
21:02.26lorsungcueither memtest or just reseat/replace
21:02.34lorsungcuits cheap enough nowadays anyway
21:02.38drmessanoReplace it
21:02.54Kobazram is happy.. i'm at my normal peak usage and it's a little tight but there's room
21:02.55drmessanoSince the need is critical
21:03.00drmessanoNo dude
21:03.01Kobazyeah
21:03.13Kobaznot that it couldn't use some more
21:03.15lorsungcuKobaz: has it done this all along, for years
21:03.18lorsungcuor is this new
21:03.18Kobazyou can always use more ram
21:03.18drmessanoNot usage
21:03.27drmessanoReplace it
21:03.31Kobazyeah?
21:03.33drmessanoLike, investigate for failure
21:03.40Kobazmemtest...
21:03.51lorsungcuif you have a spare, just replace it and be done
21:03.55Kobazshould throe like 64 gigs in there
21:03.57Kobazyeah
21:03.57drmessanoHow much RAM is in the box?
21:03.59Kobaz8 gigs
21:04.02drmessanoHA
21:04.03drmessanoYeah
21:04.05lorsungcuwat
21:04.06Kobazit was an old install, keep upgrading it here and there
21:04.13drmessanoThats like $10 worth
21:04.17Kobazi don't have physical access
21:04.17drmessanoPut 32GB in there, NEW
21:04.21Kobazright, yeah
21:04.31Kobazthat's in the plans, need customer approval and all that
21:04.38drmessanoDo that next
21:04.47lorsungcuappears you have that, given that they want it resolved..
21:05.03Kobazyeah
21:05.06Kobazi will now
21:05.13Kobazit wasn't an issue a day ago
21:05.22drmessanoKobaz: and nothing changed?
21:05.25Kobaznope
21:05.25drmessanoand its an older box?
21:05.27Kobazyeah
21:05.36drmessanoReplace+Upgrade the RAM
21:05.38Kobazi have this problem every so often with various installs
21:05.38drmessano100%
21:05.45Kobazasterisk will run fine for *years*
21:05.51Kobazand then start to mysteriously crash
21:05.57drmessanoYoure letting sample bias affect your troubleshooting of this one box
21:06.00Kobazthe last big one was a null pointer in chan_sip
21:06.01drmessanoThis box is sick
21:06.01lorsungcunormally we blame that on systemd
21:06.15Kobazyeah my bias is asterisk
21:06.22Kobazbut yeah it could very well be a hardware oddity
21:06.53drmessanoYour bias is that "This happens sometimes on other boxes".. This box is giving every indication of a failure
21:07.03drmessanoWork it from that angle
21:07.03Kobazexcept it's not
21:07.08drmessanoYeah it is
21:07.08Kobazthat's the thing
21:07.17drmessanoThats a performance issue
21:07.25drmessanoSudden, inexplicable
21:07.30drmessanoReplace the RAM
21:07.45Kobazi agree that it should get replaced
21:07.47Kobazi'm not arguing that
21:07.55Kobazi'm talking about root case, i think is something else
21:08.18Kobaz32 gigs would be a nice buffer and all that, sounds great, but what can we do _now_ is the question
21:08.19drmessanoheh ok
21:08.27drmessanoNothing
21:08.34Kobazand maybe the ram is flakey, *but*
21:08.40*** join/#asterisk xochilpili (~xochilpil@unaffiliated/xochilpili)
21:08.41xochilpilihi all
21:08.45Kobazapache's not crashing, postgres is not crashing, ssh is not crashing
21:09.28xochilpiliim using a pstn cisco spa3102, and i have configured with asterisk, everything works (out-going and incoming calls) but when i use it for a phone call, disconnects the internet :D
21:09.32Kobazetc etc etc.... so if the machine is chugging along processing everything it's supposed to, and asterisk is the only thing having a problem.... what do you blame?
21:09.34xochilpiliany idea how to fix this?
21:09.46Kobazdo you see the rationalle ?
21:09.48drmessanoKobaz: How many sticks of RAM?
21:09.53Kobaztwo, it's ddr
21:10.11SamotHow much is allocated to RAMDisk?
21:10.31Kobazrecording ramdisk, 750 megs
21:10.36Kobazat most, it's about 10% used
21:10.45SamotBut it's on one stick?
21:10.56Kobazastdb ramdisk, 100 megs, but that thing is tiny, it's like 2MB
21:11.09SamotAnd that portion of the stick is used just as a HD
21:11.15SamotNot for memory processes...
21:11.16Kobazi don't have any stick affinity assigned to the ramdisk
21:11.20drmessanoOk, and you can't possibly fathom, whatsover, a degradation in one of those sticks, even partial, causing failures that are only seen in the one application that's basically the most sensitive to that sort of problem, which is your RAMDisk?
21:11.20SamotOK
21:11.26Kobazi'm not sure if you can in linux
21:11.37Kobazthat would be interesting to look into
21:11.55drmessanoObviously you're not a hardware guy.  I get that
21:12.01SamotAsterisk is having lock errors with the DB
21:12.03Kobazdrmessano: i can fatham... anything is possible.... but i think more likly it's software
21:12.06drmessanoBut you need to stop trying to patch around a hardware problem
21:12.14SamotThat resides on your RAMDisk.
21:12.26drmessanoKobaz: I completely disagree with your rationale
21:12.38SamotIf your RAM is bad/dying then it's going to cause I/O issues with RAMDisk
21:12.41drmessanoThis sounds like wishful thinking, and I don't understand why
21:12.43KobazSamot: true
21:12.52SamotEven non-Asterisk stuff could impact it.
21:13.01drmessanoSwap the RAM.. It's fucking cheap.  This is a waste of time
21:13.02Kobazdrmessano: it's not wishful, i'm putting the pieces together... a is happing, c, d, d, e are not
21:13.04SamotIf the memory is bad and leaking it over to the RAMDisk.
21:13.17Kobazdrmessano: it's a 3 hour drive, it's not getting swapped today
21:13.25drmessanoKobaz: Then its not getting fixed today
21:13.33Kobazcould very well be
21:14.40Kobazso, just curious
21:14.55Kobazdrmessano: what would be your explanation of bad ram causing mixmonitor to spike in cpu usage
21:15.00Kobazdrmessano: on multiple machines
21:15.21SamotThat's two different things.
21:15.25Kobazdid the ram go bad in two (different build) machines, 500 miles apart from each other?
21:15.28Kobazthat's the thing i don't get
21:15.44SamotIs the other machine having the DB lock ups?
21:15.45Kobazi've seen this exact issue before on another box, where we were unable to upgrade to asterisk-11 due to this cpu spike
21:15.52Kobazyeah, all the same issues
21:15.55Kobazbut this was a while ago
21:16.00Kobazi dont remember all the details
21:16.04filethat's incorrect wording
21:16.08SamotSo it's not happening now.
21:16.13fileall the same symptoms, but does not necessarily mean same issues
21:16.16Kobazright
21:16.18SamotSo this just different happen on two machines at once.
21:16.24Kobazwhich is why i'm in interested in root cause
21:16.32SamotHow did you fix the other machine?
21:16.38Kobazroll back to 1.8
21:16.51SamotWhat was that machine running?
21:16.58Kobazwhile we work on migrating our platform to something newer
21:17.09Kobazit was running 1.8.12 for the longest time
21:17.14SamotNo.
21:17.16SamotRAM/CPU
21:17.21SamotActual resources..
21:18.14Kobazoh, the other box Intel(R) Core(TM) i3 CPU         530  @ 2.93GHz.    8 gigs of ram
21:18.36*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
21:19.02Kobazobviously not top of the line, but was pretty decent 6 years ago
21:19.21Kobazand this box handles like maybe max 12 concurrent calls
21:19.37Kobazit's not like these things are 1000 call clusters or anything
21:20.25Kobazyes, these sites need better hardware
21:21.25SamotSounds like underperforming and/or failing hardware in these cases.
21:21.34Kobazunderperforming i would agree
21:21.40Kobazfailing... no, not yet with the information i have so far
21:21.45SamotOh this current box is sick and failing
21:21.54SamotYou just haven't accepted it.
21:22.01SamotThe RAM needs to be replaced.
21:22.18SamotNot should be, needs to be.
21:22.25Kobazso what happens when i put a new machine in, switch to asterisk-11 and mixmonitor uses 15% cpu on a single channel
21:23.02SamotI don't know. I haven't run into that problem.
21:23.13Kobazi'm giving it the benefit of the doubt that yes it could very well be a hardware problem
21:23.19Kobazbut all of my experience points to otherwise
21:23.25SamotI'm running VMs with 2 vCPU and 4GB RAM recording calls...
21:23.39Kobazi've seen this time and time again with long running systems, the *use case* changes
21:23.40SamotProbably about 5-6 calls recording with another 15 happening...
21:23.46Kobazand then bad things start happening
21:24.17Kobazthe crash i found with chan_sip... basically the customer had l2 networking problems... one of their core switches was on half dupluex and was dropping packets like mad
21:24.39filehave you, I dunno, done any dd tests against the ramdisk?
21:24.51Kobazthe dropped packets caused a different envionment for asterisk, and the usage-flow changed, and all of a sudden asterisk was handling packets it wasn't coded to handle in that fashion
21:25.16Kobaza few days of debugging found a problem in chan_sip
21:25.20SamotWait..
21:25.27SamotSo their network shit the bed..
21:25.27Kobazi know this is specific, and anecdotal
21:25.34SamotSent stuff to Asterisk it shouldn't
21:25.40Kobazright
21:25.43Kobazand asterisk shat the bed
21:25.44SamotBut some how it was Chan_SIP's fault?
21:25.51Kobazright
21:25.53Kobazchan_sip shouldn'
21:25.53SamotOK
21:26.00Kobazt crash if you throw something bad at it
21:26.07Kobazthat's DoS basically, security problems
21:26.24Kobazi dont remember offhand the issue #, but it was fixed
21:26.27SamotYou also shouldn't DoS your own systems within your network.
21:26.46Kobazjust saying... every single random issue i've found, that causes a) crashes, b) performance problems, c) crazy shit
21:26.49*** join/#asterisk skywayskase (~skywayska@67.139.42.219)
21:26.50Kobazso far has been 100% software
21:26.56SamotAll Asterisk?
21:26.59Kobazall asterisk
21:27.01SamotAll the time over the years?
21:27.05SamotSo why do you still use it?
21:27.20SamotIf every problem you have is Asterisk based, why are you still running it?
21:27.27Kobazbecause i love the platform, and when i hit a bug, i work on getting it fixed. or checking if someone already fixed it, and move on
21:28.00filewhistles
21:28.24KobazSamot: you know i'm being over generaizing with 'all asterisk'... I'm saying *voip* issues, and where asterisk crashes.... has been asterisk related, of course
21:28.34SamotSo when a network DoS's it's own Asterisk server, the answer is "fix Asterisk" not "fix the network"?
21:28.39Kobazgeneralizing...
21:28.45KobazSamot: right exactly
21:28.54drmessanoI dont mean to interrupt
21:28.55drmessanoBut
21:28.57drmessano17:24:40 <@file> have you, I dunno, done any dd tests against the ramdisk?
21:28.59KobazSamot: asterisk should be able to not crash when it gets a malformed packet, just like apache
21:29.06Kobazfile: not yet... going to do that
21:29.10Kobazdrmessano: ^
21:29.17SamotWell as you are talking about "finding root causes"
21:29.28SamotYou should apply that to networks that DoS themselves.
21:29.33SamotAnd cause all other issues.
21:29.37Kobazright
21:29.39drmessanoSamot: Stop Please
21:29.41Kobaz'other' issues asside
21:29.44drmessanoLets check this RAMDISK
21:29.53drmessanoWe can bitch about how Asterisk sucks later
21:30.00drmessanoTheres plenty of time for that
21:30.00Kobazdo you agree, that asterisk should not crash, when getting a malformed packet
21:30.03Kobazhaha
21:30.04Kobazokay okay
21:30.06Kobazi'm dding
21:30.17*** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme)
21:30.51Samotdrmessano: Sorry. I know, priorities.
21:31.28Kobazdd if=/dev/zero of=/rec/test bs=1M count=50... 52428800 bytes (52 MB) copied, 0.0159417 s, 3.3 GB/s
21:31.48Kobazi'm gonna do some writes and checksums with generated files as well
21:32.01filethat's not a very large file
21:32.51drmessano52MB?  I echo files larger than that from the cli
21:34.13Kobazhttps://pastebin.com/xGg7vx3w
21:34.14Kobazmore testing
21:34.35Kobazmissed pasting in test3, same sum
21:42.24*** join/#asterisk xochilpili (~xochilpil@unaffiliated/xochilpili)
21:42.51xochilpiliim using a pstn cisco spa3102, and i have configured with asterisk, everything works (out-going and incoming calls) but when i use it for a phone call, disconnects the internet
21:43.05xochilpiliany idea how to fix this?
21:43.21Kobazdrmessano:  https://pastebin.com/7VSXETvb
21:46.45drmessanoSure, thats a function test and not a load test, though
21:47.03Kobazright
21:47.09Kobazbut it's at least some sanity
21:47.29drmessanoNot really.. it just means you don't have a catastrophic RAM failure
21:47.33drmessanothose are rare
21:47.39Kobazwhich is some sanity...
21:47.56drmessanoHow many boxes do you admin?
21:48.36Kobazabout two dozen
21:48.37drmessanoHave you ever heard of the concept of pet vs cattle?
21:49.03Kobaznot specifically, but i can gather the meaning
21:49.10drmessanoOk, do tell
21:50.02Kobaztendering something with special attention, versus treating a mass quantity as a unit
21:50.55Kobazso, i had stress running 4 hdd hogs spinning on 250 meg files on the ramdisk with no noticable performance problems in asterisk that i can see
21:52.57drmessanoIn this case, we're talking more about the diminishing return of focused effort.  Obviously somethin has failed.  Start with a RAM upgrade/swap.  If you want to waste your time running a 24 hour memtest on it later, go for it.  Right now running small batches of basic tests are only exposing the obvious, that the box is still up and running to some extent.
21:54.07Kobazright
21:54.37Kobazwell there's not much i can do at the moment
21:54.56*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
21:54.57Kobazneed to wait for some dialer calls to finish and then i can switch to my new build of asterisk-11 and do some load testing
22:22.31Kobazi finally rebuilt without DONT_OPTIMIZE
22:22.48Kobazhaven't had a legit crash in a long time
22:31.22*** join/#asterisk imcdona (~imcdona@2607:f0d8:20:1001:94fe:2a00:16b0:7ff2)
22:44.19Kobazdown to 8 calls, and 40% cpu
22:58.01*** join/#asterisk Katty (uid62315@gateway/web/irccloud.com/x-rummgtfywavwuqdr)
23:29.30*** part/#asterisk kharwell (kharwell@nat/digium/x-lapcfzujaqrkkuup)
23:31.55*** join/#asterisk newtonr (RustyNewto@nat/digium/x-cpkkpcigljdqruut)
23:31.55*** mode/#asterisk [+o newtonr] by ChanServ
23:51.42*** join/#asterisk semitangent_ (b85acdb8@gateway/web/freenode/ip.184.90.205.184)
23:57.49semitangent_I am seeing things like 'or''=' in my CDR reports or a number followed by 'or''='  or ‘hi'or‘x’='x' in my call sources. Is there anything I can do about this?

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.