MAXLOGLEN
if (new_size > MAXLOGLEN)
ulog = mmap(0, MAXLOGLEN, PROT_READ | PROT_WRITE, MAP_SHARED,
munmap(log_ctx->ulog, MAXLOGLEN);