Hi All, I have a freeradius server which has some slow mysql queries and some errors like the below happen now and again(daily). We have actually just upgraded to this server and have imported all the MYsql data into the new server (it was working fine on the older quite similar server). One thing I have noticed; the server boots with around 280mb of ram used but after an hour or two is closer to 400mb used and stays around this point until rebooted again. My research says that the tables need to be indexed but it seems I would have to manually do this and I don't know which ones would need it anyway... and why would this be the case when it wasn't needed previously. The other thing that I have noticed is what appear to be doubled up entries in radius.log, (check the times) Anyone know what this could be? Fri Jun 3 19:40:30 2011 : Auth: Login incorrect: [E4-CE-8F-85-A5-E4/password] (from client localhost port 3 cli E4-CE-8F-85-A5-E4) Fri Jun 3 19:40:31 2011 : Auth: Login incorrect: [E4-CE-8F-85-A5-E4/password] (from client localhost port 3 cli E4-CE-8F-85-A5-E4) Fri Jun 3 19:40:31 2011 : Auth: Login incorrect: [E4-CE-8F-85-A5-E4/password] (from client localhost port 3 cli E4-CE-8F-85-A5-E4) Fri Jun 3 19:40:31 2011 : Auth: Login incorrect: [E4-CE-8F-85-A5-E4/password] (from client localhost port 3 cli E4-CE-8F-85-A5-E4) Fri Jun 3 19:40:32 2011 : Auth: Login incorrect: [E4-CE-8F-85-A5-E4/password] (from client localhost port 3 cli E4-CE-8F-85-A5-E4) --------------- Here are the server errors: Fri Jun 3 19:39:40 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 210 due to unfinished request 5001 Fri Jun 3 19:39:40 2011 : Error: WARNING: Unresponsive child (id 2995579792) for request 5008 (in component accounting module rlm_sql) Fri Jun 3 19:39:40 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 211 due to unfinished request 5009 Fri Jun 3 19:39:40 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Fri Jun 3 19:39:41 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Fri Jun 3 19:39:41 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Fri Jun 3 19:39:41 2011 : Error: Discarding duplicate request from client localhost:2048 - ID: 32 due to unfinished request 5008 Fri Jun 3 19:39:43 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 210 due to unfinished request 5001 Fri Jun 3 19:39:43 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 211 due to unfinished request 5009 Fri Jun 3 19:39:44 2011 : Error: Discarding duplicate request from client localhost:2048 - ID: 32 due to unfinished request 5008 Fri Jun 3 19:39:46 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 210 due to unfinished request 5001 Fri Jun 3 19:39:46 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 211 due to unfinished request 5009 Fri Jun 3 19:39:46 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Fri Jun 3 19:39:47 2011 : Error: Discarding duplicate request from client localhost:2048 - ID: 32 due to unfinished request 5008 Fri Jun 3 19:39:47 2011 : Error: WARNING: Unresponsive child (id 2985089936) for request 5009 (in component accounting module rlm_sql) Fri Jun 3 19:39:49 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 211 due to unfinished request 5009 Fri Jun 3 19:39:49 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Fri Jun 3 19:39:50 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Regards Carl
Check this link and the described tools http://www.serveradminblog.com/2011/03/tuning-mysql-performance-howto-part-1... Turn the slow query log ON so you can see the slow queries. Also, check the disk(s). Is write cache enabled? Do you have any external scripts for auth/acc ? They can be the reason for this... You can notice this problem with # ps ax|grep radiusd and search for radiusd <defunct> On 06/04/2011 12:47 PM, OzSpots - Carl Sawers wrote:
Hi All, I have a freeradius server which has some slow mysql queries and some errors like the below happen now and again(daily).
We have actually just upgraded to this server and have imported all the MYsql data into the new server (it was working fine on the older quite similar server). One thing I have noticed; the server boots with around 280mb of ram used but after an hour or two is closer to 400mb used and stays around this point until rebooted again.
My research says that the tables need to be indexed but it seems I would have to manually do this and I don't know which ones would need it anyway... and why would this be the case when it wasn't needed previously.
The other thing that I have noticed is what appear to be doubled up entries in radius.log, (check the times) Anyone know what this could be?
Fri Jun 3 19:40:30 2011 : Auth: Login incorrect: [E4-CE-8F-85-A5-E4/password] (from client localhost port 3 cli E4-CE-8F-85-A5-E4) Fri Jun 3 19:40:31 2011 : Auth: Login incorrect: [E4-CE-8F-85-A5-E4/password] (from client localhost port 3 cli E4-CE-8F-85-A5-E4) Fri Jun 3 19:40:31 2011 : Auth: Login incorrect: [E4-CE-8F-85-A5-E4/password] (from client localhost port 3 cli E4-CE-8F-85-A5-E4) Fri Jun 3 19:40:31 2011 : Auth: Login incorrect: [E4-CE-8F-85-A5-E4/password] (from client localhost port 3 cli E4-CE-8F-85-A5-E4) Fri Jun 3 19:40:32 2011 : Auth: Login incorrect: [E4-CE-8F-85-A5-E4/password] (from client localhost port 3 cli E4-CE-8F-85-A5-E4)
--------------- Here are the server errors:
Fri Jun 3 19:39:40 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 210 due to unfinished request 5001 Fri Jun 3 19:39:40 2011 : Error: WARNING: Unresponsive child (id 2995579792) for request 5008 (in component accounting module rlm_sql) Fri Jun 3 19:39:40 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 211 due to unfinished request 5009 Fri Jun 3 19:39:40 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Fri Jun 3 19:39:41 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Fri Jun 3 19:39:41 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Fri Jun 3 19:39:41 2011 : Error: Discarding duplicate request from client localhost:2048 - ID: 32 due to unfinished request 5008 Fri Jun 3 19:39:43 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 210 due to unfinished request 5001 Fri Jun 3 19:39:43 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 211 due to unfinished request 5009 Fri Jun 3 19:39:44 2011 : Error: Discarding duplicate request from client localhost:2048 - ID: 32 due to unfinished request 5008 Fri Jun 3 19:39:46 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 210 due to unfinished request 5001 Fri Jun 3 19:39:46 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 211 due to unfinished request 5009 Fri Jun 3 19:39:46 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Fri Jun 3 19:39:47 2011 : Error: Discarding duplicate request from client localhost:2048 - ID: 32 due to unfinished request 5008 Fri Jun 3 19:39:47 2011 : Error: WARNING: Unresponsive child (id 2985089936) for request 5009 (in component accounting module rlm_sql) Fri Jun 3 19:39:49 2011 : Error: Discarding duplicate request from client localhost:61924 - ID: 211 due to unfinished request 5009 Fri Jun 3 19:39:49 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Fri Jun 3 19:39:50 2011 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 Regards Carl
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Sat, Jun 4, 2011 at 5:47 PM, OzSpots - Carl Sawers <carl@ozspots.com.au> wrote:
Hi All, I have a freeradius server which has some slow mysql queries and some errors like the below happen now and again(daily).
We have actually just upgraded to this server and have imported all the MYsql data into the new server (it was working fine on the older quite similar server). One thing I have noticed; the server boots with around 280mb of ram used but after an hour or two is closer to 400mb used and stays around this point until rebooted again.
My research says that the tables need to be indexed but it seems I would have to manually do this and I don't know which ones would need it anyway... and why would this be the case when it wasn't needed previously.
There are lots of things that can cause mysql to be slow. Also lots of things that can be done to fix them. Judging from what you wrote I HIGHLY suggest you get a qualified dba. Here's why: - Your statement about index indicates you don't even know whether index can help you or not. Not good. Index can do wonders to speed up read queries. However, too many index can greatly slow down write queries. Finding the right amount and right columns to index can be hard for a non-dba. - No matter what database you use, performance can degrade quickly if keep all data indefinitely and don't purge old data. But deleting several thousand records of old data can kill the database performance-wise during the process. This is where partitioning can come in handy. Again, it can be hard for a non-dba. - Your statement seem to imply upgrading the hardware can solve everything. It doesn't. Even if it does, you need to know what to upgrade to get the most effect. Busy databases are usually disk I/O bound. In this case upgrading from (example) a server with Core 2 Duo to a dual 10-core Xeon E7 will not do much to solve your problem if you keep on using 7200-rpm HDDs. On the other hand, changing the disks to Sandforce or Intel-based SSDs can do wonders. - There are various tunables in MySQL. One of the most important is what storage engine to use. The other is memory-related settings. Again, it can be hard for a non-dba to determine optimum settings.
The other thing that I have noticed is what appear to be doubled up entries in radius.log, (check the times) Anyone know what this could be?
Most likely the side effect of MySQL being slow. If you can't get a dba's help, then most likely your best option is to keep a copy of current radacct table somewhere safe (using something like mysqldump), delete the table, and recreate it (see raddb/sql/mysql/schema.sql for a schema example). You'll lose old accounting records that way, so be very careful if you choose to go down this path. -- Fajar
Thanks Guys, The slow query log has a lot of entry's in it. It's not obvious which are causing the most issues but I have found a script that was always slowish so have removed it. The line read # Query_time: 5 Lock_time: 0 Rows_sent: 3 Rows_examined: 17286222 No idea where it thinks there are that may rows... A script which outputs all the active users from radcheck shows this in the slow query log # Query_time: 0 Lock_time: 0 Rows_sent: 84 Rows_examined: 32992 Are all the slow query entries potentially a problem, I mean should there be any entries in there at all? While the scripts have changed slightly this DB worked fine on the last server - could it have been corrupted from the sql txt file import perhaps? (via phpadmin) Regards Carl
On 06/06/2011 05:05 AM, OzSpots - Carl Sawers wrote:
Thanks Guys,
The slow query log has a lot of entry's in it. It's not obvious which are causing the most issues but I have found a script that was always slowish so have removed it. The line read
# Query_time: 5 Lock_time: 0 Rows_sent: 3 Rows_examined: 17286222
No idea where it thinks there are that may rows...
A script which outputs all the active users from radcheck shows this in the slow query log
# Query_time: 0 Lock_time: 0 Rows_sent: 84 Rows_examined: 32992
Are all the slow query entries potentially a problem, I mean should there be any entries in there at all? While the scripts have changed slightly this DB worked fine on the last server - could it have been corrupted from the sql txt file import perhaps? (via phpadmin)
Regards Carl
Hello Carl, try: "CHECK TABLE <table name>" to check whether it's corrupted */ Drop output from "SHOW CREATE TABLE <table name>" and a sample script which takes a long time to execute here. Best Regards, George Chelidze
Hi,
Are all the slow query entries potentially a problem, I mean should
yes. any slow queries are potentially a problem. in your case I believe that you have that many rows in your DB table - and because there is no index, all entries have to be seen - as previous post says, you need a DBA or quickly pick up some skills. its quite easy to use 'EXPLAIN' with your SELECT query to find out what is happening...and even easier to add just one index that will fix the main bottleneck. common issue is running a DB that has no index on your main query target specifier (a default DB wont have ANY indexes on it for columns you have created). alan
Thanks for the advice everyone! I have removed scripts which caused the VERY slow queries and have now had the slow query log on for a few days. It is still showing loads of entry's but http access performance is not noticeably slow(on occasion there is a small delay). The slow queries appear to be mostly coming from radacct and radcheck when a wireless user is trying to authenticate... Phpadmin states that there have been 300000 queries in only 25 hours which is 3 per second. (there is 4 database's including an analytics database also which will be included in this) 20% of the queries are from the 'change db' query. 4300 of the slow queries in the slow query log are from ONE WIRELESS CLIENT trying to authenticate, yet radius.log only shows around 75 authentication attempts...the lines read like this: -------------------------------------- # Time: 110605 13:43:15 # User@Host: freeradius[freeradius] @ localhost [] # Query_time: 0 Lock_time: 0 Rows_sent: 1 Rows_examined: 37 SELECT radacct.UserName AS UserName , radcheck.Value AS Value FROM radacct left outer join radlookupnas ON radlookupnas.user = radacct.UserName AND radlookupnas.macauth = '0' AND radacct.CallingStationId = '60-33-4B-20-1F-5F' left outer join radcheck ON radcheck.username = radacct.username AND radcheck.attribute='User-Password' WHERE radcheck.username = radlookupnas.user LIMIT 1; ------------------------------------- In radius.log I can see that a lot of the entrys are double ups, the same authentication request repeated a few times over 2 or 3 seconds: -------------------------------------- Tue Jun 7 09:31:34 2011 : Auth: Login incorrect: [60-33-4B-20-1F-5F/password] (from client localhost port 3 cli 60-33-4B-20-1F-5F) Tue Jun 7 09:31:35 2011 : Auth: Login incorrect: [60-33-4B-20-1F-5F/password] (from client localhost port 3 cli 60-33-4B-20-1F-5F) Tue Jun 7 09:31:35 2011 : Auth: Login incorrect: [60-33-4B-20-1F-5F/password] (from client localhost port 3 cli 60-33-4B-20-1F-5F) -------------------------------------- AND the occasional Error like this: ----------------------- Error: Discarding duplicate request from client localhost:58813 - ID: 19 due to unfinished request 14831 Error: WARNING: Unresponsive child (id 2954177424) for request 14832 (in component accounting module rlm_sql) Error: Discarding duplicate request from client localhost:33869 - ID: 151 due to unfinished request 14832 --------------------------- PHPmyadmin runtime info states that Select_full_join is 49 and that if this value is not 0, you should carefully check the indexes of your tables. If the radius Mysql tables need to be indexed which ones? radacct has 3500 records and is 1.1mb, radcheck has 9000 and is .5mb and aradacct has 27000 and is 8mb. Are either of these that big? I output this mysqlreport and tried to find where issues are but it's not obvious to me: ----------------------------------------------- MySQL 5.0.51a-3ubuntu5- uptime 0 23:40:19 Tue Jun 7 11:23:18 2011 __ Key _________________________________________________________________ Buffer used 4.71M of 32.00M %Used: 14.71 Current 5.02M %Usage: 15.70 Write hit 23.31% Read hit 99.74% __ Questions ___________________________________________________________ Total 276.17k 3.2/s QC Hits 135.76k 1.6/s %Total: 49.16 Com_ 49.73k 0.6/s 18.01 COM_QUIT 46.82k 0.5/s 16.95 DMS 44.44k 0.5/s 16.09 -Unknown 588 0.0/s 0.21 Slow (4) 7.44k 0.1/s 2.69 %DMS: 16.74 Log: ON DMS 44.44k 0.5/s 16.09 UPDATE 19.94k 0.2/s 7.22 44.87 SELECT 19.70k 0.2/s 7.13 44.33 DELETE 2.13k 0.0/s 0.77 4.79 INSERT 1.69k 0.0/s 0.61 3.80 REPLACE 987 0.0/s 0.36 2.22 Com_ 49.73k 0.6/s 18.01 change_db 46.71k 0.5/s 16.91 show_status 1.14k 0.0/s 0.41 set_option 729 0.0/s 0.26 __ SELECT and Sort _____________________________________________________ Scan 6.48k 0.1/s %SELECT: 32.91 Range 1.17k 0.0/s 5.92 Full join 47 0.0/s 0.24 Range check 0 0/s 0.00 Full rng join 0 0/s 0.00 Sort scan 737 0.0/s Sort range 888 0.0/s Sort mrg pass 10 0.0/s __ Query Cache _________________________________________________________ Memory usage 800.98k of 16.00M %Used: 4.89 Block Fragmnt 14.25% Hits 135.76k 1.6/s Inserts 18.76k 0.2/s Insrt:Prune 18.76k:1 0.2/s Hit:Insert 7.24:1 __ Table Locks _________________________________________________________ Waited 73 0.0/s %Total: 0.13 Immediate 54.91k 0.6/s __ Tables ______________________________________________________________ Open 195 of 512 %Cache: 38.09 Opened 335 0.0/s __ Connections _________________________________________________________ Max used 18 of 100 %Max: 18.00 Total 46.82k 0.5/s __ Created Temp ________________________________________________________ Disk table 410 0.0/s Table 2.19k 0.0/s Size: 32.0M File 26 0.0/s __ Threads _____________________________________________________________ Running 1 of 11 Cached 7 of 16 %Hit: 99.96 Created 18 0.0/s Slow 0 0/s __ Aborted _____________________________________________________________ Clients 0 0/s Connects 7 0.0/s __ Bytes _______________________________________________________________ Sent 50.74M 595.5/s Received 28.46M 333.9/s __ InnoDB Buffer Pool __________________________________________________ Usage 2.33M of 8.00M %Used: 29.10 Read hit 100.00% Pages Free 363 %Total: 70.90 Data 143 27.93 %Drty: 0.00 Misc 6 1.17 Latched 0 0.00 Reads 5.51M 64.7/s From file 99 0.0/s 0.00 Ahead Rnd 5 0.0/s Ahead Sql 0 0/s Writes 6.63k 0.1/s Flushes 2.56k 0.0/s Wait Free 0 0/s __ InnoDB Lock _________________________________________________________ Waits 0 0/s Current 0 Time acquiring Total 0 ms Average 0 ms Max 0 ms __ InnoDB Data, Pages, Rows ____________________________________________ Data Reads 129 0.0/s Writes 5.09k 0.1/s fsync 3.35k 0.0/s Pending Reads 0 Writes 0 fsync 0 Pages Created 1 0.0/s Read 142 0.0/s Written 2.56k 0.0/s Rows Deleted 61 0.0/s Inserted 112 0.0/s Read 1.20M 14.1/s Updated 1.01k 0.0/s ---------------------------------------------------------------
On Tue, Jun 7, 2011 at 10:54 AM, OzSpots - Carl Sawers <carl@ozspots.com.au> wrote:
SELECT radacct.UserName AS UserName , radcheck.Value AS Value
FROM radacct
left outer join radlookupnas ON radlookupnas.user = radacct.UserName AND radlookupnas.macauth = '0' AND radacct.CallingStationId = '60-33-4B-20-1F-5F'
left outer join radcheck ON radcheck.username = radacct.username AND radcheck.attribute='User-Password' WHERE radcheck.username = radlookupnas.user
LIMIT 1;
(sigh) This is obviously a custom query. Who wrote that? You're joining three tables (radcheck, radacct, radlookupnas. While possible, it means that as the radacct gets bigger the query will be slower. Does the person who wrote that understands the consequences? If yes, did that person setup the necessary measures to keep performance acceptable (e.g. using indexes)? If not, get a dba, have them fix it.
-------------------------------------
In radius.log I can see that a lot of the entrys are double ups, the same authentication request repeated a few times over 2 or 3 seconds:
AND the occasional Error like this:
No need to repeat this info over and over and over again. As previously noted, this is side effect to db being slow. It won't go away if you don't fix the db.
PHPmyadmin runtime info states that Select_full_join is 49 and that if this value is not 0, you should carefully check the indexes of your tables.
Good suggestion. Did you do it?
If the radius Mysql tables need to be indexed which ones?
That's why I repeatedly say get a dba. A dba will know what to do. If you insist on doing it yourself anyway, here's a hint: http://dev.mysql.com/doc/refman/5.1/en/using-explain.html Use that on whatever slow query you have to get an idea of why it's so slow.
radacct has 3500 records and is 1.1mb, radcheck has 9000 and is .5mb and aradacct has 27000 and is 8mb. Are either of these that big?
It's very small. I have systems with radacct as big as several million entries per month, with tens of GB data. And it works just fine. We have a certified MySQL DBA helping design the database structure and queries.
I output this mysqlreport and tried to find where issues are but it's
Here's another hint: don't expect phpmyadmin or mysqlreport to magically show you which option to change in order to get performance boost. So in summary: - use EXPLAIN - fix non-optimum indexes - fix server settings (hint: convert your tables to innodb, use reasonable innodb_buffer_pool_size) - if you have no idea what I'm talking about, get a dba -- Fajar
Thanks for the help Fajar, We wish to fix this in house so don't want to pay for a dba BUT we are not getting much closer to the issue though.... I have found that a lot of the tables are actually indexed I just didn't know where to look.
PHPmyadmin runtime info states that Select_full_join is 49 and that if this value is not 0, you should carefully check the indexes of your tables.
Good suggestion. Did you do it?
I had a look at PHPmyadmin runtime variables and it shows this in red highlight , as the tables are actually indexed I'm not sure why this is the case... Also in Red are these, I have adjusted some of the values but no joy: Innodb_buffer_pool_reads Opened_Tables Table_locks_waited Handler_read_rnd Handler_read_rnd_next
On Tue, Jun 7, 2011 at 2:38 PM, OzSpots - Carl Sawers <carl@ozspots.com.au> wrote:
Thanks for the help Fajar, We wish to fix this in house so don't want to pay for a dba BUT we are not getting much closer to the issue though....
... because you lack the skill of a DBA.
I have found that a lot of the tables are actually indexed I just didn't know where to look.
Did you read my first mail, where I said too many index can be harmful? Did you run "EXPLAIN ..." as shown in the link I sent in my last mail?
PHPmyadmin runtime info states that Select_full_join is 49 and that if this value is not 0, you should carefully check the indexes of your tables.
Good suggestion. Did you do it?
I had a look at PHPmyadmin runtime variables and it shows this in red highlight , as the tables are actually indexed I'm not sure why this is the case...
Also in Red are these, I have adjusted some of the values but no joy:
Did you read my last email, where I said "don't expect phpmyadmin or mysqlreport to magically show you which option to change in order to get performance boost."? Did you try the suggestions I put in the summary of my last mail? Honestly, for your case, at this point posting radius log or the output of phpmyadmin or mysqlreport is not useful anymore. -- Fajar
OzSpots - Carl Sawers wrote:
Thanks for the help Fajar, We wish to fix this in house so don't want to pay for a dba BUT we are not getting much closer to the issue though....
I have found that a lot of the tables are actually indexed I just didn't know where to look.
Ask on a MySQL list. You have customized the queries, such that they no longer work. This is not a problem for FreeRADIUS. This is a problem for a DBA, or for the MySQL list. Alan DeKok.
One of the servers I maintain has 18 qps average and the load is 0.62,0.54,0.63 (1min, 5min, 15min) Beside the database and radius, that server is used for hundred other things and it works perfectly (1GB of RAM, dual core CPU) The point is not how much queries per second do you have. You can have a 2 qps who can overload the server.. On 06/07/2011 05:54 AM, OzSpots - Carl Sawers wrote:
Thanks for the advice everyone! I have removed scripts which caused the VERY slow queries and have now had the slow query log on for a few days. It is still showing loads of entry's but http access performance is not noticeably slow(on occasion there is a small delay). The slow queries appear to be mostly coming from radacct and radcheck when a wireless user is trying to authenticate...
Phpadmin states that there have been 300000 queries in only 25 hours which is 3 per second. (there is 4 database's including an analytics database also which will be included in this) 20% of the queries are from the 'change db' query.
Hi, is there an option to turn just SQL Errors and warnings on, to be written to disk? We are running 300 to 1000 Auth Requests per second (plus about 2-3000 Acct) In some rare cases, FR seems to ignore the reply attributes, which are comming from the DB. In that cases, we give the user a clean reject. The Reply-Message reports 'no Ticket', which should be reported ony if there is currently no Ticket available. My opinion is, that not FR is ignoring attributes, but SQL is simply not delivering them ... from time to time, possibly by timeouts .... I assume, that FR would recognise it by reporting some timeouts or other errors/warnings, but to get them, I need the debug mode, which is too hard to get written to disk at that transaction rate. Our FR does MySQL redundant loadbalancing via 6 mysqld to a MySQL Cluster with memory tables only. Thanks. Stefan
participants (7)
-
Alan Buxey -
Alan DeKok -
Fajar A. Nugraha -
George Chelidze -
Marinko Tarlać -
OzSpots - Carl Sawers -
Stefan A.