crash by high values in /proc/sys/net/core/[rw]mem_*

Stefan Traby (stefan@sime.com)
Wed, 3 Feb 1999 17:32:56 +0100


Hi !

Linux 2.2.1 oopses after putting (silly) high values
into /proc/sys/net/core/[rw]mem_{default,max}.

I've tried this and then a
while(1)
write(sock, msg, 2<<21);

while the other end was not reading. It write returned after
queuing the full buffer (2MB(!)) and was blocked the second call.

>From this point the machine starts oopsing but without running out
of memory. Nearly anything else fails by segfaulting after that
and a graceful shutdown was not possible.

-- 
  ciao - 
    Stefan

Stefan Traby phone: +43-3133-6107-2 Mitterlasznitzstr. 13 fax: +43-3133-6107-9 8302 Nestelbach mailto://stefan@sime.com Austria

- 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/