title: double free or corruption (!prev) httpd
body: <p>My server crashed due to zero space. I've added more space. 
  Since then my apache server is restarting every few minutes/ hours. </p>
  
  <p>My stack is  <code>apache -&gt; python (a pip that servers the files.)</code> </p>
  
  <p>The memory leak can be at apache or at python </p>
  
  <pre><code>*** Error in `/usr/sbin/httpd': double free or corruption (!prev): 0x00007f28dc67a6f0 ***
  ======= Backtrace: =========
  /lib64/libc.so.6(+0x7c503)[0x7f28d9746503]
  /usr/lib64/libpython3.5m.so.1.0(PyThreadState_DeleteCurrent+0x40)[0x7f28cd50e420]
  /usr/lib64/libpython3.5m.so.1.0(+0x165075)[0x7f28cd529075]
  /lib64/libpthread.so.0(+0x7dc5)[0x7f28d9c96dc5]
  /lib64/libc.so.6(clone+0x6d)[0x7f28d97c173d]
  </code></pre>
  
  <p>The <code>/etc/httpd/conf/httpd.conf</code> contains:</p>
  
  <pre><code>LoadModule wsgi_module /usr/lib64/python3.5/site-packages/mod_wsgi/server/mod_wsgi-py35.cpython-35m-x86_64-linux-gnu.so
  </code></pre>
  
  <p>What can I do to debug/solve this?</p>