I had a trouble while I'm debugging unicorn processes. The log has same pid although they were forked and had their own pid.
My fix is just using instance attribute instead of class attribtue for pid. Please review the fix and consider to merge it, thanks.
Support forked pids
I changed the specs to work with jruby. Code is merged into master. Going to release a new gem version shortly.