Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 20:10:07

Author Topic: Change /var/cache/nginx-proxy to /dev/shm  (Read 1998 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Change /var/cache/nginx-proxy to /dev/shm
« on: 2014-06-03, 22:33:23 »
Where to change it ? Then in will run off RAM disk ;)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Change /var/cache/nginx-proxy to /dev/shm
« Reply #1 on: 2014-06-04, 02:26:54 »
In /etc/nginx/conf.d/~lxcenter.conf and /home/nginx/etc/conf.d/custom.~lxcenter.conf
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Change /var/cache/nginx-proxy to /dev/shm
« Reply #2 on: 2014-06-04, 11:54:18 »
Thanks ! It works super fast right now and not destroying my SSD's ;)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Change /var/cache/nginx-proxy to /dev/shm
« Reply #3 on: 2014-06-04, 11:57:12 »
Yes, it's better if we have more RAM (let say > 4GB).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Change /var/cache/nginx-proxy to /dev/shm
« Reply #4 on: 2014-06-04, 21:00:38 »
Yes, it's better if we have more RAM (let say > 4GB).

I have 32 GB :)

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.051 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM