Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ZZ: When Linux Runs Out of Memory (OOM killer)


When Linux Runs Out of Memory
http://linuxdevcenter.com/pub/a/linux/2006/11/30/linux-out-of-memory.html?page=1
Perhaps you rarely face it, but once you do, you surely know what's
wrong: lack of free memory, or Out of Memory (OOM). The results are
typical: you can no longer allocate more memory and the kernel kills a
task (usually the current running one). Heavy swapping usually
accompanies this situation, so both screen and disk activity reflect
this.
At the bottom of this problem lie other questions: how much memory
do you want to allocate? How much does the operating system (OS)
allocate for you? The basic reason of OOM is simple: you've asked for
more than the available virtual memory space. I say "virtual" because
RAM isn't the only place counted as free memory; any swap areas apply.
Exploring OOM


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

LinuxÄں˵ķ¢Õ¹

µ¼¶Á£ºÓÖÊÇM. Tim Jones µÄÎÄÕ£¬ËûÔÚ×Î×β»¾ëµØ¹Ø×¢×ÅÄÚºËÖÐÿһÏîеļ¼Êõ£¬²¢ÒÔ´ó¼ÒÒ×ÓÚÀí½âµÄ·½Ê½³ÊÏÖÔÚ¶ÁÕßÃæÇ°¡£
Linux Äں˵ķ¢Õ¹
½éÉÜ 2.6.28 ºÍ 2.6.29 °æ±¾ÖеÄÐÂÌØÐÔ
¼¶±ð£º Öм¶
M. Tim Jones, ¹ËÎʹ¤³Ìʦ, Emulex
Corp.
ÉúÃüµÄ±ØÈ»²»½ö°üÀ¨ËÀÍöºÍÄÉ˰£¬»¹°üÀ¨ GNU/Linux® ²Ù×÷ϵͳµÄ·¢Õ¹£¬×îÐ ......

Linux×ÀÃæÕ¼ÓÐÂÊΪºÎÈç´Ë²¨¶¯£¿






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
         Ò»°ãÈË×ÜÊÇÈÏΪ£¬
Linux
Óû§ÊDz»»áÇáÒ׵ص¹Ïò
Windows
Ò»±ßµÄ¡£µ«ÊÇ£¬Êµ¼ÊÇé¿öÈÃÄã´óµøÑÛ¾µ¡£
 
       ´ó¼ÒÖªµÀ£¬ÍøÕ¾
www.w3c ......

Linux²Ù×÷ϵͳÀï²é¿´ËùÓÐÓû§

1¡¢LinuxÀï²é¿´ËùÓÐÓû§
¡¡¡¡linuxÀï,²¢Ã»ÓÐÏñwindowsµÄnet user,net localgroupÕâЩ·½±ãµÄÃüÁîÀ´ÖÎÀíÓû§.
¡¡¡¡Xwindows½çÃæµÄ¾Í²»ËµÁË.
¡¡¡¡£¨1£©ÔÚÖÕ¶ËÀï.ÆäʵֻÐèÒª²é¿´ /etc/passwdÎļþ¾ÍÐÐÁË.
¡¡¡¡£¨2£©¿´µÚÈý¸ö²ÎÊý:500ÒÔÉϵÄ,¾ÍÊǺóÃæ½¨µÄÓû§ÁË.ÆäËüÔòΪϵͳµÄÓû§.
¡¡¡¡»òÕßÓÃcat /etc/passwd |cut -f ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ