Ultra-Host
  Client Login Portal   News
  • 66
  •   Request Server
  •   Control Panel
  •   Services
  •   
     
    Ultra-Host - Portal
    Dear Guest! You are not registered or logged in! Click here to register or click here to login.




    You are not registered or logged in! Click here to register or click here to login.



    How to reduce the CPU and RAM consumption of your server (Read 331 times)
    Posted: September 3, 2018 21:37:17
    Offline rorrobryan
     
    Premium User
     

     
     
    Posts: 12
    Private message
    How to reduce the CPU and RAM consumption of your server
     
     

    Hello, I will explain something simple but important, if your server has excessive consumption on the host, so as not to risk being penalized, my server without this, consumed 60% CPU, and after doing this 19% with 30 players, what you should do is to open the include a_samp, and edit the maximum number of players that default is 1000 and you modify it exactly to the number of slots you use, then compile all your .pwn with the updated a_samp, and do the test, you will see the difference in consumption


     
    Posted: September 9, 2018 13:19:31
    Offline tritol
     
    Premium User
     

     
     
    Posts: 16
    Private message
    Re: How to reduce the CPU and RAM consumption of your server
     
     
    I have limited that too, i think that helps to the server performance.
    Thank you for sharing with everyone!


     
    Posted: October 27, 2018 19:45:01
    Posted: November 3, 2018 19:46:52
    Offline PowerLow
     
    Premium User
     

     
     
    Posts: 15
    Facebook Youtube Skype
    Private message
    Re: How to reduce the CPU and RAM consumption of your server
     
     
    from 30% to 18% CPU
    from 42% to 20% ram
    I recommend it




     
    Romania Epic Style
    Campanie de strangere de fonduri pentru copiii saraci Donate

    Fundraising campaign for poor children Donate2
     
    Posted: March 3, 2019 22:49:30
    Offline GasmoN
     
    Premium User
     

     
     
    Posts: 7
    Private message
    Re: How to reduce the CPU and RAM consumption of your server
     
     
    More easier method is add this below includes in your gamemode

    #undef MAX_PLAYERS
    #define MAX_PLAYERS 100

    #undef MAX_VEHICLES
    #define MAX_VEHICLES 500

    #undef will undefine a_samp.inc's define of 1000 slots and #define will set that number to 100 slots. Same goes for max vehicles define.


     


    Statistics
    Services
    Support

    - Online servers: 1,644
    - Registered users: 101,070
    - Uptime: 6 years, 3 months and 21 days.

    © Ultra-Host v9.0.6 (2013-2019) - All Rights Reserved.