WHM/Cpanel limiting visitors to website?
Hi there, I noticed a strange issue. I'm running a 32core 64gb NVMe 4.0 Harddrive server. Whm/Cpanel installed.
The server is hosting a dating site, about 100k members, gaining 2k new members monthly in average.
From the beginning, I noticed we never had more then 30 members online in 30 minutes regarding Google Analytics. This feels strange, because our members seen to be avtiv on our site. It feels like their is a limit set somehow how many visitors are allowed per minute and hour. Sounds crazy, but feels like it.
Apache settings:
StartServers 10MinSpareServers 25 MaxSpareServers 75 ServerLimit 1500 MaxRequestWorkers 1500 MaxConnectionsPerChild 10000 KeepAlive On KeepAliveTimeout 5 MaxKeepAliveRequests 0 Timeout 20
Mysql settings:
[mysqld] default-authentication-plugin=mysql_native_password #default-authentication-plugin=mysql_native_password performance-schema = 0 tmp_table_size=639M max_heap_table_size=639M disable-log-bin=1 default-storage-engine = INNODB #default-authentication-plugin=mysql_native_password #performance-schema=0 # # Remove leading # and set to the amount of RAM for the most important data # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%. # innodb_buffer_pool_size = 128M # # Remove the leading "# " to disable binary logging # Binary logging captures changes between backups and is enabled by # default. It's default setting is log_bin=binlog # disable_log_bin # # Remove leading # to set options mainly useful for reporting servers. # The server defaults are faster for transactions and fast SELECTs. # Adjust sizes as needed, experiment to find the optimal values. # join_buffer_size = 256K # sort_buffer_size = 2M # read_rnd_buffer_size = 4M # # Remove leading # to revert to previous value for default_authentication_plugin, # this will increase compatibility with older clients. For background, see: # https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin # default-authentication-plugin=mysql_native_password datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock pid-file=/var/run/mysqld/mysqld.pid #innodb_buffer_pool_size = 134217728 max_allowed_packet=256M open_files_limit=40000 #innodb_file_per_table = 1 bind-address=127.0.0.1 sql_mode="" mysqlx=0 tmpdir=/dev/shm #innodb_buffer_pool_size= 20G #innodb_log_file_size = 512M # innodb_log_file_size=12G #max_heap_table_size=639M # innodb_use_native_aio = 0 read_buffer_size=131072 join_buffer_size=262144 sort_buffer_size=262144 read_rnd_buffer_size=262144 wait_timeout=300 connect_timeout = 10 interactive_timeout=300 # query_cache_size = 256M # query_cache_type = ON #tmp_table_size=639M table_open_cache = 4000 table_definition_cache = 20000 key_buffer_size=10M ####InooDB # innodb_read_io_threads = 64 # innodb_write_io_threads = 64 # innodb_buffer_pool_size = 48G # innodb_thread_concurrency = 64 # innodb_buffer_pool_instances=64 # innodb_log_files_in_group = "" # innodb_log_buffer_size= "" # innodb_file_per_table = ON # innodb_stats_on_metadata = OFF # innodb_flush_method = "" innodb_flush_log_at_trx_commit = 0 ## Logging slow_query_log = 1 long_query_time=10 slow-query-log-file=/var/log/mysql-slow.log #log-error=/var/log/mysql-error.log #innodb_log_file_size = max_connections=1001 thread_cache_size=256 max_connect_errors = 1000000 thread_stack = 192K low_priority_updates = 1 concurrent_insert = 2 log-error-verbosity=1 innodb_buffer_pool_instances=30 innodb_log_file_size=8G innodb_log_buffer_size=512M innodb_sort_buffer_size=1048576 innodb_buffer_pool_size=30G innodb_buffer_pool_chunk_size=134217728 innodb_file_per_table=1 innodb_thread_concurrency = 64 innodb_log_files_in_group = 4
I am looking for a hint why this server can't server 50 or 100 visitors in 30 minutes. The maximum is always 25-30. Over the last 5 years, no change.
Thanks for any tips and help.
-
Good afternoon,
Have you thought about applying LiteSpeed? There's a trial version, test it and see if it solves your issue. 2 CPUs should be enough, and if you purchase directly through cPanel, the price would be the same for 3 CPUs.
0 -
Hey there! The server would have no problem handling the amount of traffic you're expecting - it could likely handle that number of unique visits every few seconds.
I'm guessing there is an issue with Google Analytics getting the results from your server properly. If you check one of the stats programs directly on the system (awstats, webalizer, etc.) do you see more information there?
0
Please sign in to leave a comment.
Comments
2 comments