[MDEV-14292] MariaDB threads increasing suddenly from 400 to 3k~5k Created: 2017-11-05 Updated: 2017-11-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.2.9 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Maziar Sojoudian | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu, php web app |
||
| Attachments: |
|
| Description |
|
We have a big database, about 750GB, we have a Master and 4 slaves. some times without any issues, MariaDB threads increasing suddenly from 300~400 to around 5K and its make MariaDB unavailable and web app get `connection time out`. By chance we found that we can recover MariaDB trough stoping slaves and starting them after 30 second or 1~2 minute. But this some times work and some times not work ! and in this situations we should stop MariaDB on Master server and staring it again ! its happened after MariaDB 10.2.9, before. when we were at MariaDB 10.1.X everything were fine !!! PS : I should mention that some times one of the slaves face gap and it cannot sync data with Master ! and we should stop MariaDB server on this slave server and starting it again. PS : Also we have `Lock process` in MariaDB 10.2.9 !!!!! before we didn't have this much !!!!! |
| Comments |
| Comment by Elena Stepanova [ 2017-11-07 ] |
|
sojoudian,
|
| Comment by Maziar Sojoudian [ 2017-11-08 ] |
|
@Elena Stepanova As I said before, we face another issue which is suddenly the number of connected threads on master DB goes high without any patterns every day. Sometimes we stop replications (executing STOP SLAVE) on each slave and it works, but sometimes we have to restart the master DB. because the PS : please check the attachments |