Messages in this thread | | | From | "Peter Zaitsev" <> | Subject | Some questions about linux kernel. | Date | Sat, 11 Mar 2000 13:14:13 +0300 |
| |
1) I've found the very simple thing - program which just hogs all memory by running for(;;) t=malloc(4096); for example run under usual user with no explicit memory limitations leads system to unusable state after all swap space is finished. Well. The kernel still works afterwards but many of inportant processes dies and so remote mashine can't even be rebooted properly. The worst thing the same program leads to nothing then run under solaris 2.6 for example - I just get the message Out of memory for a.out and no process of other users are affected. I've checked this on many distributions (RH 6.1,Slakware 7.0,Suse 6.3) with up to last kernel 2.2.14 - everythere I have the same effect. 2) Linux has two parameters related to buffering. Buffers and cache. The problem is I can't find anywhere the difference between them in any documentation described good, better then just saying these are different things. I do not understand why simetimes I got buffers are more than a cache under havy file I/O and sometimes cache more than buffers. Can anyone explain this or point me to good documentation.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |