add multiprocess in server, fix upload