PrinceReborn
Member
We've recently just wiped our hard drive, reinstalled CentOS 7, Apache2, all the Xenforo requirements and restored our website/forum files. Only to discover that any pages using SQL are incredibly slow, sometimes taking over 10 seconds to load. Whereas pages that don't use SQL are loading instantly.
I have checked the SQL processlist and noticed tons of queries that are 'writing to net':
Any advice?
I have checked the SQL processlist and noticed tons of queries that are 'writing to net':
Code:
| 42573507 | xenforo | 10.4.14.218:59470 | xenforo | Sleep | 1 | | NULL | 0.000 |
| 42573508 | xenforo | 10.4.14.218:59524 | xenforo | Sleep | 1 | | NULL | 0.000 |
| 42573509 | xenforo | 10.4.14.218:59432 | xenforo | Execute | 2 | Writing to net | SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bb_co | 0.000 |
| 42573511 | xenforo | 10.4.14.218:59536 | xenforo | Sleep | 2 | | NULL | 0.000 |
| 42573512 | xenforo | 10.4.14.218:59542 | xenforo | Sleep | 0 | | NULL | 0.000 |
| 42573513 | xenforo | 10.4.14.218:59554 | xenforo | Sleep | 0 | | NULL | 0.000 |
| 42573515 | xenforo | 10.4.14.218:59496 | xenforo | Sleep | 2 | | NULL | 0.000 |
| 42573516 | xenforo | 10.4.14.218:59638 | xenforo | Execute | 3 | Writing to net | SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('page_nav', 'bb_co | 0.000 |
| 42573517 | xenforo | 10.4.14.218:59708 | xenforo | Sleep | 2 | | NULL | 0.000 |
| 42573518 | xenforo | 10.4.14.218:59714 | xenforo | Execute | 9 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573519 | xenforo | 10.4.14.218:59890 | xenforo | Sleep | 5 | | NULL | 0.000 |
| 42573520 | xenforo | 10.4.14.218:59894 | xenforo | Execute | 8 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573521 | xenforo | 10.4.14.218:59932 | xenforo | Execute | 7 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573522 | xenforo | 10.4.14.218:59940 | xenforo | Execute | 7 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573523 | xenforo | 10.4.14.218:59956 | xenforo | Execute | 7 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573524 | xenforo | 10.4.14.218:59976 | xenforo | Execute | 6 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573525 | xenforo | 10.4.14.218:60110 | xenforo | Execute | 5 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573526 | xenforo | 10.4.14.218:60112 | xenforo | Execute | 5 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573527 | xenforo | 10.4.14.218:60146 | xenforo | Execute | 4 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573528 | xenforo | 10.4.14.218:60156 | xenforo | Execute | 3 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573529 | xenforo | 10.4.14.218:60258 | xenforo | Execute | 2 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573531 | xenforo | 10.4.14.218:60344 | xenforo | Execute | 2 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
WHERE data_key IN ('options', 'languages', | 0.000 |
| 42573532 | xenforo | 10.4.14.218:60230 | xenforo | Execute | 2 | Writing to net | SELECT data_key, data_value
FROM xf_data_registry
Any advice?