[feature] set env_max_process by env