JHF’s homepage

Just another WordPress weblog
  • rss
  • Home

Tracking down apache segfaults

admin | March 17, 2009

Delivery ends in the middle of a PHP page. Where’s the rest of it ?

After some research, it came out that the apache logfile was reporting segfaults from the child processes. Unfortunately, this is not done in the domain’s error.log, but in /var/log/apache2/error.log :-(

Lot of googling showed several possible causes for segfault in apache :

  • PHP4 compatibility as set in httpd.conf or /etc/apache2/conf.d/…
  • Conflicting Berkeley DB libraries installed. However… which subpart is using this ?
  • Getting out of memory, having somewhere a malloc() returning NULL, and not catched by code (bad programming)
  • Using rewrite rules and doing bad matching. This can be monitored by setting XXXXXX
  • Releasing memory from recursive objects leads to memory leaks in PHP (< 5.3)
Categories
Linux
Tags
Apache, Linux, webdesign
Comments rss
Comments rss
Trackback
Trackback

« Another way of managing passwords Change in apache vhosts files’ format!! »

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Tags

Apache Apps Bash C Crypto Emacs Linux Unix Virtualbox webdesign

Recent posts

  • Last call for linux und ich contest
  • Firefox not saving passwords
  • Install debian squeeze on a sheevaplug
  • Trouble with SATA-II disk
  • Change in apache vhosts files’ format!!

Pages

  • About
  • Deutsch
    • CV
  • English
  • Français
    • CV
    • MFC
  • Impressum
  • Linux
    • Crypto
    • Linux User Group
  • Photography
    • Fine art

Archives

Categories

  • Hardware (2)
  • Linux (11)
  • Uncategorized (1)

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Blogroll

  • Development Blog
  • Documentation
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Planet
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox