Welcome! Log In Create A New Profile

Advanced

RE: proxy_cache ramdisk

February 01, 2010 11:22AM
Thanks, at least it helps me.


Danny Trinh
Linux Admin


-----Original Message-----
From: AMP Admin [mailto:admin@ampprod.com]
Sent: Monday, February 01, 2010 10:06 AM
To: nginx@nginx.org
Subject: RE: proxy_cache ramdisk

Oh and I added the following to the nginx startup script so it will
always create the ram drives if they don't already exsist when nginx
starts. Not sure if that helps anyone else or not.

Obviously change the path and name to your config. This is a centos
box.

start() {
if /bin/mount | grep temp_cache ; then
echo "is mounted"
else
echo "Mounting nginx Temp Cache"
mount -t tmpfs none /etc/nginx/temp_cache -o size=128m
fi

if /bin/mount | grep nginx_cache ; then
echo "is mounted"
else
echo "Mounting Nginx Cache"
mount -t tmpfs none /etc/nginx/nginx_cache -o size=128m
fi


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_cache ramdisk

testbot January 29, 2010 11:48AM

RE: proxy_cache ramdisk

testbot January 30, 2010 01:50PM

RE: proxy_cache ramdisk

testbot January 31, 2010 05:30PM

Re: proxy_cache ramdisk

Igor Sysoev February 01, 2010 11:40AM

RE: proxy_cache ramdisk

testbot February 01, 2010 11:54AM

Re: proxy_cache ramdisk

Igor Sysoev February 01, 2010 12:10PM

RE: proxy_cache ramdisk

testbot February 01, 2010 12:30PM

Re: proxy_cache ramdisk

Igor Sysoev February 01, 2010 12:40PM

Re: proxy_cache ramdisk

Ryan Malayter February 02, 2010 09:48AM

RE: proxy_cache ramdisk

testbot February 02, 2010 12:58PM

Re: proxy_cache ramdisk

Ryan Malayter January 31, 2010 10:08PM

Re: proxy_cache ramdisk

nexthop January 31, 2010 10:14PM

Re: proxy_cache ramdisk

Ryan Malayter February 01, 2010 09:20AM

RE: proxy_cache ramdisk

testbot February 01, 2010 11:04AM

Re: proxy_cache ramdisk

Ryan Malayter February 01, 2010 05:50PM

RE: proxy_cache ramdisk

testbot February 01, 2010 11:10AM

RE: proxy_cache ramdisk

danny February 01, 2010 11:22AM

Re: proxy_cache ramdisk

Akins, Brian February 01, 2010 08:04AM

Re: proxy_cache ramdisk

Igor Sysoev February 01, 2010 11:42AM

Re: proxy_cache ramdisk

nexthop February 01, 2010 12:24PM

Re: proxy_cache ramdisk

Igor Sysoev February 01, 2010 12:36PM

Re: proxy_cache ramdisk

nexthop February 01, 2010 08:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 266
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready