We are running a Wowonder-based social site for a little community and as soon as we hit 100 users online, our site becomes extremely slow due to high CPU usage. The script itself should be fine because none of the other customers have issues with this so I believe something on our side is doomed. This is our glances report with a hundred users online: 
[glances report.](https://i.stack.imgur.com/QowGq.png)
As you can see, our CPU usage is way too high, even after setting cache policies. We tried running without query\_cache but the result was the same. 

`[mysqld]
innodb_buffer_pool_instances = 26
innodb_file_per_table = 1
innodb_read_io_threads = 16
innodb_write_io_threads = 16
innodb_buffer_pool_size = 26G
innodb_io_capacity=300
innodb_log_file_size=3G
performance_schema=ON
table_definition_cache=10000
join_buffer_size=256M
skip-name-resolve
key_buffer_size = 512M
max_allowed_packet = 512M
thread_stack = 192K
thread_cache_size = 10
myisam_recover_options = BACKUP
max_connections = 1000
query_cache_type = 1
query_cache_limit = 256K
query_cache_min_res_unit = 2k
query_cache_size = 50M`

As said before, the code itself should be fine because it runs well on other instances but not on this one. Any ideas would be highly appreciated. Let me know if I can assist somehow, I'm out of ideas.