Problem Inventory Not Saving

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Staxed

New Member
Jul 29, 2019
1,019
-2
0
FTB Unleashed 1.1.3
CentOS 6.4

I'm pulling my hair out right now...

I noticed last night that Dynmap was having issues saving tiles, so I posted in the Dynmap thread to see if they could help with that. Then this morning I realize player inventories/locations are not saving either. The world itself is saving just fine, it's just changes to the player file that aren't being saved it seems (not including the dynmap issue...)

I've got plenty of space left on the drive, ram is only at 30-40% usage, cpu load is only at 10-20%, permissions seem to be fine on the world folder. Server user running the server has root permissions, etc. I've checked everything I can think of and can't seem to find the culprit.

I haven't made any changes to the server, added mods, etc...this seems to have just started out of thin air. The server was saving fine for the past week before this started happening. Even if I issue a save-all, it doesn't show an error anywhere, says it completes...but this issue still happens.

Any ideas what it could be, or where to check?
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
so, upon further review (apparently I looked at the wrong log before), MC seems to think the disk quota has been used up...but there is still 40+gb of usable space on the disk.


Code:
2013-09-05 05:53:19 [WARNING] Failed to save player data for b0bst3r
2013-09-05 05:53:19 [WARNING] Failed to save player data for Cyberin
2013-09-05 05:53:19 [SEVERE] java.io.FileNotFoundException: ./world/level.dat_new (Disk quota exceeded)
2013-09-05 05:53:19 [SEVERE]    at java.io.FileOutputStream.open(Native Method)
2013-09-05 05:53:19 [SEVERE]    at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
2013-09-05 05:53:19 [SEVERE]    at java.io.FileOutputStream.<init>(FileOutputStream.java:165)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.world.storage.SaveHandler.func_75755_a(SaveHandler.java:202)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.world.chunk.storage.AnvilSaveHandler.func_75755_a(AnvilSaveHandler.java:40)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.world.WorldServer.func_73042_a(WorldServer.java:1203)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.world.WorldServer.func_73044_a(WorldServer.java:1177)
2013-09-05 05:53:19 [SEVERE]    at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.save(CraftWorld.java:774)
2013-09-05 05:53:19 [SEVERE]    at org.bukkit.command.defaults.SaveCommand.execute(SaveCommand.java:30)
2013-09-05 05:53:19 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
2013-09-05 05:53:19 [SEVERE]    at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:568)
2013-09-05 05:53:19 [SEVERE]    at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(CraftServer.java:551)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:364)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:321)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:728)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:612)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
2013-09-05 05:53:19 [SEVERE] java.io.FileNotFoundException: ./world/DIM-1/level.dat_new (Disk quota exceeded)
2013-09-05 05:53:19 [SEVERE]    at java.io.FileOutputStream.open(Native Method)
2013-09-05 05:53:19 [SEVERE]    at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
2013-09-05 05:53:19 [SEVERE]    at java.io.FileOutputStream.<init>(FileOutputStream.java:165)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.world.storage.SaveHandler.func_75755_a(SaveHandler.java:202)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.world.chunk.storage.AnvilSaveHandler.func_75755_a(AnvilSaveHandler.java:40)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.world.WorldServer.func_73042_a(WorldServer.java:1203)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.world.WorldServer.func_73044_a(WorldServer.java:1177)
2013-09-05 05:53:19 [SEVERE]    at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.save(CraftWorld.java:774)
2013-09-05 05:53:19 [SEVERE]    at org.bukkit.command.defaults.SaveCommand.execute(SaveCommand.java:30)
2013-09-05 05:53:19 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
2013-09-05 05:53:19 [SEVERE]    at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:568)
2013-09-05 05:53:19 [SEVERE]    at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchServerCommand(CraftServer.java:551)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:364)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:321)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:728)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:612)
2013-09-05 05:53:19 [SEVERE]    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
2013-09-05 05:53:19 [INFO] CONSOLE: Save complete.
2013-09-05 05:53:28 [INFO] Connection reset
2013-09-05 05:53:28 [INFO] Cyberin lost connection: disconnect.quitting
2013-09-05 05:53:28 [INFO] Unloading Player: Cyberin
2013-09-05 05:53:28 [WARNING] Failed to save player data for Cyberin
2013-09-05 05:53:36 [INFO] Cyberin[/174.107.93.254:40070] logged in with entity id 121448 at ([world] -726.4146064719937, 108.0, 382.42383689601587)
2013-09-05 05:53:36 [INFO] Loading Player: Cyberin
2013-09-05 05:53:36 [INFO] Sending serverside check to: Cyberin
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
Are there any admin priveleges blocking it? disk quota may not mean your hard drive is full, it could just mean that, the server is being prohibited from writing in that location.

http://en.wikipedia.org/wiki/Disk_quota


You know I didn't think about that...I wonder if the quotas are messed up on the server itself. I had an issue with the Kernal yesterday, so that could have caused a few quota issues as well. Will check that and report back :)
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
so after a little more digging...the container that the server is on is showing quotas exceeded when running a quota check. However, according to my fstab file...quotas shouldn't even be enabled.

Code:
[root@radiance ~]# vzctl exec 105 rpm -q quota
rpmdb: /var/lib/rpm/__db.001: Disk quota exceeded
error: db3 error(122) from dbenv->open: Disk quota exceeded
error: cannot open Packages index using db3 - Disk quota exceeded (122)
error: cannot open Packages database in /var/lib/rpm
rpmdb: /var/lib/rpm/__db.001: Disk quota exceeded
error: db3 error(122) from dbenv->open: Disk quota exceeded
error: cannot open Packages database in /var/lib/rpm
package quota is not installed[/COLOR][/SIZE][/FONT]

host node fstab

Code:
#
# /etc/fstab
# Created by anaconda on Wed Aug  7 12:07:01 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=bfd7b3ba-5337-462e-b847-24e3e0b27236 /                      ext4    defaults        1 1
UUID=807d0938-2d2b-4272-a348-20ae5118adc7 /boot                  ext4    defaults        1 2
UUID=85533b67-7278-4d6e-a2c7-4ef958de688d /vz                    ext4    defaults        1 2
UUID=355ccfe0-76c9-48be-b70b-7545f718e393 swap                    swap    defaults        0 0
tmpfs                  /dev/shm                tmpfs  defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                  /sys                    sysfs  defaults        0 0
proc                    /proc                  proc    defaults        0 0
~
"/etc/fstab" 16L, 899C

container fstab

Code:
none    /dev/shm        tmpfs   defaults                0       0
none    /dev/shm        tmpfs   defaults                0       0
 

VikeStep

New Member
Jul 29, 2019
1,117
0
0
I have no server hosting experience, so I can't help you from here, but am I right in saying that this is no longer a problem of FTB?
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
yeah, I'm thinking it's not an ftb problem (which is why I put it in the server admin support and not ftb support section).

I've opened a thread on another forum that is probably more suited to helping me figure it out though :).
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
for anyone else that comes across this issue, I finally figured it out (the disk quota error threw me for a loop).

my inodes were maxed out because of all the tiles dynmap generates...inode limit was set to 200,000...apparently dynmap produces quite a bit more files than that on some larger maps and modded textures come into play.

So, checking your inodes via df -i would be a good way to start troubleshooting if you get this issue.
 
  • Like
Reactions: VikeStep