|
Jul 5th, 2008 at 2:39pm
I recommend you engage this ONLY if your are skilled in linux VI EDITOR. If you do not have a linux background or even understand the fundamentals of linux, I suggest your find someone who DOES understand the below prior to engaging. Engaging this without an understanding, could cause significant outage and is NOT recommended. Proceed at your own risk. Some background:
slocate.cron is default (scheduled) maintainence job that runs on your RHEL3 platforms at the same time every day. It runs on each RHEL3 box at 4:02am every day. The job causes the protocol processor to become too busy to process information in a timely manner....thus causing outage. My only concern thus far is you said it DID NOT affect one inroute. However, it doesnt hurt to suspend slocate.cron and see if it resolves your problem. Slocates function is to generate a database which accelerates the file search process when using either the slocate or the locate command.
Stopping this daily cron job results in not being able to take advantage of searching for files using these commands...which under most circumstances we (as HNOS) do not use this funtion/feature.
The file is located under under /etc/cron.daily. The filename is slocate.cron and contains the following: #!/bin/sh renice +19 -p $$ >/dev/null 2>&1 /usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e "/tmp,/var/tmp,/usr/tmp,/afs,/net"
Edit the file from what is shown above to:
#!/bin/sh renice +19 -p $$ >/dev/null 2>&1 /usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e "/"
You must edit all of your RHEL3 boxes. Protocol Processor Blades and the NMS server(s. You do not have to restart the cron daemon. Also, Do NOT keep a copy of the original (or altered file) under the /etc/cron.daily directory.
All files under the directory are executed daily at designated time (4:02AM) including the saved copy.
|