Re: Memory problem with kannel sms outgoing delivery report
Giulio Harding <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
One other thing to note is that from those kernel log entries, Kannel isn't crashing per se, it's simply being killed by the OOM-killer (which picks out processes to kill when the machine runs out of memory). From those logs: ... Nov 5 23:03:06 sms kernel: Free swap = 0kB Nov 5 23:03:06 sms kernel: Total swap = 152576kB Nov 5 23:03:06 sms kernel: Free swap: 0kB ... 152MB of swap isn't a huge amount, and it's obviously being all used, on top of the 320MB of RAM you have... What does 'top' say just before Kannel is killed? As Andreas said, it's most likely simply that your machine doesn't have enough memory. Solution: add more RAM (adding more swap is just going to kill your performance) Cheers, On 06/11/2007, at 7:11 PM, Andreas Fink wrote: > I think your issue is maybe that you run out of memory, the kernel > stars swapping (-> slow) and then crashes at the end. > The only reason I can think of is that you use memory based > delivery reports instead of mysql based ones and/or that your > machine simply doesnt have enough memory to run MySQL and Kannel > > On 06.11.2007, at 06:23, Yudi Wijaya wrote: > >> can someone here help me.. i have problem with my debian server, i >> use it for sms gateway use kannel.. well, the problems usually >> occur when i set delivery report for outgoing sms, then my >> computer become slow, and harddisk working, after that bash >> daemon, mysqld, and bearerbox (kannel) is crashed.. i use VMWare >> with HardDisk 2 GB and memory 320MB.. would you see this error >> log: http://pastebin.com/m1df0bb68 >> i got those error on debian screen >> >> well, i got no problem with send sms without delivery report >> >> >> Thanks, >> Yudi > > Andreas Fink > > Fink Consulting GmbH > Global Networks Schweiz AG > BebbiCell AG > IceCell ehf > > --------------------------------------------------------------- > Tel: +41-61-6666330 Fax: +41-61-6666331 Mobile: +41-79-2457333 > Address: Clarastrasse 3, 4058 Basel, Switzerland > E-Mail: [email protected] > www.finkconsulting.com www.global-networks.ch www.bebbicell.ch > --------------------------------------------------------------- > ICQ: 8239353 MSN: [email protected] AIM: smsrelay Skype: andreasfink > Yahoo: finkconsulting SMS: +41792457333 -- Giulio Harding Systems Administrator m.Net Corporation Level 2, 8 Leigh Street Adelaide SA 5000, Australia Tel: +61 8 8210 2041 Fax: +61 8 8211 9620 Mobile: 0432 876 733 Yahoo: giulio.harding MSN: [email protected] http://www.mnetcorporation.com