title: Generating a Core Dump File of a child process
body: <p>I'm trying to run gpg from my php script using exec(). But it chashes with segmentation fault:
  "gpg: Segmentation fault caught ... exiting"
  It crashes within a child process so my php script works ok. To identify a problem I wanna get a core file.
  I tried to run </p>
  
  <pre><code>ulimit -c unlimited
  echo 1 &gt; /proc/sys/fs/suid_dumpable
  </code></pre>
  
  <p>I added  "* soft core unlimited" to /etc/security/limits.conf but no core files have been created.</p>
  
  <p>I would be very thankful for any advice or ideas.</p>