Recently my host's abuse people emailed me saying that a script on the system is using up too many resources. According to them, The script in question is my fatbomb .cgi file. I found it hard to believe, but I asked them anyway what I can do about it and they gave me these options:
1) Set it up in cron to run between midnight and 3am.
2) Nice the process to 19.
3) Debug the script to increase performace.
4) Don't use the script.
Number 4 is definitely out for me, so that leaves the other 3. Does anybody have any ideas on the other 3? #2 interested me in particular, but I haven't had a clue on how I would use it. Has anybody had any similar issues? Could my host be mistaken?
Thanks in advance.
>1) Set it up in cron to run between midnight and 3am.
This one won't work since you want it running all the time.
>2) Nice the process to 19.
This one lowers the priority and if another process is running on your server it will get more CPU resources. The admin folks have to set this up for you. This may work but it will cause the fatsearch to take longer to generate for spiders and surfers.
>3) Debug the script to increase performace.
Are you using any of your own databases? If so, that could be the bottleneck since searching those is probably using more CPU resources than accessing remote engines. You could try disabling any databases and do some fatsearches and have the admin people check the resources.