Solaris 10 /proc making filesystem full


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 /proc making filesystem full
# 15  
Old 06-08-2009
Um, rebooting and making "/proc going to normal again" is flawed reasoning and not sound advice technically. /proc appears to grow larger as your machine runs because it contains a representation of running applications memory (NOT DISK) space. So, rebooting makes /proc smaller because you're no longer running those applications. As soon as you start running applications again, /proc will grow as memory gets addressed. This is normal behavior!

>>> /proc has nothing whatsoever to do with disk space. <<<

Side note: don't reboot Unix machines arbitrarily, it makes Unix admins sad.
# 16  
Old 06-09-2009
Quote:
Originally Posted by Sara-sh
Thanks Bejo, that is a good point. However the quetion is, was there any disk space released as a result of the reboot, was there more space in / directory after the reboot?
Thanks again ...
Thanks again

After you reboot your machine /proc capacity wil be 0%.


Best Regards

BejoSmilie
# 17  
Old 06-10-2009
I am having the similar problem too. proc and dev have taken up huge amount of the space. Will a reboot clear dev too? Currently /home2, 3 and 4 are on different slices.


Code:
0	du.txt
0	home
0	net
0	vol
1	bin
1	cdrom
1	export
1	home10
1	home11
1	mnt
8	lost+found
9	home1
12	INFORMIXTMP
26	hdir
88	tmp
112	axinstall26
147	devices
207	boot
1511	sbin
4838	InstallShield
13565	system
31314	lib
31823	test0515
41856	kernel
63447	etc
255356	platform
2033773	opt
2048006	var
3366136	usr
4180789	opt2
12337612	home4
12798104	home2
17410368	home3
17452416	dev
20503084	proc

# 18  
Old 06-10-2009
I guess that I will try one more time... /proc is an illusion. It does not actually consume disk space.

If you create a new process with, say pid 1234 and it is using 300 MB of memory, /proc/1234 will magicly pop into existence and it will be 300 MB in size. But you did not lose any disk space. Not one byte.

Now, kill pid 1234 and /proc/1234 will vanish. But you won't get back even one byte of disk space. /proc/1234 is just a way to treat a process as if it was a data file. This makes stuff like debuggers very easy to write.

/dev, on the other hand, is probably a real problem. It is usually caused by someone doing something like:
tar cvf /dev/wrong-name-for-tape-drive /big/collection/of/files

Maybe:
find /dev -type f
will find it for you.
# 19  
Old 06-10-2009
Hola,
i have found the culprit leading to high root usage. /dev/rmt/0n has taken huge amount of disk space.

Things have went back to normal now! Thanks for your 'clue'. =)
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Filesystem Full

In our shop we have to run a batch cycle. Every so often while we are running batch we get a filesystem full situation that causes batch to stop or slow down. Anyway, the practiced procedure is to look for large files and zip them. This takes a lot of time. We are in a sun solaris environment. What... (1 Reply)
Discussion started by: Harleyrci
1 Replies

2. Linux

Tripwire Nightware on Linux (proc filesystem)

Hello, I am having a nightmare with Tripwire on Linux..... I cannot get it to ignore the /proc filesystem, which I want to completely ignore for now Has anyone here successfully configured Tripwire on Linux and completed ignored the /proc filesystem ? If so, please reply and tell me how... (0 Replies)
Discussion started by: Neo
0 Replies

3. UNIX for Dummies Questions & Answers

filesystem is full

Hello everybody, a very basic question. Inspite of me deleting huge files in a filesystem(AIX 5.3) in oracle folder, the filesystem when i check using df -k still shows 100% full. Does that mean there is a process still pointing to the files which i deleted. how do i work around this. Thanks!... (3 Replies)
Discussion started by: karthikosu
3 Replies

4. Red Hat

/ filesystem getting full

Hi All, How do I increase the root filesystem? It's getting full. / 90% Here's the break down, below 232 dev 5624 tmp *6764 bin 16860 root *19680 sbin *20436 lib64 28329 boot *47992 etc 150012 var *254540 lib 651708 home *2445044 usr (5 Replies)
Discussion started by: itik
5 Replies

5. UNIX for Dummies Questions & Answers

filesystem full

my root filesystem is eventually full "/dev/rdsk/c1d0s0" as a result i cannot boot to the operating system, i booted into the fail safe mode to check the space using df -h command i discover that it is eventually full. Also to my amazement i found that i cannot see the filesystem which mounted on... (1 Reply)
Discussion started by: seyiisq
1 Replies

6. Solaris

The filesystem is still full - Solaris 10!

Good morning, sir! I've a problem with FileSystem, the problem is FileSystem is full First time, I've already read carefully the sticky thread FileSystem full - What to lock for https://www.unix.com/sun-solaris/25840-filesystem-full-what-look.html And then, I will post some information of... (4 Replies)
Discussion started by: trantuananh24hg
4 Replies

7. Solaris

Making filesystem on presented lun

Hi, I am working on SunOS perlrate 5.10 Generic_127111-09 sun4v sparc SUNW,SPARC-Enterprise-T5120. The server has an LSISAS3801E HBA card installed and is connected to a StorageTek 2530 array. I have made a volume on arrary using Common Array Manager. I can see the volume on server: ... (2 Replies)
Discussion started by: seanban
2 Replies

8. Programming

Changing fname in /proc filesystem

I wrote a wrapper (call it prog1) around another program (call it prog2) for security purposes. When prog1 launches prog2 it sets the argv value to be "prog1" so that "prog2" does not show up when you use the "ps" command. Howerver, if you use the option "-o fname" with "ps" then the file name for... (3 Replies)
Discussion started by: wilbur
3 Replies

9. UNIX for Dummies Questions & Answers

Filesystem Full

I noticed that whenever something is printed from my workstation, the available disk space in the /dev/dsk/c0t0d0s0 decreases considerably. Hence, after using my workstation for sometime, I encounter an error message: "Filesystem Full" that prevents me from printing any further. Is there a way to... (16 Replies)
Discussion started by: ilak1008
16 Replies
Login or Register to Ask a Question