First time here? Check out the FAQ!
1

Performance of settings page

Hi, I just installed Askbot and am trying to set things up. For some reason saving settings on the /settings/... pages takes forever, like minutes, and makes my server cpu run at 70-80%, and it's not even the database, because database is on separate server.

What on earth can it possibly be doing? Is that expected?

EDIT: Ehm... it's livesettings. Querying database for 1400 times for every setting. Wat.

ralexeev's avatar
11
ralexeev
asked 2015-07-30 11:24:37 -0500, updated 2015-07-30 12:07:52 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

It is very unusual, livesettings use cache heavily, so they should not query the database that much.

Have a look at the cache setup, use at least 'locmem' cache (ok for a single-process setup), but better redis or memcached.

Evgeny's avatar
13.2k
Evgeny
answered 2015-07-30 12:10:27 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments