[Zope] errno[28] No Space Left on Device..HELP
saimun cheng
zope2004 at yahoo.com.sg
Thu Mar 18 03:06:33 EST 2004
Hi
Something strange is happening. I would like to get
the concept correct. I have mv the /var/tmp which was
100 % full to another path which i have mkdir (
"/home/madc/tmp"). After that I linked it back to
/var/tmp.
After that I uploaded a 100 MB file and then I did a
"df /var/*", I can see the usage % increasing, and
this is due to the INSERT/UPDATE/SELECT on TABLE A in
mysql ( residing in /var/lib/mysql ). While this is in
progress, I uploaded the same file on another PC ( BUT
this time before actually uploading, the dtml-method
should kick me back to the form, because I left a
field out intentionally).
However, after a long time, I get a "Not enough space"
error again, when the file HAS NOT even been uploaded
yet. ( Because I am not prompted the "Fill UP all
fields" comment). Why is this so? The first file is
still being processed into TABLE A.
[madc at localhost Extensions]$ df /var/*
Filesystem 1K-blocks Used Available
Use% Mounted on
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda7 1027768 271396 704164
28% /var
/dev/hda5 10618216 1172808 8906028
12% /home
This is the df at the point the error shows up.
1. Why the lack of space when there's still space as
shown above?
2. Why does the lack of space error shows up EVEN
before the file is being uploaded? What is the
process?
Thanks for hearing me out. I apreciate your comments.
BTW, I have done my google searches :)
--- Marc Lindahl <marc at bowery.com> wrote: > You can't
see the files with an ls...
>
> you need to expand your /tmp, or your /var. I just
> went thru this
> myself, in linux it's easy - spin up another disk,
> mount it temporarily
> and copy everything from var over, then mount it
> over var (perhaps you
> can first clean out your old var's tmp by deleting
> the whole dir and
> remaking it, and delete old files in spool and log).
>
> Your /var/log may be hogging - google for
> 'logrotate' :)
>
> On Monday, March 15, 2004, at 10:07 PM, saimun
> cheng wrote:
>
> > Hi You are right there's 100% usage in /var/tmp.
> >
> > This may be a linux administration issue. But do I
> > remove the 100% usage, as there are no files in
> > /var/tmp ! Where can I specify to clean it
> > periodically or increase the space for this
> /dev/hda7
> > mount point?
> >
> > Thanks and appreciated
> > Simon
> >
> > --- Chris McDonough <chrism at plope.com> wrote: >
> This
> > might be the size of your temporary file
> >> partition (/tmp or
> >> /usr/tmp or /var/tmp or whatever TEMP points to).
> >>
> >> On Mon, 2004-03-15 at 00:54, Andreas Jung wrote:
> >>> "df" is your friend -> "man df"
> >>>
> >>> -AJ
> >>>
> >>> --On Montag, 15. März 2004 10:42 Uhr +0800
> saimun
> >> cheng
> >>> <zope2004 at yahoo.com.sg> wrote:
> >>>
> >>>>
> >>>> Hi guys,
> >>>>
> >>>> I am running RH8.0 and LocalFS. When I was
> >> uploading a
> >>>> 120 MB file, I got the following message
> >>>>
> >>>> errno[28] No Space Left on Device
> >>>>
> >>>> I did a df and the HDD space is no problem. I
> >> did a
> >>>> lookup in google and got rather confused over
> >> what to
> >>>> do. My zope directory is in /home/madc/Zope/ .
> >>>>
> >>>> How can I solve this problem?
> >>>>
> >>>> Thanks
> >>>> Simon
> >>>>
> >>>>
> >>
> __________________________________________________
> >>>> Do You Yahoo!?
> >>>> Stand a chance to win a dream date, join the
> >> Dream Guy Contest!
> >>>> http://sg.yahoo.com/dreamguy
> >>>>
> >>>> _______________________________________________
> >>>> Zope maillist - Zope at zope.org
> >>>> http://mail.zope.org/mailman/listinfo/zope
> >>>> ** No cross posts or HTML encoding! **
> >>>> (Related lists -
> >>>>
> >>
> http://mail.zope.org/mailman/listinfo/zope-announce
> >>>> http://mail.zope.org/mailman/listinfo/zope-dev
> >> )
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Zope maillist - Zope at zope.org
> >>> http://mail.zope.org/mailman/listinfo/zope
> >>> ** No cross posts or HTML encoding! **
> >>> (Related lists -
> >>>
> >>
> http://mail.zope.org/mailman/listinfo/zope-announce
> >>> http://mail.zope.org/mailman/listinfo/zope-dev
> )
> >>
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Log on to Messenger with your mobile phone!
> > http://sg.messenger.yahoo.com
> >
> > _______________________________________________
> > Zope maillist - Zope at zope.org
> > http://mail.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> >
> http://mail.zope.org/mailman/listinfo/zope-announce
> > http://mail.zope.org/mailman/listinfo/zope-dev )
>
__________________________________________________
Do You Yahoo!?
Log on to Messenger with your mobile phone!
http://sg.messenger.yahoo.com
More information about the Zope
mailing list