Messages in this thread |  | | Date | Tue, 24 Dec 1996 00:50:30 +0100 (MET) | From | Gerd Knorr <> | Subject | memory limits broken !!! |
| |
Hi !
Played around with the latest wine today. And wine it managed to crash the box by eating up all memory. Ok, not a complete crash, but the X-Server crashed (out of memory) and left the console in a unusable state, so I had to login remotely and reboot the box.
Of cource I did not like this and tried to set up some limits to prevent wine from eating up all memory. But it did not work. Tried this:
felix kraxel ~# ulimit -dHS 1024 felix kraxel ~# ulimit -mHS 1024 felix kraxel ~# ulimit -sHS 1024 felix kraxel ~# ulimit -fHS 1024 felix kraxel ~# ulimit -a core file size (blocks) unlimited data seg size (kbytes) 1024 file size (blocks) 1024 max memory size (kbytes) 1024 stack size (kbytes) 1024 cpu time (seconds) unlimited max user processes 256 pipe size (512 bytes) 8 open files 256 virtual memory (kbytes) 2048 felix kraxel ~# /usr/src/wine961222/wine telnet Warning: could not find DOS drive for cwd /home/kraxel; starting in windows directory. felix kraxel ~#
Had a top running in another xterm and could watch wine eat memory. Stopped wine with ^C at the 40MB-mark (with 1 MB limit !!!) to avoid another crash (I have 16 MB RAM and 40 MB swap). This should'nt happen, should it ?
Gerd
PS: kernel is 2.0.27, gcc is 2.7.2.1 libs: ldd /usr/src/wine961222/wine libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4.8 libSM.so.6 => /usr/X11R6/lib/libSM.so.6.0 libICE.so.6 => /usr/X11R6/lib/libICE.so.6.0 libXext.so.6 => /usr/X11R6/lib/libXext.so.6.1 libX11.so.6 => /usr/X11R6/lib/libX11.so.6.1 libm.so.5 => /lib/libm.so.5.0.7 libc.so.5 => /lib/libc.so.5.4.17
|  |