Would you like to discuss your environment with a knowledgable engineer?
We recommend adjusting default networking settings for maximum performance.For heavy traffic sites set more connections using the following syntax.
Verify your settings with:
Next we decrease TCP TIME_WAIT setting, the default value is too high and will result in too many sockets in TIME_WAIT stait. To decrease waiting time, execute following command:
To verify setting is in effect, use:
To limit log file size, use:
When set to, aiScaler rotates access log file every 100MB or so. The rotated files will have a timestamp appended to the file name.
You can setup RightScale templates to remove those old log files or move them for analysis, but for other setup you must process them manually – via cron jobs, for example.
By default aiScaler exits when it can not write to disk, such as when disk is full. Following settings prevent aiScaler from exiting in that case:
By default aiScaler runs 4 threads and it’s an optimal setting for virtual servers, large AWS instances and most dual and quad core.
For eight+ core systems you can increase the number of threads used. Set num_workers in global section of the config file.
To verify number of threads, run CLI or Web statistics command, number of workers is displayed after aiScaler version number.