Announcement

Collapse
No announcement yet.

CentOS, cPanel, CloudLinux and Adding Minecraft

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CentOS, cPanel, CloudLinux and Adding Minecraft

    Hi

    I currently run a VPS, its hardly using any of the resources available to it and CloudLinux keeps everything running smoothly.

    It currently runs CentOS, cPanel and CloudLinux with about 10 accounts and my Munin graphs show idle CPU at over 300% and free memory around 500Mb (theres also 940Mb in cache).

    My son is into Minecraft and at the moment I also pay for a Digital Ocean server, its only $5 per month, but seeing as though I have all this spare resources on my main VPS I am wondering If I can also put Minecraft on there and use CloudLInux to ensure that Minecraft doesnt take more than say 1 CPU and 512 Mb of memory. Theres only ever him and a few of his mates that use it.

    How would i go about doing this. I am ok with installing and running Minecraft, I just want to know how CloudLinux would pick up the details.

    Thanks in advance.
    Darren

  • #2
    Is anybody here, I think this is a normal question to ask, can I get another user and its resources controlled by CloudLinux, not necessarily restricted to Minecraft, could be any application.

    Comment


    • #3
      Never run Minecraft its a java app not sure cloud linux control java... As I understand Its priciple is web server passes process to lve that way cpu is controlled it is valid for php and cgi scripts cloud linux is made for web hosting industry....

      ps I heard that Minecraft servers get ddosed alot from kids so never put that on my production hosting servers ...

      Comment


      • #4
        Anything run as user through shell is automatically restricted - as long as user logs in using ssh, sudo or su.
        This is controlled by /etc/pam.d/*.conf
        pam_lve entries.

        Comment


        • #5
          Thats good to know, does only cpanel users get monitored though ? or if I create a user and launch the process under that user will cloudlinux lve pick it up ?

          Comment


          • #6
            As long as user id > 500, it will work.

            Comment

            Working...
            X