OpenVZ Forum


Home » General » Support » Segmentation Fault
Segmentation Fault [message #35853] Tue, 28 April 2009 08:18 Go to next message
Boetsj is currently offline  Boetsj
Messages: 3
Registered: April 2009
Junior Member
We are currently running a single CT on a HN. Recently we had to up the amount of memory for this CT due to fork errors.
The situation is simple, the HN has 4GB of RAM and 4GB of SWAP. We upped the privvmpages of the CT from 2.3 to 3GB (privvmpages + oomguarpages). The fork errors disappeared but now we are getting segmentation faults from our cron each minute:

/etc/cron.min/send:
/etc/cron.min/send: line 12: 19686 Segmentation fault /usr/bin/php5 launch.php 76

The segmentation faults always happen on a random line.

An extensive search on the net hasn't made us any wiser.. Are these segmentation faults the consequence of a faulty memory configuration?
Re: Segmentation Fault [message #35922 is a reply to message #35853] Thu, 30 April 2009 14:23 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:


Are these segmentation faults the consequence of a faulty memory configuration?



IMHO, lack of memory might be the problem of "segmentation fault" but not directly. The main problem is buggy application which doesn't handle error return values properly.
Please, try to considerably increase memory barriers to exclude the fact of buggy application.
Previous Topic: df showing wrong output - SOLVED
Next Topic: OpenVZ for Students/Educational purpose
Goto Forum:
  


Current Time: Mon Nov 18 21:46:57 GMT 2024

Total time taken to generate the page: 0.03941 seconds