Study on the operational conditions of a double-gap resistive plate chamber for the CMS