Ask Your Question
1

Performance of settings page

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

ralexeev gravatar image

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
0

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

Evgeny gravatar image

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

Stats

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

Seen: 155 times

Last updated: Jul 30 '15