2013-12-09, 09:55 AM
hi,
When users answer to posts on my freshly from XMB migrated forum, they often encounter a 15 sec lag.
the server is a dedicated one with 6 cores and 4GB RAM
we got 250 simultaneous users and + 3.000.000 posts
at the beginning i had locks on mybb_users table => resolved by putting this table in InnoDB
now the problem is when running this query :
we obtain random duration on this request : from .01s to 15-16 sec...
when it takes 15 sec, one core goes 100% cpu.
during this time the server works normally : no lag at opening pages
nothing is shown in SHOW PROCESSLIST
i've optimized the database
checked the tables for repair
we never had such issues under XMB
I didn't find any reason
Thanks by advance for your advices
When users answer to posts on my freshly from XMB migrated forum, they often encounter a 15 sec lag.
the server is a dedicated one with 6 cores and 4GB RAM
we got 250 simultaneous users and + 3.000.000 posts
at the beginning i had locks on mybb_users table => resolved by putting this table in InnoDB
now the problem is when running this query :
Quote:mysql> SELECT pid FROM mybb_posts WHERE tid='143583' ORDER BY dateline ASC LIMIT 0, 1;
+---------+
| pid |
+---------+
| 3856104 |
+---------+
1 row in set (16.36 sec)
we obtain random duration on this request : from .01s to 15-16 sec...
when it takes 15 sec, one core goes 100% cpu.
during this time the server works normally : no lag at opening pages
nothing is shown in SHOW PROCESSLIST
i've optimized the database
checked the tables for repair
we never had such issues under XMB
I didn't find any reason
Thanks by advance for your advices
