Home
TeamSite
Disk Space Clean Up
moto_ts_admin
Hey Team,
6.5 Solaris - Getting low on disk space on the iw-home volume (95%). Also the backing store volume is at 85% full. I have adjusted my iw.cfg settings to allow the server to run until it gets down to something like 1%, however I am looking for some general strategies for reducing disk space usage.
For instance, log files for TS amd OD, can we get rid of old ones? Just stop the servcies and delete the current log and it will recreate a new (empty) one?
How about the "/iwov/iwinstall/" directory? Do we need it?
Any suggestions (short of buying a new server or HD space) would be appreciated.
Thanks,
Wes
Find more posts tagged with
Comments
dazzlad
Don't delete the install directory!
Have you cleared you logfiles?
are you using a db for your event subsytem?
nipper
Buy more disk.
You certainly should rotate logs. At the other TS implementations within your company I did that. There is a script floating around to do that, search devnet. Some of the logs (iwtrace iwserver I think) require TS to be shut down others can be done on the fly. I usually just zero them out,
cat > iwserver.log
then control D (in Unix)
Also search to see if you have other logs or txt files hanging out, usually from Workflows.
find $IW-HOME -name "*.log" -mtime +30 -print
will show you all log files that have been modified more than 30 days.
you may do something like this (if you store WF logs in iw-home/tmp)
find $IW-HOME/tmp -name "*.log" -mtime +30 -exec rm {} \;
Placed in cron, it will remove all logs under that iw-home/tmp dir with a modify date > 30 days.
You can delete iwuninstall if you do not plan to uninstall it. Bad idea, but you can.
HTH
Andy
skip11
HI,
Also if you do not use a custom DB (like oracle) for reporting, then the IWHOME/report/db/server.db
(iwevents) can get quite large. There is an excellent KB article on how to truncate this file, and the
procedure even works with sudo. Careful here if you actually use the data for reporting.
The real sensible thing to do is to move teamsite logging and OD logging out of IWHOME - say to
/var/log/iw and /var/log/iw/iwui, then manage it with cron based scripts. There are other candidates
for moving to /var/log; CSF is one of them.
Other than that if you have IWHOME on a VXFS, buy another disk and grow the filesystem
regards,
R.Barger
Credit Suisse Group
Zurich, Switzerland
jed
In addition to the "cat" trick, you can also do the following:
cp /dev/null /your/file/to/null
--
Jed Michnowicz
jedm@sun.com
Content Management Engineering
Sun Microsystems
amitjain
If you using 6.5, then I am sure its the same known Bug in 6.5 which increaeses the log files of DB event system.
as far as I know theres no solution to it till now except of truncating the file to Null
And then you can disable the DB event subsystem if you not using it for any real reasons. This is what we did when we faced this issue.
Hope this helps.
Amit.
Gregg Faus
I ran "iwfsshrink" for the first time in years and I gained almost 8 GB of space!
Either I'm a bad Interwoven sys admin or the text in the manual about running this command quarterly wasn't
bolded
jed
Your post inspired me to do the same. So far I have freed up over 50 gigs of space! Our backing store is 1/2 the size and after 4 days it is still running
--
Jed Michnowicz
jedm@sun.com
Content Management Engineering
Sun Microsystems
Gregg Faus
Excellent. Come on people. Join the revolution! Tell us your savings.
I know my backup admin is probably happier as is yours.
Jeremy
I also ran it on our Dev server - first time in about 8 months but only got back about 3% - so only about 2.5Gb.
But still better than nothing!
Then I checked our QA and Prod servers and it seems its never been run on them! So it'll be up to the server admin guys (you know how it is at big companies where you can't reboot etc yourself!) to run this...I have a feeling it might take a while!
Adam Stoller
I ran it on a number of stores of various sizes and age, over the last few days, and got the following:
Original size (K)
Reduced size (K)
Difference (K)
%
6119988
5858065
261923
4%
521385
473690
47695
9%
14591162
10231881
4359281
30%
16022273
11010209
5012064
31%
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com