Hey there,
I have a low system server 2gb ram and intel core duo E4500.
I try to save as much as i can from RAM.
I want to configure apache modules so i use only what is needed for my sites.
I use php 7.0 and fcgid run script
All my websites are kinda low traffic visitors. (wordpress and 2 opencart sites)
How can i improve apache modules, what can i disable from list from photo.
How can i improve mysql? Mysql
This is mysqld.cnf file content:
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
bind-address = 127.0.0.1
key_buffer_size = 16M
thread_stack = 192K
thread_cache_size = 8
myisam-recover-options = BACKUP
query_cache_limit = 1M
log_error = /var/log/mysql/error.log
expire_logs_days = 10
max_binlog_size = 100M
innodb_file_per_table = 1
max_allowed_packet = 1M
query_cache_size = 32M
And this is the photo link from apache modules
https://imgur.com/a/SAB8s2p
I do have some issues regarding 500 error pages in apache, sometimes when log rotate is activating in weekly cron. From my research those errors are due to lack of ram memory.
I want to improve time response from my server so i adjust apache and mysql.
Thanks.