fixed duplicated file resource servlet registration bug
fixed sort partition count (broken for cpu 12 core or 24 core)