logs stack traces too
use server variable
this pid causes trouble