RUN OUT SPACE (Root)


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory RUN OUT SPACE (Root)
# 1  
Old 08-16-2005
Error RUN OUT SPACE (Root)

Dear Buddies,
Plz Help me out ,,,,,, the Unix Servers i m working on ,,,Somes times run out of space in root ,,,due the generation of a file named STA ....which causes the system to crash ,,,,,

plz hlp me !!!!!!!!!!!!!!!!!!!!!!

how to find out the file ....generation causes ......


aamir
# 2  
Old 08-17-2005
When the file STA is being created/updated, use
Code:
fuser -fu

to check the pid that is writing to the file. Then use
Code:
ps -ef | grep the_pid_you_got

to get the command that is writing to the file.

Once you get that, find who or what is running this command and either stop it from being run or change the destination directory of this STA file that it writes to.
# 3  
Old 08-17-2005
Question STA file Generation

Dear Blowtorch,
Thanks for u reply, but the basic problem is that , u do not have enough time to check it , when the file generates it takes within few seconds and ur root runs out of space....which causes the server to crash.

regards
# 4  
Old 08-17-2005
Question

Dear Blowtorch,
Thanks for u reply, but the basic problem is that , u do not have enough time to check it , when the file generates it takes within few seconds and ur root runs out of space....which causes the server to crash.

regards
# 5  
Old 08-17-2005
If this happens the same time every day, the look at crontab entries that has that time or less (if it happens at 9:13 check for entries back to 8:30). If it happens at different times in the day, then after checking for crontab entries (for all users) for multiple runs, start your own cron job that outputs the processes running every minute - you should be able to catch the process that way (after rebooting the server and looking at your output).

Check with your application support - see if they know what this STA file is for.
Check with your OS support for the same.

Check that you don't have /tmp as part of your / partition. If possible, move it so you can keep your server up long enough to catch the process.

A way to 'fix' - create the STA file in / - set permission on it so no one can write to it OR set it as a link to /dev/null. Not really a 'fix', but will keep your server up.
# 6  
Old 08-19-2005
Lightbulb HIDE User Name 'n' password

hi ,


how can i hide the user name and password in a script during FTP

hlp me out !
# 7  
Old 08-19-2005
Please read our rules and note:
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly.


Please stop the same questions over and over. I don't know what you expect here. That file is not being created by a standard unix program. You apparently can't do anything to investigate the issue. You are not likely to get a satisfying answer.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to use space in /tmp to increase root?

Hello All, I have solaris server running, uname -a SunOS host 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-280R Filesystem Size Used Available Capacity Mounted on /dev/md/dsk/d0 9.8G 8.7G 1.0G 90% / /dev/dsk/c1t1d0s3 4.3G 7.7M 4.2G ... (17 Replies)
Discussion started by: gull05
17 Replies

2. Linux

Filesystem / (root) run ouf of space

Good evening, I've got a question, in our production system there is an application called Intermediate which ftp service is the core to to send back and forth from/to diferent destinations Gradually FS / was ruuning out space and we took a long time to figure out what precesses were eating up... (9 Replies)
Discussion started by: alexcol
9 Replies

3. Linux

How to increase root space from another partition?

Hi OS Experts I would like to increase root partition from another partition so that I can save more documents in Home and Desktop. whether it is possible without formating root partition if so please explain here is o/p of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda9... (8 Replies)
Discussion started by: Akshay Hegde
8 Replies

4. Shell Programming and Scripting

Need to run a bash script that logs on as a non-root user and runs script as root

So I have a script that runs as a non-root user, lets say the username is 'xymon' . This script needs to log on to a remote system as a non-root user also and call up a bash script that runs another bash script as root. in short: user xymon on system A needs to run a file as root user and have... (2 Replies)
Discussion started by: damang111
2 Replies

5. SCO

root out of space in sco 5

DEAR Team, I need some help in sco open server 5 while booting server beloow message giving server HTFS no space dev HD 1/42 Thanks Skb (4 Replies)
Discussion started by: sudhir69
4 Replies

6. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

7. UNIX for Dummies Questions & Answers

Creating space in root folder

Hi , I was wondering if anyone knows any great ways for creating space in your Root Folder. My root folder was created with only 247.7MB & I found out that its now full & I was initially wondering how important the "thumbnails Folder" was & if it was alright to delete their contenses as I noticed... (2 Replies)
Discussion started by: Browser
2 Replies

8. Shell Programming and Scripting

Disk space for root partition

Hello, I am trying to monitor disk space for each node on the machine. I am able to get all individual nodes but for the '/' node. For example: df -k: bash-2.05b# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/xxx 4127108 2415340 1502120 62% / /dev/yyy ... (3 Replies)
Discussion started by: chiru_h
3 Replies

9. UNIX for Advanced & Expert Users

Running out of Space (Root)

Hi, I m working on about 16 Unix Servers, Sometime a file is generated in the root names STA, which causes the root to run out of space within few seconds ,,, and the server crashes..... hlp me out to find why the file is generated , what does it contain 'n' what is the cause ! (0 Replies)
Discussion started by: scorpiyanz
0 Replies

10. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies
Login or Register to Ask a Question