I think I found the issue actually. I am using monit and was getting the PID from /tmp/lshttpd/lshttpd.pid. For whatever reason this was causing problems. Instead of monitoring the process I'm gonna check a host now. Seems to be working properly now.