In article <NoSpam-55AB9D.10301821022005@news.isp.giganews.com>,
Levi Zander <NoSpam@ReplyToForum.com> wrote:
> Hi All!
>
> I have been running a spam filtering OpenBSD box for about a year and a
> half. It has worked flawlessly up until about a week ago. I'm hoping
> some of the OpenBSD masters on this list can help me. 
>
> About a week ago I noticed our email was starting to queue up on this
> box. To make a long story short anytime I try to write to the /var
> partition it takes FOREVER. The spam server was setup to zip up any
> mail it tagged as spam and save it to the /var partition. Well now
> there is about 350k zip files in there. Each about 2k in size.
>
> When I try to delete a single file from the /var partition it takes
> about 30 seconds. I thought maybe it was a hardware problem so I did a
> 'fsck /var' and that did not come back with any errors. Also the other
> partitions work perfect and they are all on the same physical disk.
>
> Someone gave me a suggestion to add softdep to the mount option. So I
> tried that but it didn't seem to have any affect.
>
> Anyone out there have any ideas on how to fix this? I'm thinking the
> partition might be corrupt. If this can't be fixed, is there a way to
> backup everything on /var (minus the 350k spam files) to another
> partition and then wipe/re-create /var and back it up? Any help would
> be MUCH appreciated.
>
> Thanks!
I think I have fixed my problem. I backed-up the /var partition to
/usr, then formated /var and copied everything back. Seems to be
working fine as of right now.