OpenVZ Forum


Home » General » Discussions » Swap Usage
Re: Swap Usage [message #3882 is a reply to message #3881] Thu, 22 June 2006 15:37 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Quote:

It is trying to allocate memory, it fails, and thus malloc returns zero, and it crashes. Ps is the program the segfaulted due to this.


The program written right should handle this situation somehow.

At the very least, it can write something like "Failed to allocate %d bytes of memory, aborting". If it is segfaulting -- the program has a bug.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: openvz toolkit - free download
Next Topic: How fine virtualization could openvz do?
Goto Forum:
  


Current Time: Sat Sep 28 03:02:42 GMT 2024

Total time taken to generate the page: 0.04285 seconds