Space Problem in Unix Server


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Space Problem in Unix Server
# 1  
Old 04-17-2012
Space Problem in Unix Server

Hi,

I am having space issues in unix server. The free space is getting reduced gradually in my server.

I gave the df -g /folder1 command to check the free space and it showed as 0.75 GB. I then deleted some files from the unix server and then checked the size of each dir using the du command.

After some time , I gave the df -g /folder1 command once again to check the free space and it showed as 0.25 GB. and then checked the size of each dir using the du command.

I compared both the outputs containing the dir size(the one taken previously just after deletion and the other later), the files were same.

No process was running in my server in the time between the comparision.

Ideally, the free space should have been increased after deletion of files but in this case the free space was reuced after some time.

I am clueless regarding this problem.

Please provide some suggestions.

Thanks.
# 2  
Old 04-17-2012
1. is /folder1 all user files or are there other system files there?
2. what UNIX and hardware are you running? Please show the output of
Code:
uname -a

# 3  
Old 04-17-2012
Assuming that /folder1 is a mountpoint (if so, it will have its own line in df -g), check whether any processes have files open on that filesystem:
Code:
fuser -uc /folder1

Then look up each process ID with ps -fp<process id> to find out what it is.

The symptoms you describe suggest that you have deleted files which are open by a process in which case the space will only be released when the process ends.

If /folder1 is not a mountpoint then you have a space problem with the parent mountpoint of /folder1.
Actully if might be easier to diagnose if you post the output from:
Code:
df -g /folder1

# 4  
Old 04-18-2012
Hi Jim,
/folder1 contains system files as well.

and following is the output from uname -a
Code:
Unix - AIX
Version - 5
Release - 3
Hardware -

(Just a blank space was returned for Hardware)
Thanks

---------- Post updated at 07:28 AM ---------- Previous update was at 07:21 AM ----------

Hi Methyl,

Thanks for the suggestions. I gave the command "fuser -uc /folder1" and I got a list of 3-4 process id's. I did check check those processes but nothing alarming there.

Following is the output from the command "df -g /folder1"

Code:
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/aplv00      174.00     19.26   89%     8524     1%   /folder1

Thanks

Last edited by methyl; 04-19-2012 at 06:23 AM.. Reason: please use code tags
# 5  
Old 04-18-2012
Currently you have 19.26 Gb free in /folder (which is a mount point).

Did you find any processes which had files open which you had deleted?
Did you reboot or stop a process?
Has a process finished which had temporary files open?
This User Gave Thanks to methyl For This Post:
# 6  
Old 04-19-2012
Hi Methyl,

Actually there was one process running that was created around the time we had the space problem. I killed that process and now more than 120GB free space is available.

Thanks a lot.
This User Gave Thanks to mick_000 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

2. Shell Programming and Scripting

Problem while Transferring files to UNIX server

Hi When I m transferring my file to UNIX server using filezilla , after every line in a file ^M is shown. Because of this ^M I cannot execute my file/scripts Why so ??? Any suggestions... (7 Replies)
Discussion started by: dashing201
7 Replies

3. Shell Programming and Scripting

display free space on a unix server

I need to display the amount space avalible on a unix server in an html webpage, which will automatically update every hour. I am able to do so using a javascript in a windows based server. How would i go about doing this in a unix server. Any help, suggestions, anything would be great. thanks. (3 Replies)
Discussion started by: davwel
3 Replies

4. UNIX for Dummies Questions & Answers

Unix -- Space problem -- File number limitation?

Dear all Recently I cant touch file in one mount point (which is not full, 78% full only), it says can't write to device, obviously it means it's full, I deleted some files and I can write some files only. I wonder is there any file number limitation in a mount point and how can I check or how... (2 Replies)
Discussion started by: shanemcmahon
2 Replies

5. UNIX for Dummies Questions & Answers

FTP problem on unix-server

hi there, i am a sap-programmer and i sent pdf-files via FTP from sap (on an iseries-machine) to a UNIX-server every day. i am doing it via MPUT *.pdf It works well until today. I got the ftp-message "Arguments too long"....i searched for it in the internet and here in the forum. it says... (9 Replies)
Discussion started by: smartin999
9 Replies

6. Filesystems, Disks and Memory

Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!!

Hello Moto I hope someone can help We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers.. a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies

7. SCO

Watchdog Problem In Unix Server

My Unix Server with SCO Unix ver 5, display Watchdog error which reads, Watchdog ReInitMemory 6 for board 0 Warning : eeE : Allocb failure in ReInitMemory. My server has 98 dumb terminals connected. It has 5 Hard Disks (SCSI) of 9.1 GB each and 512 MB RAM. Uses RAID level 5 After this error... (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies

8. UNIX for Dummies Questions & Answers

Unix Open Server 5.0.2 Instalation Problem

hi, I am unable to install unix open server 5.0.2 on desktop P-III,750 MHz,20GB HDD (IDE) 1.44 MB FDD, ATAPI IDE 48X cd rom. I prepared 5 boot floppies i.e. boot(N00), AHSBTLD(01), IPXSPX(01),NUC(01), NUC(02). The system was booted with boot(N00) floppy. After booting it asked to identify... (3 Replies)
Discussion started by: Manjit
3 Replies

9. UNIX for Dummies Questions & Answers

UNIX server problem

We have a site on our UNIX server which includes downloadable word and excel files. The word files are downloading files, and the excel files are trying to display in the browser instead of downloading properly. We have determined that this is not a browser issue....there is something that needs to... (1 Reply)
Discussion started by: rlwd
1 Replies
Login or Register to Ask a Question