macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 10:38:51 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: free memory going down overtime and then stabilizes at around 5M  (Read 922 times)
0 Members and 1 Guest are viewing this topic.
Santosh
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: November 17, 2006, 19:51:19 PM »

I have ASUS wl -500 GPremium and I flashed with openwrt RC5.. as per instruction provided by macsat.
I want to thank him for all his effort as it helped me a lot in using openwrt.

Free memory in my system goes down and it stabilizes at around 5M.

This is stabilized system state.
root@OpenWrt:/opt# free
              total         used         free       shared      buffers
  Mem:        30556        25248         5308            0          468
 Swap:       618492           64       618428
Total:       649048        25312       623736

root@OpenWrt:/opt# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                 7360      5772      1588  78% /
none                     15276       152     15124   1% /tmp
/dev/scsi/host0/bus0/target0/lun0/part1 28233628     51084  26770864   0% /opt


/dev/scsi/host0/bus0/target0/lun0/part2 is used as swap space.

I have put one 30G external disk.

ps output:
-------------
root@OpenWrt:/opt# ps
  PID  Uid     VmSize Stat Command
    1 root        368 S   init
    2 root            SW  [keventd]
    3 root            RWN [ksoftirqd_CPU0]
    4 root            SW  [kswapd]
    5 root            SW  [bdflush]
    6 root            SW  [kupdated]
    9 root            SW  [mtdblockd]
   50 root            SWN [jffs2_gcd_mtd2]
   68 root        348 S   logger -s -p 6 -t
   70 root        368 S   init
   71 root        364 S   syslogd -C 16
   73 root        320 S   klogd
  135 root            SW  [khubd]
  175 root            SW  [usb-storage-0]
  176 root            SW  [scsi_eh_0]
  436 root        380 S   udhcpc -i vlan1 -b -p /var/run/vlan1.pid -R
  454 root        328 S   wifi up
  472 root        408 S   /usr/sbin/nas -P /var/run/nas.lan.pid -l br0 -H 34954 -i eth2
  557 nobody      424 S   dnsmasq -C /tmp/dnsmasq.conf
  561 root        400 S   /usr/sbin/dropbear
  562 root        928 S   nmbd -D
  564 root        924 S   smbd -D
  569 root        308 S   vsftpd
  590 root        344 S   crond -c /etc/crontabs
  598 root        364 S   ez-ipupdate -d -i vlan1 -c /etc/ez-ipupdate.conf
  857 root       1588 S   /usr/sbin/lighttpd -f /etc/lighttpd.conf
  921 root        600 R   /usr/sbin/dropbear
  922 root        516 S   -ash
  991 root       2568 S   asterisk
  992 root       2568 S   asterisk
  994 root       2568 S   asterisk
  995 root       2568 S   asterisk
  996 root       2568 S   asterisk
  997 root       2568 S   asterisk
  998 root       2568 S   asterisk
 1021 root        360 R   ps


If I stop asterisk, then memory usage just drops by just 1M

root@OpenWrt:/opt# free
              total         used         free       shared      buffers
  Mem:        30556        23940         6616            0          468
 Swap:       618492           60       618432
Total:       649048        24000       625048

6616 - 5308 = 1308K

On system startup:
-----------------------
Everything in the system starts on the system startup. On system startup,
I see that all the processes are running and free memory is around 15M.
root@OpenWrt:~# free
              total         used         free       shared      buffers
  Mem:        30556        15728        14828            0           40
 Swap:       618492            0       618492
Total:       649048        15728       633320

root@OpenWrt:~# ps
  PID  Uid     VmSize Stat Command
    1 root        368 S   init
    2 root            SW  [keventd]
    3 root            RWN [ksoftirqd_CPU0]
    4 root            SW  [kswapd]
    5 root            SW  [bdflush]
    6 root            SW  [kupdated]
    9 root            SW  [mtdblockd]
   50 root            SWN [jffs2_gcd_mtd2]
   68 root        348 S   logger -s -p 6 -t
   70 root        368 S   init
   71 root        364 S   syslogd -C 16
   73 root        320 S   klogd
  135 root            SW  [khubd]
  174 root            SW  [usb-storage-0]
  176 root            SW  [scsi_eh_0]
  435 root        380 S   udhcpc -i vlan1 -b -p /var/run/vlan1.pid -R
  454 root        328 S   wifi up
  472 root        408 S   /usr/sbin/nas -P /var/run/nas.lan.pid -l br0 -H 34954 -i eth2
  557 nobody      416 S   dnsmasq -C /tmp/dnsmasq.conf
  561 root        396 S   /usr/sbin/dropbear
  562 root        932 S   nmbd -D
  564 root        920 S   smbd -D
  569 root        308 S   vsftpd
  585 root       2552 S   /usr/sbin/asterisk
  588 root        336 S   crond -c /etc/crontabs
  589 root       2552 S   /usr/sbin/asterisk
  591 root       2552 S   /usr/sbin/asterisk
  592 root       2552 S   /usr/sbin/asterisk
  593 root       2552 S   /usr/sbin/asterisk
  594 root       2552 S   /usr/sbin/asterisk
  599 root        364 S   ez-ipupdate -d -i vlan1 -c /etc/ez-ipupdate.conf
  605 root       2552 S   /usr/sbin/asterisk
  607 root       1032 S   /usr/sbin/lighttpd -f /etc/lighttpd.conf
  621 root        592 S   /usr/sbin/dropbear
  622 root        436 S   -ash
  626 root        360 R   ps

If i compare, I don't find any memory hogger.. I don't know who is eating the memory.

I tried stopping lighttpd but not a big difference.

Could someone tell me what's going on here? Will this affect the system performance?
or is it quite normal?

Thanks in advance.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.393 seconds with 24 queries.