From: Kristian K. <kri...@gm...> - 2007-05-23 20:01:07
|
On 5/23/07, Ioan Indreias <ioa...@mo...> wrote: > Hello, > > I am just installed Astlinux 0.4.5 on a Via EPIA EN12000EG Mini ITX fanless > system and trying to made some load tests. > > As this is our test system we have 1 GB memory and we run with a 40 GB SATA > drive (boot=sda1 and kd=sda2). > > First I had to insert in rc.modules via-velocity module in order to > recognize the Ethernet Gigabit Via VT6120/VT6121/VT6122. (this is mentioned > here just for reference). > > Next I tried to load a little bit the system and found that asterisk receive > a SIGSEGV signal and get "Killed" (literraly this is what I receive on CLI). > Using Sipp on another machine (with rtp_echo) and generating 3 minutes calls > (with .call files I generate a SIP call to a WaitMusicOnHold(300) extension) > I found that at near 44-46 simultaneous calls asterisk crashed without any > visible indications in logs (with verbose and debug set to 10). > > As I not a Linux expert and not very familiar with Astlinux the only idea > was to use strace and here is the output: > > pbx ~ # uname -a > Linux pbx 2.6.16.12 #1 SMP PREEMPT Sun Apr 22 12:16:58 EDT 2007 i686 unknown > pbx ~ # strace -p 31201 > ... > --- SIGRT_1 (Unknown signal 33) @ 0 (0) --- > sigreturn() = ? (mask now ~[TRAP KILL STOP]) > getppid() = 31200 > wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|__WCLONE, NULL) = > 31563 > munmap(0xb7e00000, 2097152) = 0 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > Process 31201 detached > > Do you have any recommendations on how to trace the problem? How could be > analyzed a core file on Astlinux? > > Best regards, > Ioan Indreias > www.modulo.ro > Ioan, I like load tests! Thanks for asking what to do about this - make sure that you ask us any other questions you might have. When doing load tests you probably have to tweak ulimit before you start Asterisk: http://www.voip-info.org/wiki-Asterisk+debugging#ulimit http://www.voip-info.org/wiki/view/Asterisk+dimensioning I have always wanted to work this into AstLinux somehow... Unfortunately because most systems don't have any swap space we have to be very careful with memory consumption. However, if you want to add some swap space (if you need it), all of the utils are there: mkswap swapon swapoff -- Kristian Kielhofner |