Lonnie Abelbeck wrote: > On Aug 15, 2008, at 8:46 PM, Ray Fadaie wrote: > >> Hi, >> >> I've been using Astlinux for more than a year now. I had been using >> 0.4.8 until just recently that I switched to 0.5. I am running it on >> a small box with only 128M of RAM (Ebox 2300). The problem with >> 0.4.8 was that it kept hanging after almost of 2 weeks of running >> (every time). I would guess there was some memory leake somewhere in >> that version. >> I switched to 0.5 and it's been running for 3 weeks now without >> intruption. I am monitoring the available memory almost every day >> and I can see that it decreases. It started somewhere in 36M area >> and I am down to 28-9M these days. [It obviously should not act like >> MS-Windows ;) ] >> I am worried I may end up to the same situation. >> Do you guys have any idea what could be the problem? > > Ray, > I have a couple Soekris net4801's (128K Memory) and have used 0.4.x > and, over the last several months, an asterisk 1.4 trunk version. In > both cases, they have run for months without issue.
Lonnie, you're running Asterisk on a 128K system? Nice ;) > For a data point, I just checked one 128MB AstLinux box's "top" show > the following: > > >>Mem: 68608K used, 58476K free, 0K shrd, 4020K buff, 52908K cached > >>CPU: 1.1% usr 0.9% sys 0.0% nice 97.6% idle 0.0% io 0.0% irq > 0.1% softirq > >>Load average: 0.00 0.00 0.00 > > Note that asterisk loads modules and other resources as needed, > specifically sound files will reduce the available memory, and unless > they need to be purged to make room, they hang around. > > If you have any memory diagnostic tools to run on your box, that might > be a start. If you clearly look at that, much of that used memory is cached. Linux does a great job of managing memory and allocating as much as possible. Also remember that /tmp and /var are located in ramfs. As your log files grow, more memory will be used. The default values for /tmp and /var should not cause problems for most systems. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]