Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #////////////////////////////////////
- #
- # memCron Settings
- #
- # URL: http://memcron.com/usage/
- #
- #////////////////////////////////////
- # Disable memory updates?
- $disable_updates = 0;
- # API key
- $key = "XXXXXXXXXXXXXXXX";
- # Name of your PS server (log into the server and type "hostname" in shell to find out)
- $ps = "ps99999";
- # Number of minutes between calls to memCron (i.e. interval for cron jobs), 5 min recommended, cannot be less than 1 min
- $cron_interval = 1;
- # Maximum amount of memory that memCron can request (DreamHost default is 4000)
- $max_memory = 1500;
- # Minimum amount of memory that memCron can request (DreamHost default is 150)
- # ADVANCED - Time dependant minimum
- $min_memory = 600;
- # If this threshold is exceeded, memCron will send out an email to notify you (set to 0 to disable this feature)
- $mem_threshold = 1000;
- # If set to 1, send alert when memory is changed
- $alert_on_change = 1;
- # If set to 1, send alert when API generates an error
- $alert_on_error = 1;
- # Notifications will be send to this email when $mem_threshold is exceeded
- $email = 'webmaster@example.com';
- # Confidence level for free memory to be enough until next function call (must be between 0 and 1, the closer to 1 the more confident you are, but it also increases the amount of free memory to be reserved, take note that this value will not be used if $mem_free_to_used_ratio demands a higher memory reserve)
- $mem_free_confidence = 0.750;
- # Minimum free vs. used memory ratio you are comfortable with (i.e. free memory / used memory, the higher this value the less likely swap memory will be utilized, and more reliable your site will be -> less internal server error)
- $mem_free_to_used_ratio = 1.333;
- # Number of consecutive request to lower memory limit before memCron actually does it (cannot be less than 1; increase this value if memCron keeps running out of daily resize limit, higher value reduces the responsiveness of memory downsize)
- $downsize_resistance = 30;
- # Number of samples to be used to find memory usage, default=60
- $num_samples = 30;
- # Number of past data to be used to estimate free memory required
- $num_data = 30;
- # Number of data to be stored in the csv file used to generate pretty graphs
- $num_data_csv = 8000;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement