Roundcube Community Forum

 

Mysql threads never killed ?

Started by artiflo, May 24, 2007, 10:24:59 AM

Previous topic - Next topic

artiflo

Hello.

I have 2 problems with roundcube thread on mysql.

First : Mysql threads from roundcube are never killed. All threads are in sleep "state". If I use "Quit" in my roundcube interface it's the same. If I delete all colums in the mysql session table it's the same. When I see mysql threads i have this (SHOW FULL PROCESSLIST) :

| 20 | webmail | localhost | roundcubemail | Sleep  | 1383 |    | NULL         |
| 69 | webmail | localhost | roundcubemail | Sleep  | 1302 |    | NULL         |
| 78 | webmail | localhost | roundcubemail | Sleep  | 1289 |    | NULL         |
| 79 | webmail | localhost | roundcubemail | Sleep  | 1292 |    | NULL         |
| 81 | webmail | localhost | roundcubemail | Sleep  | 1288 |    | NULL         |
| 84 | webmail | localhost | roundcubemail | Sleep  | 1282 |    | NULL         |
| 85 | webmail | localhost | roundcubemail | Sleep  | 1281 |    | NULL         |
| 92 | webmail | localhost | roundcubemail | Sleep  | 1272 |    | NULL         |

I have configured my main.inc.php with
// session lifetime in minutes
$rcmail_config['session_lifetime'] = 2;

Second : If i hit "refresh" with my web brower i have a new mysql thread.

Do you have some idea ?