12-15-2015 09:54 AM - edited 03-12-2019 05:50 AM
Hi,
I am running two 3500 DC appliances in a high availability pair on DC version 5.4.1.2 and find that most tasks on the GUI, including just logging in, opening dashboards, editing policies, and especially applying policies, seems painfully slow. Depending on what I'm pulling up, it can take 45+ seconds to open any page, and sometimes 3+ minutes to open a policy. Could be just me being picky, but is this the kind of performance that others see? I find myself not wanting to open pages because of the unresponsiveness.
I recently tried trimming down some of my database data limits to see if that would help and it did not. I ran the DBCheck.pl script from the CLI, and this resulted in a good number of db warnings, but no errors.
Any ideas of things I can look at to optimize performance?
Your thoughts are appreciated.
Solved! Go to Solution.
12-22-2015 09:51 AM
Hi,
No we have a for loop script which repairs all the tables.And apart from that there is also a script for optimization of tables . Moreover , you can also check the number of connection events on your defense center and check in data sheet the maximum number of conns supported.
I would definitely suggest you to open up a TAC case so that they can provide you with scripts accordingly.
Regards,
Aastha Bhardwaj
Rate if that helps!!!
12-15-2015 09:59 AM
I failed to mention above - my CPUs on the DCs seem to run consistently at ~70%, and memory at about 40%, so there doesn't seem to be a hardware performance overload.
12-15-2015 05:57 PM
Hi,
Can you run DBCheck.pl on the cli of the defense center and see if there are any corruptions in the database . You can run the command by ssh on the defense center and then escalate the privilege to root by command : sudo su
Regards,
Aastha Bhardwaj
Rate if it helps!!!
12-16-2015 06:02 AM
Yes - I did run the DBCheck.pl script while investigating the issue. It didn't come up with any errors, buy it report around 290 "warnings" similar to "[WARNING][missing referential data]column [current_user_ip_map.id]" and some other info. I'm not sure if that constitutes a need for a repair or if warnings in the db are normal.
12-16-2015 07:14 AM
Hi,
Try to run the below:
>Ssh on the defense center.
>Escalate the privilege to root:
Sudo su
>Enter password
repair_users.pl –r
repair_users.pl –e
Then check DBCheck.pl and see if that makes a difference. Now generally we ignore warnings but 290 is huge , we might need to do slow repair on the DB.
Regards,
Aastha Bhardwaj
Rate if that helps!!!
12-16-2015 08:42 AM
Aastha, thanks for your quick response.
I ran the repair_users.pl script, this ran successfully but did not identify any needed fixes.
I ran the DBCheck.pl script a second time, and it came out with the same set of warnings - I was off, there are about 390, not 290.
Also, if it's useful, here's the full list of types of warnings it's listing (I cleared out generic identifier text):
If I do need to run a repair on the db, will this take down my Defense Center while it's running?
12-17-2015 09:25 AM
Hi,
I would suggest you to open up a TAC case. When we do a slow repair it will repair the complete database. you should still be able to access the DC.
But slow repair takes time depending on the database size it might even take 2-3 hrs.
Regards,
Aastha Bhardwaj
Rate if that helps!!!
12-21-2015 02:27 PM
Are you referring to doing the slow repair with the /var/sf/bin/repair_table.pl script? That script only allows me to repair a single table at a time, and plugging in what I see as tables from my error messages doesn't work - so, running "repair_table.pl -s rna_client_app" or "repair_table.pl -s current_user_ip_map" returns an error that says that InnoDB is not supported with this repair script.
12-22-2015 09:51 AM
Hi,
No we have a for loop script which repairs all the tables.And apart from that there is also a script for optimization of tables . Moreover , you can also check the number of connection events on your defense center and check in data sheet the maximum number of conns supported.
I would definitely suggest you to open up a TAC case so that they can provide you with scripts accordingly.
Regards,
Aastha Bhardwaj
Rate if that helps!!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide