Linux shell script .sh file consumes high memory
Hi Friends
I am having a php script which is used for bulk mailing. I run the script every minute through cron job.
I have mentioned the path of the php script in a .sh file and execute the .sh file through cron job.
Every time i run the script it utilizes high memory which results to server crash.
Please advice how to restrict memory usage for that process to be a minimum one or how to set priority to be low for that process so that it is executed when there is no high priority jobs, so that the server runs normally without going down when the script runs
Thanks
Siva.D
|