Beste SD'ers
Ik probeer het onderstaande toe te passen op mijn magento installatie. Alleen nu laat mijn engels en kennis me in de steek. Kan iemand me vertellen hoe ik het onderstaande kan toepassen ?
Speed up your Cache files
Magento makes extensive use of file-based storage for caching and session storage. The slowest component in a server is the hard drive, so if you use a memory-based file system such as tmpfs, you can save all those extra disk IO cycles by storing these temporary files in memory instead of storing them on your slow hard drive.
Let´s do this with tmpfs
Let’s say your Magento install is at /var/www/domain.com/ so your cache and session directories are /var/www/domain.com/var/cache/ and /var/www/domain.com/var/session/ For cache we will allocate a max of 256MB RAM and for sessions 64MB RAM. It is important to give access to everyone (e.g your webserver Apache)
1 mount -t tmpfs -o size=256M,mode=0744 tmpfs /var/www/domain.com/var/cache/
2 mount -t tmpfs -o size=64M,mode=0744 tmpfs /var/www/domain.com/var/session/
Now it might be a good idea to restore these volumes each time your server boots. Just add the following lines to your /etc/fstab:
1 tmpfs /var/www/domain.com/var/cache/ tmpfs size=256,mode=0744 0 0
2 tmpfs /var/www/domain.com/var/session/ tmpfs size=64,mode=0744 0 0
Please note, your tmpfs is temporary in the sense that nothing will be created on your hard drive. If you reboot, everything in tmpfs will be lost.
- Magento hulp
-
22-07-2013, 20:25 #1
- Berichten
- 631
- Lid sinds
- 13 Jaar
Magento hulp
-
In de schijnwerper
-
23-07-2013, 09:02 #2
- Berichten
- 980
- Lid sinds
- 17 Jaar
Re: Magento hulp
Je zult deze commando's als root in de commandline (bash/ssh) uit moeten voeren. Als je niet begrijpt wat dit doet raad ik je aan er van af te blijven; laat de systeembeheerder cq hostingprovider dit voor je uitvoeren.
Plaats een
- + Advertentie
- + Onderwerp
Marktplaats
Webmasterforum
- Websites algemeen
- Sitechecks
- Marketing
- Domeinen algemeen
- Waardebepaling
- CMS
- Wordpress
- Joomla
- Magento
- Google algemeen
- SEO
- Analytics
- Adsense
- Adwords
- HTML / XHTML
- CSS
- Programmeren
- PHP
- Javascript
- JQuery
- MySQL
- Ondernemen algemeen
- Belastingen
- Juridisch
- Grafisch ontwerp
- Hosting Algemeen
- Hardware Info
- Offtopic