Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
65 views
by Rookie

Hello,

Thanks for webinoly,

I have a woocommerce website running on a vps with these specs:

  • Ram : 15g
  • Cpu : 4
  • Webinoly v : 1.13.1
  • I have installed and activated the Redis and Nginx WordPress plugins

My problem is that i have to connect using ssh every 12h and run the command "sudo webinoly -clear-cache=all" every 12h, otherwise the server will crash because no memory space was found !

I can't find the problem, thanks for help;

Thanks.

1 Answer

0 votes
by Rookie
You can automate clear ram each 59 minutes by example with this tip:

1- nano /root/clearram.sh

- write this:

#!/bin/sh

sync; echo 3 > /proc/sys/vm/drop_caches

swapoff -a

-Save an exit

2- chmod 777 /root/clearram.sh

3- crontab -e

-write: */59 * * * * /root/clearram.sh

Save and exit

4- sudo service cron reload

All done
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...