Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Running logs and stuff in memory

Discussion in 'Workarounds and Optimization' started by Mike St, Oct 10, 2014.

  1. Mike St

    Mike St Member

    Jul 21, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I'm running a server with linux CentOS 6 with whm/cpanel installed.

    I made a website that utilizes a caching system for speed.

    At the moment, I'm using tmpfs (temporary file system) to store all the temporary files for the cache and even some useless logs, and after a while, it seems the more I put in the tmpfs, the slower things go.

    So now, I thought of using the /dev/ramX devices, but after trying one, the limit is 16M, yet I'm looking for a much larger amount, and smaller number of devices for ram because I think each ram device multiplied the size of ram for each device is the total ram used just for those devices, so I might as well somehow consolidate them all into one device and make the size bigger, but I do not know how.

    Internet Documentation states modifying kernel parameters but theres nothing that tells me how to limit the number of /dev/ramX devices to one or maybe two.

    Can anyone help?

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice