memory reclaiming problem in 2.4.2
Hi,
We are running applications on linux2.4.2 on our embedded box; Linux is being given around 8.25 MB of memory. At run time we are trying to get free memory by killing some of the applications. But even after killing the process, the free memory is not getting freed completely, instead it is getting locked in form of inactive dirty pages and cache.
Following is the dump of meminfo:
# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 6447104 4931584 1515520 0 40960 2486272
Swap: 0 0 0
MemTotal: 6296 kB
MemFree: 1480 kB
MemShared: 0 kB
Buffers: 40 kB
Cached: 2428 kB
Active: 1696 kB
Inact_dirty: 504 kB
Inact_clean: 268 kB
Inact_target: 0 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 6296 kB
LowFree: 1480 kB
SwapTotal: 0 kB
SwapFree: 0 kBQuoted 1 line
From user space we need to allocate a huge memory space of 3.5 MB; however
allocation more than 2.5 MB fails.
We wanted to know is there is some way to reclaim these dirty pages? There is a page laundering patch by Rik for 2.4.6; will this be useful for us?
Thanks and Regards,
Sanjay
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/
Quoted 3 lines · Sanjay Kumar
Hi,
We are running applications on linux2.4.2 on our embedded box; Linux is being
2.4.2? I think you need to go to linux-archeology mailinglist for that... 2.4.2 corrupts data and has shitloads of other problems...
Hi Arjan,
So if we move to linux 2.4.17, this problem will get solved? Please reply me as we are now planning to use 2.4.17 but still in dilemma becuase 2.4.2 is working fine except few memory and jffs2 related problems.
Thanks & Regards,
Sanjay
Quoted 11 lines · --- Arjan van de Ven
Quoted 3 lines · Sanjay Kumar
Hi,
We are running applications on linux2.4.2 on our embedded box; Linux is being
2.4.2? I think you need to go to linux-archeology mailinglist for that... 2.4.2 corrupts data and has shitloads of other problems...
ATTACHMENT part 2 application/pgp-signature name=signature.asc
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/
Quoted 6 lines · Sanjay Kumar
Hi Arjan,
So if we move to linux 2.4.17, this problem will get solved? Please reply me as we are now planning to use 2.4.17 but still in dilemma becuase 2.4.2 is working fine except few memory and jffs2 related problems.
2.4.17 is also not a good kernel; you need 2.4.18 as minimum.....
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/