Question

Server PHP Sites goes down

Our VM’s which are in Act-Act Cluster with Apache Application Server hosts 22 PHP websites. Apache is behind nginx and for replication of data we use gluster cluster of 2 peers. Actually, we had 3 node cluster but because of some issue, we dis-connected 3rd node and brick is dis-connected now for gluster. Also we removed the configuration of this node from nginx.

Our sites GOES DOWN every 3-4 days due to heavy load on gluster. We have 16GB RAM over each CentOS 7.x VM’s with 8vCPU’s. Gluster is in replicated mode with 3 bricks out of which one is dis-connected. We are using FUSE client for Gluster.

Can you please help to tell what to look for in order not to have downtime for our sites? I am new in Gluster. I did some performance tuning of Gluster Volumes but seems its not working. I am ready to share more information if you need.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Are you seeing the high load from the gluster service itself or related to the FUSE mount on the client side?

I would recommend starting with the things that @CrypticDesigns mentioned. If you can share some more details it might help narrow down the root cause. When your sites “go down” is apache returning an error page? Is anything recorded in Apache’s error log? If the Apache service itself is crashing it may not be directly caused by the GlusterFS setup. When this occurs, what steps do you take to restore your site?