1

(13 replies, posted in PunBB 1.2 troubleshooting)

Okay, I found the query. My developer was using it in the site menu, so it was very ofently executed. I removed it and now the sever's load & speed seem to be allright.

Thanks for your interest in my problem ! smile

2

(13 replies, posted in PunBB 1.2 troubleshooting)

I tried to log the slow MySQL queries (by enabling the property in the mysql config file), I waited about one day, and I opened the log file...
The file is about 800KB and contains mostly (about 98% of the file) this query :

# Time: 060302 16:35:41
# User@Host: lelombrik[lelombrik] @ localhost []
# Query_time: 21  Lock_time: 0  Rows_sent: 10  Rows_examined: 1763
SELECT u.id AS userid, t.id, t.subject, t.last_poster, t.last_post_id, t.last_post 
FROM punbb_topics AS t 
INNER JOIN punbb_forums AS f ON f.id = t.forum_id 
LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id = f.id AND fp.group_id=3) 
INNER JOIN punbb_users AS u ON u.username LIKE t.last_poster 
WHERE (fp.read_forum IS NULL OR fp.read_forum=1) 
ORDER BY t.last_post_id DESC 
LIMIT 0, 10;

I didn't look at the PunBB code but I think this should be the index page of the board ?
I don't know why this query is so slow, maybe because of the join with a string... ?

Edit : I tried to rename the extern.php also, but it didn't change anything ! sad

3

(13 replies, posted in PunBB 1.2 troubleshooting)

It's my own server, I use it just for my website, www.lelombrik.net (french)

I doesn't run backups or things like that.

I had 102.0 of load just now (mainly  mysqld), I have switched the forum off (maintenance mode), and now , the load is 1.8 and the sever works freely

4

(13 replies, posted in PunBB 1.2 troubleshooting)

Is there a possibility of fixing this ? By limiting the number of requests or something

Sometimes with 150 users connected, the load is low but it is sometimes very high with 100 users connected (~70 - ~80 - ~120)..

5

(13 replies, posted in PunBB 1.2 troubleshooting)

Hi all,

I have launched a PunBB Forum for a year now and I have a big issue.
The forum is very demanding in MySQL resources, it slows down the server, and if I deactivate it, the server works freely again.
I deactivated the option "Search all Forums" but it didn't help.
There are around 100 to 200 persons permanently connected.

Do you have a clue what the problem could be?

thanks beforehand