Skip to content

No space left on device error #12

@winni2k

Description

@winni2k

When I run cosmo-build:

./cosmo-build input.ctx -m 10000 -o output.cosmo -k 47

I get this output culminating in an error message:

cosmo-build compiled with supported colors=128
[STXXL-MSG] STXXL v1.4.99 (prerelease/Release) (git 0a80a8c55993948f7f2f6c2c5a51ff45b403045b) + gnu parallel(20170814)
[STXXL-ERRMSG] Warning: no config file found.
[STXXL-ERRMSG] Using default disk configuration.
[STXXL-MSG] Disk '/var/tmp/stxxl' is allocated, space: 1000 MiB, I/O implementation: syscall delete_on_exit queue=0 devid=0
input.ctx looks like a raw file.Reading input and creating runs...[STXXL-ERRMSG] External memory block allocation error: 2621440000 bytes requested, 1048576000 bytes free. Trying to extend the external memory space...
[STXXL-ERRMSG] External memory block allocation error: 2621440000 bytes requested, 1048576000 bytes free. Trying to extend the external memory space...
[STXXL-ERRMSG] External memory block allocation error: 2621440000 bytes requested, 1048576000 bytes free. Trying to extend the external memory space...
[STXXL-ERRMSG] External memory block allocation error: 2621440000 bytes requested, 1048576000 bytes free. Trying to extend the external memory space...
[STXXL-ERRMSG] External memory block allocation error: 2621440000 bytes requested, 1048576000 bytes free. Trying to extend the external memory space...
[STXXL-ERRMSG] External memory block allocation error: 2621440000 bytes requested, 1048576000 bytes free. Trying to extend the external memory space...
Building from 620016348 edges...Merging runs...[STXXL-ERRMSG] External memory block allocation error: 2057306112 bytes requested, 1048576000 bytes free. Trying to extend the external memory space...
[STXXL-ERRMSG] External memory block allocation error: 2057306112 bytes requested, 1048576000 bytes free. Trying to extend the external memory space...
[STXXL-ERRMSG] External memory block allocation error: 9921626112 bytes requested, 1048576000 bytes free. Trying to extend the external memory space...
Materializing table B...terminate called after throwing an instance of 'stxxl::io_error'
what(): Error in virtual void stxxl::syscall_file::serve(void*, stxxl::file::offset_type, stxxl::file::size_type, stxxl::request_interface::request_type) : this=0x1820a80 call=::write(fd,buffer,bytes) path=/var/tmp/stxxl fd=5 offset=23873978368 buffer=0x2b01e03cd000 bytes=2097152 type=WRITE rc=-1 : No space left on device: iostream error: iostream error

I have a TB left on my device, so I'm pretty sure that's not the problem. Maybe /var/tmp is getting full. How can I change the temporary directory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions