Date: Wed, 30 Oct 2002 03:10:03 -0800 (PST) From: Peter Pentchev <roam@ringlet.net> To: freebsd-bugs@FreeBSD.org Subject: Re: i386/44745: Program written in C++ can hang system (started by normal non-root user!) Message-ID: <200210301110.g9UBA3Pu060108@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/44745; it has been noted by GNATS. From: Peter Pentchev <roam@ringlet.net> To: "Łukasz Gryglicki" <morgothdbma@o2.pl> Cc: bug-followup@FreeBSD.org Subject: Re: i386/44745: Program written in C++ can hang system (started by normal non-root user!) Date: Wed, 30 Oct 2002 13:02:51 +0200 On Wed, Oct 30, 2002 at 02:40:36AM -0800, Łukasz Gryglicki wrote: > > >Number: 44745 > >Category: i386 > >Synopsis: Program written in C++ can hang system (started by normal non-root user!) > >Originator: Łukasz Gryglicki > >Release: FreeBSD Release v4.5 > >Environment: > FreeBSD RELEASE 4.5 i386 /usr/src/sys/compile/MORGOTH etc.. (gcc 2.95) > >Description: > My program (memory allocator) can hang system when tries to allocate > more than RAM + SWAP memory. I think kernel should kill it! For > example I've go 192MB ram & 700MB swap when I call alloc_bsd 1200MB, > it hungs my system even I'm doing it as normal user UID=500. If You > are intrested of this problem I can sent full source_code Isn't this something that should be easily solved by setting appropriate limits for the users in, say, the /etc/login.conf file? G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If I had finished this sentence, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210301110.g9UBA3Pu060108>