[lkml]   [1996]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectmemory 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 ?


PS: kernel is 2.0.27, gcc is
ldd /usr/src/wine961222/wine => /usr/X11R6/lib/ => /usr/X11R6/lib/ => /usr/X11R6/lib/ => /usr/X11R6/lib/ => /usr/X11R6/lib/ => /lib/ => /lib/

 \ /
  Last update: 2005-03-22 13:38    [W:0.023 / U:1.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site