LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-01-2003, 02:07 PM   #1
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
Unhappy Session lasted less than 10 seconds. Your HDD maybe full


Hi,

When I try and login to my computer using a normal user i get a message about the session having lasted less than 10 seconds and that my HDD may be full. I have checked and it seems that / is full. I have no idea why. Any body have any idea how I can find what has eaten my / partition (i have separate partitions for /var /home etc etc)?

Thanks

Paul
 
Old 09-01-2003, 02:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What size is the partition? What does the output of this show:
cd /
du -hs `ls`
df -h
 
Old 09-01-2003, 02:26 PM   #3
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Original Poster
Rep: Reputation: 30
Here is the info you requested:

Code:
# du -hs `ls`
6.7M    bin
9.6M    boot
338K    dev
9.7M    etc
419M    home
1.0K    initrd
75M     lib
12K     lost+found
1.0K    misc
3.0K    mnt
1.0K    opt
du: `proc/28607/fd/3': No such file or directory
129M    proc
6.5M    root
12M     sbin
370M    tmp
939M    usr
65M     var
Code:
# df -h
Filesystem            Size     Used   Avail  Use%  Mounted on
/dev/hda5            494M   487M     0     100%  /
/dev/hda1            99M     14M    80M     15%  /boot
/dev/hda3            7.1G    451M  6.2G      7%  /home
none                    62M        0      61M      0%  /dev/shm
/dev/hda2            19G     971M  17G       6%  /usr
/dev/hda6            1004M   81M  871M    9%  /var
 
Old 09-01-2003, 02:36 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
you have a very small / partition and tmp is using up most of the free space:
370M tmp

tmp files should be safe to delete so try this then reboot:
rm -rf /tmp/*
 
Old 09-01-2003, 02:46 PM   #5
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Original Poster
Rep: Reputation: 30
I used what RH8 recommended for my 30GB HDD. I will try removing the tmp files. I think i know why this is. I store my ISO files that are used to backup my files onto CD
 
Old 09-02-2003, 12:07 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Maybe you should create a seperate directory for doing your own temp opperations like:
/usr/local/tmp
 
Old 09-02-2003, 07:48 PM   #7
r00tnuke
Member
 
Registered: Aug 2003
Location: /earth/usa/texas/houston
Distribution: Fedora C2
Posts: 64

Rep: Reputation: 15
You may also consider checking your /etc/cron.daily/tmpwatch and edit to shorten the scan time to clean files out of your /tmp or whatever directory.

In my tmpwatch cron it's a 3 digit number that is a mult of 24 (hours). If you wanted it to check every 2 day's as opposed to 7 day's you would reduce it from 168 to 48

Just an automated idea to keep temp clean.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Your session only lasted less than 10 seconds... rsamurti Slackware - Installation 13 10-13-2011 02:24 AM
Your session only lasted for less than 10 seconds Raafi Linux - Newbie 5 04-17-2005 04:56 PM
Oracle 10g and Fedora 2.0 "Session lasted lesst than 10 seconds" ushradha Linux - Software 6 11-19-2004 10:04 PM
Your session lasted for < 10 seconds ... rsamurti Slackware 4 06-27-2004 08:24 AM
"Your session only lasted 10 seconds...." underling Linux - Software 9 09-18-2003 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration