configure server parameter after fork
support multi process forking and add example