daemon: initialize page_num