menu
#4774613 fwrite(): write of 8192 bytes failed with errno=28 No space left on device

Submitted by PocketMine-MP 3.17.4

General information

Version: 3.17.4
Git commit: 2e9117d1
Plugin involvement: None
Report date: 2021-02-22 22:51:49 +0000 UTC
Server uptime: 0 days 10 hours 3 minutes 28 seconds

System Information

PHP version: 7.4.15
Operating system: linux
System banner: Linux 12fddcc0-3b60-4a3a-8e3c-a83ebb1c8c93 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64

Error information

Message: fwrite(): write of 8192 bytes failed with errno=28 No space left on device
File: pmsrc/src/pocketmine/level/format/io/region/RegionLoader
Line: #235
Error level: ErrorException
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245

/* if no gaps big enough were found, append to the end of the file instead */
if($newLocation === null){
$newLocation = new RegionLocationTableEntry($this->nextSector, $newSize, time());
$this->bumpNextFreeSector($newLocation);
}

/* write the chunk data into the chosen location */
fseek($this->filePointer, $newLocation->getFirstSector() << 12);
fwrite($this->filePointer, str_pad((\pack("N", $length)) . chr(self::COMPRESSION_ZLIB) . $chunkData, $newSize << 12, "\x00", STR_PAD_RIGHT));

/*
* update the file header - we do this after writing the main data, so that if a failure occurs while writing,
* the header will still point to the old (intact) copy of the chunk, instead of a potentially broken new
* version of the file (e.g. partially written).
*/
$oldLocation = $this->locationTable[$index];
$this->locationTable[$index] = $newLocation;
$this->writeLocationIndex($index);

#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[74] fwrite(): write of 8192 bytes failed with errno=28 No space left on device, string[96] phar:///home/container/PocketMine-MP.phar/src/pocketmine/level/format/io/region/, integer 235, array[7])
#1 pmsrc/src/pocketmine/level/format/io/region/RegionLoader(235): fwrite(resource Resource id #11874, string[8192] ... .x..\kl..}....#.x.(..d..-.rI..#E+.B..e6.-..+C5.%o)^u.c...%EE..b.E..!...IQ...)
#2 pmsrc/src/pocketmine/level/format/io/region/McRegion(416): pocketmine\level\format\io\region\RegionLoader->writeChunk(integer 11, integer 2, string[5407] x..\kl..}....#.x.(..d..-.rI..#E+.B..e6.-..+C5.%o)^u.c...%EE..b.E..!...IQ.......-)
#3 pmsrc/src/pocketmine/level/format/io/BaseLevelProvider(186): pocketmine\level\format\io\region\McRegion->writeChunk(object pocketmine\level\format\Chunk)
#4 pmsrc/src/pocketmine/level/Level(1187): pocketmine\level\format\io\BaseLevelProvider->saveChunk(object pocketmine\level\format\Chunk)
#5 pmsrc/src/pocketmine/level/Level(1171): pocketmine\level\Level->saveChunks()
#6 pmsrc/src/pocketmine/Server(2290): pocketmine\level\Level->save(boolean )
#7 pmsrc/src/pocketmine/Server(2420): pocketmine\Server->doAutoSave()
#8 pmsrc/src/pocketmine/Server(2153): pocketmine\Server->tick()
#9 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor()
#10 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start()
#11 pmsrc/src/pocketmine/PocketMine(286): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#12 pmsrc/src/pocketmine/PocketMine(316): pocketmine\server()
#13 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show