disk space issue: proc

Hi everyone

They say when it doesn't rain, it pours. Well, in the middle of a development landscape refresh, one of my production application servers have suddenly gone bonkers.

Up untill a day or two ago all was fine. Then suddenly the proc directory started growing out of control. Inside are some really old files, 3- 4years and maybe more. However yesterdays one entry is over 200MB!

I have searched the archives and only got one similar post. The poor fella didn't get much help though.

The question is: how do I clean out the proc directory? A reinstall would be such a shame, my uptime on this E450 machine is 356 days.

Thanks in advance!

Derik Botha

[709 byte] By [ar155] at [2007-11-25 23:08:04]
# 1

It would be good to know what operating system you are using. With Solaris the proc directory contains files associated with running process, these files are created dynamically. Within the proc directory tree each subdirectory has a name, the same as current system PIDs. I would say that a complete re-install will not be nessasary, start some statistical analysis of the system and try and determine if there are zombie process on the system that are idle and filling up your virtual memory. Also it may be worth it to evaluate how much current swap space is on the system.

<b>EDIT</b> I forgot that you were unable to move threads Bill. If the user posts in the OS forum I'll continue the discussion there.

mlennon at 2007-7-5 17:58:58 > top of Java-index,Sun Hardware,Workstations - General Discussion...
# 2

I can no longer move postings, only merge, split or delete them.

Actually, this is an OS issue and is independant of the hardware platform.

A simple search of the SDN forums <a href="http&#58;&#47;&#47;onesearch.sun.com/search/onesearch/index.j sp?qt=%2Fproc&amp;subCat=siteforumid%3Asolaris271%2Csiteforumid%3Asolaris211 %2Csiteforumid%3Asolaris241%2Csiteforumid%3Asolaris226%2Csiteforumid%3Asolaris27 2&amp;site=dev&amp;dftab=siteforumid%3Asolaris271%2Csiteforumid%3Asolari s211%2Csiteforumid%3Asolaris241%2Csiteforumid%3Asolaris226%2Csiteforumid%3Asolar is272&amp;chooseCat=solarisall&amp;col=developer-forums" target="_blank"><u>for keyword <b>/proc</b></u></a> finds much to review on the subject.

Also, a <a href="http&#58;&#47;&#47;www.google.com/search?hl=en&amp;q=sola ris+%2B+%2Fproc&amp;btnG=Google+Search" target="_blank"><u>Google search on the subject</u></a> produces more than 1.5 million hits.

I'll let it stand in this Desktop Workstation forum.

Just don't let it get too involved.

Bill at 2007-7-5 17:58:58 > top of Java-index,Sun Hardware,Workstations - General Discussion...
# 3

It is time for a reboot. I believe that one of the baseline for security and maintenance is to have your servers shutdown and reboot once every 2 or 3 months. This is for security purpose and maintenance and also to make sure that your servers are all in good booting conditions in case you have a power outage. With scheduled shutdowns and reboots you will be prepared to fixed any problems that may arise unexpectedly and fixed them at a time when no one is using the server.

My one cent advice.

NdRosario at 2007-7-5 17:58:58 > top of Java-index,Sun Hardware,Workstations - General Discussion...