Subject Semaphores exhausted on FB Classic 1.5 on CentOS 7

I started to see this on one of our servers, and realized that the settings had not been updated since installation.  So I have increased semaphores to 128 which seems to have settled this down, but I'm wondering if anyone has any settings for a higher number (ie. 500) that cover exactly what to change in firebird.conf and also how to tell CentOS 7 to have more semaphores available?

I scoured through some older posts and Google searches, and I'm not sure if the information out there works on CentOS 7.  Just wondering if anyone is using this and can give me your settings and what you did to increase the semaphore count?

Thanks in advance.