Ask Your Question

Performance of settings page

asked 2015-07-30 11:24:37 -0500

ralexeev's avatar

updated 2015-07-30 12:07:52 -0500

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-30 12:10:27 -0500

Evgeny's avatar

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-07-30 11:24:37 -0500

Seen: 221 times

Last updated: Jul 30 '15