dlm: check the maximum size of a request from user