[Voyage-linux] how to make swap on usb pendrive

maciek (spam-protected)
Sun Jul 3 20:20:24 HKT 2011


Sometimes I get:
[743682.431824] Mem-Info:
[743682.431845] DMA per-cpu:
[743682.431870] CPU    0: hi:    0, btch:   1 usd:   0
[743682.431899] Normal per-cpu:
[743682.431923] CPU    0: hi:   42, btch:   7 usd:  38
[743682.431962] Active_anon:12654 active_file:20 inactive_anon:12716
[743682.431968]  inactive_file:133 unevictable:422 dirty:0 writeback:0 unstable:0
[743682.431975]  free:444 slab:1916 mapped:363 pagetables:203 bounce:0
[743682.432108] DMA free:592kB min:180kB low:224kB high:268kB
active_anon:5632kB inactive_anon:5876kB active_file:8kB inactive_file:64kB
unevictable:0kB present:15804kB pages_scanned:48 all_unreclaimable? no
[743682.432197] lowmem_reserve[]: 0 103 103 103
[743682.432245] Normal free:1184kB min:1208kB low:1508kB high:1812kB
active_anon:44984kB inactive_anon:44988kB active_file:72kB inactive_file:468kB
unevictable:1688kB present:105600kB pages_scanned:64 all_unreclaimable? no
[743682.432338] lowmem_reserve[]: 0 0 0 0
[743682.432373] DMA: 0*4kB 0*8kB 1*16kB 14*32kB 2*64kB 0*128kB 0*256kB 0*512kB
0*1024kB 0*2048kB 0*4096kB = 592kB
[743682.432464] Normal: 4*4kB 2*8kB 2*16kB 1*32kB 3*64kB 1*128kB 1*256kB
1*512kB 0*1024kB 0*2048kB 0*4096kB = 1184kB
[743682.432555] 1854 total pagecache pages
[743682.432581] 0 pages in swap cache
[743682.432607] Swap cache stats: add 0, delete 0, find 0/0
[743682.432638] Free swap  = 0kB
[743682.432660] Total swap = 0kB
[743682.438843] 30688 pages RAM
[743682.438871] 0 pages HighMem
[743682.438894] 1243 pages reserved
[743682.438917] 5894 pages shared
[743682.438940] 27460 pages non-shared
[743682.438968] Out of memory: kill process 32238 (php-cgi) score 6955 or a child
[743682.439075] Killed process 32241 (php-cgi)

I`ve just 128 MB ram, and I think it could be possible make little swap file
on usb stick. How to make it?








v o i p t e l e . n e t , dzwon najtaniej jak to mozliwe
e r a u r . c o m , rozwiazania internetowe dla firm i klientow indywidualnych




More information about the Voyage-linux mailing list