coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: csplit reports No space left on device


From: Michael Cook
Subject: Re: csplit reports No space left on device
Date: Thu, 18 Aug 2022 13:51:35 -0400

The relevant failure is here:

openat(AT_FDCWD, "zz_000017876563", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1
ENOSPC (No space left on device)

The failed syscalls regarding LC_MESSAGES are when the code is trying to
generate an error message regarding the failed openat call. They aren't the
cause of the actual problem you're investigating.

On Thu, Aug 18, 2022 at 1:17 PM Rodolfo Aramayo via GNU coreutils General
Discussion <coreutils@gnu.org> wrote:

> Note that the first strace error log says:
>
> openat(AT_FDCWD, "/usr/share/locale/C.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY)
> = -1 ENOENT (No such file or directory)
>
> In Ubuntu the directory:
>
> /usr/share/locale/C.UTF-8/LC_MESSAGES/
>
> does not exist. Instead, I can see a:
>
>  /usr/share/locale/C/LC_MESSAGES/
>
> Also, when I run the command:
>
> locale -a
>
> I get:
> C
> C.UTF-8
> POSIX
> en_US.utf8
>
> so C.UTF-8 is there
>
> Finally, the file 'libc.mo' does not seem to be present in the system
>
> Thanks
>
> Rodolfo
>
>
>
> On Thu, Aug 18, 2022 at 11:41 AM Pádraig Brady <P@draigbrady.com> wrote:
>
> > On 18/08/2022 16: 17, Rodolfo Aramayo wrote: > All right, this is what I
> > did: > > First, I am running: > > Distributor ID: Ubuntu > Description:
> > Ubuntu 20. 04. 4 LTS > Release: 20. 04 > Codename: focal > > Second,
> > ZjQcmQRYFpfptBannerStart
> > This Message Is From an External Sender
> > This message came from outside your organization.
> >
> > ZjQcmQRYFpfptBannerEnd
> >
> > On 18/08/2022 16:17, Rodolfo Aramayo wrote:
> > > All right, this is what I did:
> > >
> > > First, I am running:
> > >
> > > Distributor ID: Ubuntu
> > > Description: Ubuntu 20.04.4 LTS
> > > Release: 20.04
> > > Codename: focal
> > >
> > > Second, I have:
> > > Size  Used Avail Use% Mounted on
> > > 58G   11G   48G  19% /
> > > 9.7T  4.7T  4.6T  51% /media/volume/sdb
> > >
> > > Third, I have re-run the process using the following command:
> > > strace -o zzSTRACE_Error.log csplit --keep-files --quiet
> --elide-empty-files --digits=12 --prefix=zz_ uniref50.xml /"<entry id="/ {*}
> > >
> > > Fourth, the file I am trying to split (uniref50.xml ) is 201G in size
> > >
> > > Fifth, the resulting directory, after the job failed, is 162G in size
> > >
> > > Sixth, the name of the last file written before Exit 1 was :
> zz_000017876562
> > >
> > > Last, the tail of the zzSTRACE_Error.log is printed below (the log is
> 8GB in size...)
> >
> > You didn't say what the file system type was (df -T).
> > This would mainly help us minimize the possible issues
> > (consider limits, quotas etc.).
> >
> > You didn't say whether you could create any more files in the directory
> > after the csplit run.
> >
> > open() is returning ENOSPC, which at first glance seems like
> > you might be running out of inodes.
> >
> > cheers,
> > Pádraig
> >
> >
>
> --
> Dr. Rodolfo Aramayo, PhD
> Faculty of Biology and Genetics
> Department of Biology, Texas A&M University
> PeerJ
> PeerJ - the Journal of Life & Environmental Sciences
> <https://peerj.com/> Academic
> Editor peerj.com/RodolfoAramayo
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]