Askozia Forums
May 17, 2012, 01:56:30 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Memory not released after successfull Media install  (Read 937 times)
Southcross
Full Member
***

Karma: 4
Posts: 70


View Profile
« on: May 15, 2010, 06:52:10 pm »

Reported memory usage after boot: 24%
Media >> install: uLaw >> "successful"
Reported memory usage install: 53%
Reboot: 24%
Logged

-Edward
VIA C3 by Mercury
@ 800mhz & 256MB RAM
Mateusz Viste
Full Member
***

Karma: 7
Posts: 64


View Profile WWW
« Reply #1 on: May 15, 2010, 07:37:27 pm »

I confirm - I have the same problem.
After a "clean boot", my memory usage is at 11%. After having installed media sounds for FR and US in formats wave, ulaw, alaw, g722, g729 and GSM, my memory usage is at 63% (I have a total of 128 MiB of RAM).
Logged
Southcross
Full Member
***

Karma: 4
Posts: 70


View Profile
« Reply #2 on: May 16, 2010, 12:57:15 pm »

Actually... I now need to report a Memory leak... sitting idle, the machine has gone from 34%... to 44%... to 18 hours up time @ 78% Shocked

I am running 128mb ram
Logged

-Edward
VIA C3 by Mercury
@ 800mhz & 256MB RAM
Mateusz Viste
Full Member
***

Karma: 7
Posts: 64


View Profile WWW
« Reply #3 on: May 16, 2010, 01:19:36 pm »

Actually... I now need to report a Memory leak... sitting idle, the machine has gone from 34%... to 44%... to 18 hours up time @ 78% Shocked

I am running 128mb ram

I hopefully don't noticed any memory leakage on my box Smiley
Mine is staying at 63%. Most of the memory is consumed by several "asterisk" processes (I have 28 processes called "asterisk" in memory). I have a total of 256 MiB of RAM.

What process is consuming the most on your system? You can look at top or ps to check that.
Logged
andy
Full Member
***

Karma: 6
Posts: 97


View Profile
« Reply #4 on: May 16, 2010, 01:20:36 pm »

can't confirm memory leak here...

memory remains at 36% since the last 20 hours.

I'm running 256MB ram....
Logged
Southcross
Full Member
***

Karma: 4
Posts: 70


View Profile
« Reply #5 on: May 16, 2010, 01:32:36 pm »

"top" isn't working... this is my "ps" response on the console:
Quote
$ ps
  PID USER       VSZ STAT COMMAND
    1 root      1360 S    init       
    2 root         0 SW<  [kthreadd]
    3 root         0 SW<  [ksoftirqd/0]
    4 root         0 SW<  [events/0]
    5 root         0 SW<  [khelper]
    9 root         0 SW<  [async/mgr]
  148 root         0 SW<  [kblockd/0]
  149 root         0 SW<  [kacpid]
  150 root         0 SW<  [kacpi_notify]
  201 root         0 SW<  [ata/0]
  202 root         0 SW<  [ata_aux]
  207 root         0 SW<  [ksuspend_usbd]
  213 root         0 SW<  [khubd]
  216 root         0 SW<  [kseriod]
  220 root         0 SW<  [kmmcd]
  262 root         0 SW   [pdflush]
  263 root         0 SW   [pdflush]
  264 root         0 SW<  [kswapd0]
  265 root         0 SW<  [aio/0]
 1197 root         0 SW<  [usbhid_resumer]
 1231 root      1868 S    /sbin/syslogd -S -C512
 1344 root      1360 R    httpd -c /etc/httpd.conf -u root -p 80 -h /usr/www
 1353 root       972 S    dropbear
 1359 root      7184 S    /usr/sbin/asterisk
 1377 root      7184 S    /usr/sbin/asterisk
 1379 root      7184 S    /usr/sbin/asterisk
 1380 root      7184 S    /usr/sbin/asterisk
 1381 root      7184 S    /usr/sbin/asterisk
 1382 root      7184 S    /usr/sbin/asterisk
 1383 root      7184 S    /usr/sbin/asterisk
 1384 root      7184 S    /usr/sbin/asterisk
 1385 root      7184 S    /usr/sbin/asterisk
 1392 root      1368 S    crond -l 0
 1393 root      1376 S    /bin/sh /etc/rc.initial
 1394 root      1356 S    /sbin/getty 38400 tty2
 1397 root      1356 S    /sbin/getty 38400 tty3
 1401 root      7184 S    /usr/sbin/asterisk
 1402 root      7184 S    /usr/sbin/asterisk
 1403 root      7184 S    /usr/sbin/asterisk
 1404 root      7184 S    /usr/sbin/asterisk
 1405 root      7184 S    /usr/sbin/asterisk
 1406 root      7184 S    /usr/sbin/asterisk
 1407 root      7184 S    /usr/sbin/asterisk
 1408 root      7184 S    /usr/sbin/asterisk
 1409 root      7184 S    /usr/sbin/asterisk
 1410 root      7184 S    /usr/sbin/asterisk
 1411 root      7184 S    /usr/sbin/asterisk
 1412 root      7184 S    /usr/sbin/asterisk
 1413 root      7184 S    /usr/sbin/asterisk
 1414 root      7184 S    /usr/sbin/asterisk
 1415 root      7184 S    /usr/sbin/asterisk
 1416 root      7184 S    /usr/sbin/asterisk
 1417 root      7184 S    /usr/sbin/asterisk
 1418 root      7184 S    /usr/sbin/asterisk
30659 root      1368 S    httpd -c /etc/httpd.conf -u root -p 80 -h /usr/www
30660 root       708 S    ajax.cgi
30661 root      1360 S    sh -c top 2>&1
30662 root      1368 S    top
30751 root      1368 S    httpd -c /etc/httpd.conf -u root -p 80 -h /usr/www
30752 root       708 S    ajax.cgi
30753 root      1360 S    sh -c ps 2>&1
30754 root      1360 R    ps
27 Asterisk processes, memory useage is now reporting 81% since my last post
Logged

-Edward
VIA C3 by Mercury
@ 800mhz & 256MB RAM
Southcross
Full Member
***

Karma: 4
Posts: 70


View Profile
« Reply #6 on: May 17, 2010, 02:06:41 am »

memory usage "stopped" at 81%... seems excessive compared to teh 24-25% I was seeing before seting up "storage" and installing the EN uLaw sound pack??
Logged

-Edward
VIA C3 by Mercury
@ 800mhz & 256MB RAM
Southcross
Full Member
***

Karma: 4
Posts: 70


View Profile
« Reply #7 on: May 20, 2010, 11:01:30 pm »

something was definitely going on.... it peaked finally at 82%

for giggles, i upped the machine to 256MB (from 128)... its been holding steady at 12% for 24 hours now, no sign of "memory bloating"
Logged

-Edward
VIA C3 by Mercury
@ 800mhz & 256MB RAM
Southcross
Full Member
***

Karma: 4
Posts: 70


View Profile
« Reply #8 on: May 31, 2010, 09:45:10 pm »

I've been holding at 14% for the last many days.... suddenly it spiked to 98% usage today Shocked

the only thing I can possibly think of is I had left the "Log" page up all day (since it auto-reloads)??
Logged

-Edward
VIA C3 by Mercury
@ 800mhz & 256MB RAM
gonzales
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #9 on: June 13, 2010, 01:37:09 pm »

I'm also having a memory leak:

2.0.rc3 on Generic
PIII/500MHz 128Mb
Longshine HfC LCS-8051A
Longshine HfC LCS-8051(not A?)

/proc/meminfo:
00002: Thu May 27 12:05:04 CEST 2010
00004: MemTotal: 124216 kB
00005: MemFree: 81040 kB
00027: Slab: 24832 kB
00029: SUnreclaim: 22132 kB
....
00453: Wed Jun 9 14:36:56 CEST 2010
00455: MemTotal: 124216 kB
00456: MemFree: 3320 kB
00478: Slab: 113016 kB
00480: SUnreclaim: 111912 kB

/proc/slabinfo:
00002: Thu May 27 12:08:36 CEST 2010
00005: # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
00063: skbuff_head_cache 29472 29472 160 24 1 : tunables 120 60 0 : slabdata 1228 1228 0
00120: size-512 29664 29664 512 8 1 : tunables 54 27 0 : slabdata 3708 3708 0
.....
01476: Wed Jun 9 14:37:24 CEST 2010
01479: # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
01537: skbuff_head_cache 162466 162480 160 24 1 : tunables 120 60 0 : slabdata 6770 6770 0
01594: size-512 162664 162664 512 8 1 : tunables 54 27 0 : slabdata 20333 20333 0

Slab is growing continuously; only growing slabs shown. In the end, I was still able to connect via ssh but Asterisk had died down - I had  to reboot.

Has anybody an idea how to trace this problem further?

Logged
Southcross
Full Member
***

Karma: 4
Posts: 70


View Profile
« Reply #10 on: June 13, 2010, 05:01:54 pm »

I've noticed that since updating to 2.0.1, I haven't had an problems with random memory bloat.  I've been checking it daily.. with 256MB ram, I'm holding at 12% for a week now
Logged

-Edward
VIA C3 by Mercury
@ 800mhz & 256MB RAM
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.12 seconds with 19 queries.