OS X 10.5 tmp folder/partition full?

I just deleted a weekly email backup which is about 130GB into trash. I noticed there is an error message on the email server (OS X 10.5) saying connect(/var/imap/socket/lmtp) failed: connection refused.

Could this be due to the tmp or swap partition being full?

How do I check if the swap partition is full?

I know this is OS X but posting to Linux as the problem may be similiar in Linux.

Thanks.
Joo
artradisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ygouthamCommented:
you can run the terminal from applications -> utilities

run the command

df -h

that should give you a clear breakup (remove the -h flag if you want to view the report in bytes)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
artradisAuthor Commented:
hi, the server HDD is 1TB and has abt 450GB free disk space. When I copy a 92GB file, it shows a malloc error. So I am suspecting the swap partition or virtual memory may be full. This is a 6GB ram server and it only runs email and IMAP with about 100 connectons.

How do I check virtual memory settings and health? Thanks.
0
ygouthamCommented:
you can run a command again from terminal

top

this shows the total memory in the system and the swap memory used would be there on the top left hand side somewhere
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

artradisAuthor Commented:
The error will only come up when I copy the 92GB archive file. If I copy using GUI (drag and drop) it just hangs. When I use command line "cp -p mailbackup*.zip /volumes/backup" it will give the error message:

*** malloc[246]: Deallocation of a pointer not malloced: 0xffffffff; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug

I am hesitant to repeat the experiment in mid week, maybe on weekends.

but is there a malloc setting I can use to increase the Virtual Memory etc? Thanks.
0
ygouthamCommented:
it seems to be more an issue of a sector on the hard disk being corrupt.  probably a good thing would be to run

fsck

or the equivalent.  me no expert on os X, but that is how you do it in linux.  mac os X is mostly debian spruced up a bit.
0
ygouthamCommented:
file copy is more a function of network or IO than being virtual memory as nothing hits the memory on a copy / paste function call.  it is only a series of hard disk blocks getting assigned to a file (in case the file is big) or a standard chunk getting assigned to a file (when the file is small).

so more a case of the journal / super block which handles the hard disk having duplicate node numbers or some such thing which is blocking the file copy
0
ygouthamCommented:
the case can also be that the source file is corrupt than the target space.  have you verified that the 92 gig file is integral???  probably that is the partition which needs to be fsck-ed than the target space
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.