Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

chad_90241 avatar image
chad_90241 asked ·

Datastax OpsCenter, Too Many Open Files Error after enabling SSL and authentication

I am using DSE version 6.7.5 and OpsCenter version 6.7.4.
When i start/restart OpsCenter, it works fine for few(4 to 5) hours but after that OpsCenter stop responding. i checked opscenterd.log , Following error were there in the logs.

ERROR: Problem when checking login on xxx.xxx.xxx.xxx: java.io.FileNotFoundException: /var/lib/opscenter/ssl/truststore.jks (Too many open files).

i have enabled SSL and authentication in our cluster and OpsCenter. i don't know why OpsCenter stop responding after few hours. Please help.

opscenterssl
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@chad_90241 sorry to hear that you're experiencing issues with OpsCenter. The symptoms you described indicates that the OpsCenter server has insufficient OS resources configured, particularly for the maximum number of open files allowed.

Please validate your server's configuration against the recommended settings which also applies to OpsCenter installations. Pay particular attention to the recommended OS user resource limits. Note that you might also need to raise it beyond the recommended 1M open files. Cheers!

2 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

@Erick Ramirez thanks for your reply.

Our OpsCenter file limit is 1,00,000 that is enough i think. Why does OpsCenter not close those opened files after use? and i felt this only happens when we enable SSL and OpsCenter authentication.

0 Likes 0 · ·

@chad_90241 it's hard to comment without looking at logs and diagnostic outputs. If you have a valid DSE subscription, please log a Support ticket so one of our engineers can assist you. Cheers!

0 Likes 0 · ·