Alec Kalinin wrote:

 > I think, mentioned below program probably show the bug in virtual memory
 > subsystem in FreeBSD-3.2-RELEASE. After running this program, FreeBSD comes
 > into "out of swap" state, then hungs.
 
Well, yeah, that's becuase you're running it out of swap by trying to
allocate a gigabyte of memory.

 > Why i think this is bug? Because any user can hung FreeBSD, settings in
 > /etc/login.conf can't help.

Are you sure about that?  Setting datasize limits will prevent
malloc() from doing what you're trying to make it do.  Are you 
sure you're setting your login.conf settings properly?

   - mark


----
Mark Newton                               Email:  [EMAIL PROTECTED] (W)
Network Engineer                          Email:  [EMAIL PROTECTED]  (H)
Internode Systems Pty Ltd                 Desk:   +61-8-82232999
"Network Man" - Anagram of "Mark Newton"  Mobile: +61-416-202-223


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to