RE: Freeradius-Users Digest, Vol 102, Issue 65
Thanks Fajar for quick response! Now I know there exists mutual influence among virtual servers. Oddly, instead of seeing the error message " There are no DB handles to use ", there are bulk of "Discarding duplicate request from NMS - ID xx due to unfinished request xxxx", then after about short period of time, it showed msg "WARNING: Unresponsive child for request xxxx, in component authorized module", can I still say that is due to problematic DB?
That is, even virtual server ?A? only has few operation to check, while ?B? has much more things need to check and unfortunately maybe it could have low performance DB backend, does B might occupy resource in whole Authorize section so that A also become more and more busier?
**
Yes
**
In fact, I got many times of Error msg ?child is hung for request in component authorize module? in radius.log. I would not think the loading in our server was really much high enough for causing late response to simulated request from our NMS per **minute**. Our wifi auth request per day is among 2000~3000 in average.
only 2k per day? That's tiny. Something if seriously wrong with your db if it can't handle that much requests.
IIRC one way to isolate problematic db is to use small num_sql_socks in sql.conf (default is 5). If the db is slow, it should bomb out quickly with "There are no DB handles to use" errors, but there should be only a small count of FR threads interacting with that db so that processes not using it (e.g. other virtual server) should still work just fine.
-- Fajar
On Mon, Oct 21, 2013 at 3:48 PM, Okis Chuang <okischuang@outlook.com> wrote:
"Discarding duplicate request from NMS - ID xx due to unfinished request xxxx",
Did you read what it says? "Duplicate request"?
then after about short period of time, it showed msg "WARNING: Unresponsive child for request xxxx, in component authorized module", can I still say that is due to problematic DB?
Do you actually know how fast your NMS request is processed? It can be slow even if it doesn't use db if it depends on external components. For example, proxying auth to external radius servers. -- Fajar
participants (2)
-
Fajar A. Nugraha -
Okis Chuang