LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Random "No space on device messages" (https://www.linuxquestions.org/questions/linux-newbie-8/random-no-space-on-device-messages-789142/)

smeezekitty 02-14-2010 11:06 PM

Random "No space on device messages"
 
Ocassionally i get a "No space on device" message on all open terminals
and in logs.
How do i make it go away.

jstephens84 02-15-2010 12:42 AM

Does it inform you of what device. What do you get when you type in
Code:

stat -f /
Also can you print how your filesystem is setup?

smeezekitty 02-15-2010 12:50 AM

Code:

[root@localhost(/)]stat -f /
File: "/"
ID: 0 Namelen: 64 Type: ext2/ext3
Blocks: Total: 193510 Free: 168520 Available: 158681 Size: 4096
Inodes: Total: 98496 Free:75816
[root@localhost(/)]df -h
Filesystem    Size Used Avail Use% Mounted on
/dev/hda6    756M 98M 620M 14% /
/dev/hda1    99M 9.2M 85M 10% /boot
/dev/hda8    79M 0 79M 0% /d
/dev/hda2    9.7G 33M 9.2G 1% /home
none          62M 0 62M 0% /dev/shm
/dev/hda5    756M 17M 701M 3% /tmp
/dev/hda3    4.0G 1.7G 2.1G 45% /usr
/dev/hda7    464M 46M 395M 11% /var
[root@localhost(/)]

----edit----
Code:

[root@localhost(/)]free
    total    used    free    shared    buffers    cached
    125992    92224    33768    0    7316    60240
-/+ buffers/cache    24668    101324
Swap      7992    2004    5998
[root@localhost(/)]


jstephens84 02-15-2010 12:55 AM

Quote:

Originally Posted by smeezekitty (Post 3863955)
Code:

[root@localhost(/)]stat -f /
File: "/"
ID: 0 Namelen: 64 Type: ext2/ext3
Blocks: Total: 193510 Free: 168520 Available: 158681 Size: 4096
Inodes: Total: 98496 Free:75816
[root@localhost(/)]df -h
Filesystem    Size Used Avail Use% Mounted on
/dev/hda6    756M 98M 620M 14% /
/dev/hda1    99M 9.2M 85M 10% /boot
/dev/hda8    79M 0 79M 0% /d
/dev/hda2    9.7G 33M 9.2G 1% /home
none          62M 0 62M 0% /dev/shm
/dev/hda5    756M 17M 701M 3% /tmp
/dev/hda3    4.0G 1.7G 2.1G 45% /usr
/dev/hda7    464M 46M 395M 11% /var
[root@localhost(/)]


Hmmmm..... Well I am at a loss for words here. Everything looks fine. The only thing I can think of is some large temp file gets written to /usr and brings the avaliable space to 0. Does this happen at random intervals by chance? Maybe like a cron command that gets fired off?

smeezekitty 02-15-2010 12:59 AM

Quote:

Hmmmm..... Well I am at a loss for words here. Everything looks fine. The only thing I can think of is some large temp file gets written to /usr and brings the avaliable space to 0. Does this happen at random intervals by chance? Maybe like a cron command that gets fired off?
It seems to do it about evrey 30 min but it doesnt seem perfectly timed.
BTW, Whats cron?

jstephens84 02-15-2010 01:03 AM

Quote:

Originally Posted by smeezekitty (Post 3863962)
It seems to do it about evrey 30 min but it doesnt seem perfectly timed.
BTW, Whats cron?

Sorry meant to say command in crontab. Which is like schedule tasks for linux and unix.

smeezekitty 02-15-2010 01:12 AM

Code:

crontab -l
0 0 * * 1 sysx.sh


smeezekitty 02-15-2010 03:48 PM

a bump lump.

jstephens84 02-15-2010 03:52 PM

Quote:

Originally Posted by smeezekitty (Post 3864849)
a bump lump.

can you what sysx.h is doing? When you this message pop up try doing a fdisk -l to see if you can see any drive with 0 available space.

smeezekitty 02-15-2010 05:19 PM

Code:

which sysx.sh
/usr/bin/sysx.sh
cat /usr/bin/sysx.sh
#/bin/bash
dd if=/dev/zero of=/usr/spec bs=1M count=32
exec /usr/bin/backup
rm /usr/spec



All times are GMT -5. The time now is 07:06 PM.