menu
#3553338 file_put_contents(): failed to open stream: Too many open files in system

Submitted by PocketMine-MP 3.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: None
Report date: 2020-01-14 16:54:41 +0000 UTC

System Information

PHP version: 7.3.12
Operating system: mac
System banner: Darwin Anfield.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

Error information

Message: file_put_contents(): failed to open stream: Too many open files in system
File: src/pocketmine/level/format/io/BaseLevelProvider
Line: #158
Error level: ErrorException
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
	public function getLevelData() : CompoundTag{
return $this->levelData;
}

public function saveLevelData(){
$nbt = new BigEndianNBTStream();
$buffer = $nbt->writeCompressed(new CompoundTag("", [
$this->levelData
]));
file_put_contents($this->getPath() . "level.dat", $buffer);
}

/**
* @param int $chunkX
* @param int $chunkZ
*
* @return Chunk|null
* @throws CorruptedChunkException
* @throws UnsupportedChunkFormatException
*/
#0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[150] file_put_contents(/Users/kdawkins/LocalProjects/MineCraftPE/Ginger-Craft/worlds/, string[133] phar:///Users/kdawkins/LocalProjects/MineCraftPE/Ginger-Craft/PocketMine-MP.phar, integer 158, array[2])
#1 src/pocketmine/level/format/io/BaseLevelProvider(158): file_put_contents(string[77] /Users/kdawkins/LocalProjects/MineCraftPE/Ginger-Craft/worlds/world/level.dat, string[246] ..........M.AN.0.D'M(.+$..M.......e.U..U....%l9.[..!`.)..B..{......(JJ.A.S4....t)
#2 src/pocketmine/level/Level(1157): pocketmine\level\format\io\BaseLevelProvider->saveLevelData()
#3 src/pocketmine/Server(2464): pocketmine\level\Level->save(boolean )
#4 src/pocketmine/Server(2597): pocketmine\Server->doAutoSave()
#5 src/pocketmine/Server(2343): pocketmine\Server->tick()
#6 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1785): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[55] /Users/kdawkins/LocalProjects/MineCraftPE/Ginger-Craft/, string[63] /Users/kdawkins/LocalProjects/MineCraftPE/Ginger-Craft/plugins/)
#9 src/pocketmine/PocketMine(295): pocketmine\server()
#10 (1): require(string[110] phar:///Users/kdawkins/LocalProjects/MineCraftPE/Ginger-Craft/PocketMine-MP.phar)

Loaded Plugins

  • Show

Server Settings

  • Show