strange issue: command mail hung and slow down the server

Hi all,

I just built a new FreeBSD web server, running FreeBSD 9.1 and using ZFS (root also on ZFS). I got an issue that is very strange. Every time I run the mail command to check system mails, the command will hang for a long time (almost an hour). And there is no output except

Code:
# mail
mail: /tmp
#

And before this command finishes, my server disk IO is almost 100%, and server is pretty slow.

Can anyone help with this issue?

And when the server is booted, there are also two error messages:

Code:
www sm-mta[3305]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon IPv6: can't create server SMTP socket:
 Protocol not supported
www  sm-mta[3305]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon IPv6: optional socket disabled
 
They should be 1777.

Code:
dice@molly:~> ls -ld /tmp/
drwxrwxrwt  16 root  wheel  880 Mar 26 08:54 /tmp/
 
This issue has been fixed. The root cause is that the mailbox is about 600M. After deleting this mailbox, the server is back to normal
 
Back
Top