All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by okli » Sat Mar 28, 2009 6:23 am
Last time I checked it had over 4 mill. records, causing severe lock-ups of the MySQL queries to it.
Is the table used for any reports? Can it be safely truncated on nightly/ weekly basis? Maybe include that in AST_DB_optimize.pl?
Using 2.0.5 SVN version maybe 2 months old and am afraid to update since it's working perfectly.
-
okli
-
- Posts: 671
- Joined: Mon Oct 01, 2007 5:09 pm
by mflorell » Sat Mar 28, 2009 9:33 am
If you had followed the installation instructions this table should be cleared every hour.
There is a crontab entry that does this:
### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q
-
mflorell
- Site Admin
-
- Posts: 18406
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by okli » Sat Mar 28, 2009 11:39 am
Guilty.
Had it only on first server, on the second one it was commented out, most likely when migrated to multi-server setup.
Must also have missed the grep result for that file, done before posting here.
Thanks.
-
okli
-
- Posts: 671
- Joined: Mon Oct 01, 2007 5:09 pm
Return to Support
Who is online
Users browsing this forum: Bing [Bot] and 78 guests