I'm using STM tracker and whenever I get a burst of clicks sometimes I check the link for myself and get the following error:
Warning: mysql_query(): Unable to save result set in /home/username/public_html/trackingdomain.com/public/tracking202/redirect/tracker.php on line 317
SELECT COUNT(*) FROM 202_summary_overview WHERE user_id='1' AND aff_campaign_id='35' AND ppc_account_id='27' AND click_time='1387792800'
Out of resources when opening file './STMTracker/202_summary_overview#P#p66.MYD' (Errcode: 24)
Anyone solved something like this before?
Have you tried repairing the table with phpmyadmin for example?
Here are more details
http://textpattern.com/faq/36/warnin...ave-result-set
And here is the mysql info http://dev.mysql.com/doc/refman/5.1/...air-table.html --> mysql 5.1
Of course, before doing anything I recommend that you do a backup.
Hope that helps.
Yep , basically you need a better server 
If a table is really corrupted.
Well actually I supposed he ran already a repair after your reply.
And anyway , looking better into it might also be an issue with maximum number of files that the OS allows.
So you would need to increase the file open limit here /etc/security/limits.conf .
For a better idea read the link below or just submit a ticket to your host and they will increase it.
http://stackoverflow.com/questions/5...on-ubuntu-8-04
Yep, I'd definitely recommend talking to your hosts on this one. There could be a number of explanations, and they're in the best place to advise you further.
EDIT***
Found a fix for this
Edit /etc/security/limits.conf
add
mysql soft nofile 24000
mysql hard nofile 32000
at the bottom
then
Edit /etc/my.cnf
Add
open_files_limit=20000
restart mysql
Then type ... mysqladmin var | grep open_files_limit
see if it shows 20000
So far no issues...