CortexPE / TeaSpoon

☕ A PLUGIN to Extend PMMP's Functionality without completely changing it.
GNU Affero General Public License v3.0
143 stars 100 forks source link

Server Crash without log/crashdump #172

Closed teracube closed 6 years ago

teracube commented 6 years ago

Issue Description

since issue the #136 not solved i can not use TeaSpoon on my server because server crash ramdomly. i tried reproduce this issue unsuccessfuly.

there is no trace no log or crashdump if i removed TeaSpoon the server do not crash i tried all latest PMMP and TeaSpoon version

my server is hosted and i can not used linux command . i have just a rcon panel

is there a way to record/track the error (with a plugin )? is it a map problem or incomptability with TeaSpoon

sorry i'm a newbies sorry for my bad english

thanks

@desesparate gamer

Steps to Reproduce

  1. ...
  2. ...
  3. ...

Crashdump, Backtrace or Other Files

# Paste your crashdump here (if theres any)
# Paste the contents of your TeaSpoonDump here ( by running /bugreport ) [can be found at <TeaSpoon Plugin Folder>/dumps/<time>]
SuperKali commented 6 years ago

this is for blame the boat item, please @CortexPE fix this

CortexPE commented 6 years ago

test it on Latest commit...

teracube commented 6 years ago

@CortexPE not solved with latest commit my server crash and no error or crashdump

@SuperKali not solved for me with latest commit and you ?

teracube commented 6 years ago

@SuperKali have you tested latest commit ... thanks

CortexPE commented 6 years ago

I need steps to reproduce

teracube commented 6 years ago

@CortexPE sorry i can not reproduce this issue i tried without success i'm sure this is a TeaSpoon issue because i removed TeaSpoon during 5 days and no crash. Then today i install TeaSpoon and server crash after 4 hours. no trace, no log or crashdump am I the only one to have this problem ?

CortexPE commented 6 years ago

am I the only one to have this problem ?

Probably, @teracube xD

BajanVlogs commented 6 years ago

Just use TeaSpoon have players join your server happens to me also

BajanVlogs commented 6 years ago

Version #106 dev works fine no crashes then #107 - #109 starts the crashes

BajanVlogs commented 6 years ago

thats for the poggit builds up above

teracube commented 6 years ago

on my server crash start with commit Dev #83 (&80b4) or Dev #82 (&80b2) https://poggit.pmmp.io/r/19204/TeaSpoon_dev-83.phar

since, all the versions make my server crash without any log or crashdump

i had opened issues #136 and this issue

I try for a month to reproduce the problem without success

BajanVlogs commented 6 years ago

Its Dev #107 that causes the crash

CortexPE commented 6 years ago

I'll try to deploy a test server on my VPS and see when it'll crash w/o restart

CortexPE commented 6 years ago

(I usually restart my server every 2-3 hours)

nasiridrishi commented 6 years ago

@CortexPE I also face kinda this issue! my server freezes with no error or message!

TDMidkwhatisxd commented 6 years ago

it freeze because of dktapps xp commit

CortexPE commented 6 years ago

it freeze because of dktapps xp commit

Maybe?

btw my test server is still running without problems... image

so maybe @TDMidkwhatisxd is right? because you can't have XPOrbs on a completely blank test server xd

FaanMaario commented 6 years ago

Actually I tested and from what I did (throw bottles of experience), my server start lagging and... freeze.

CortexPE commented 6 years ago

new bitmap image

FaanMaario commented 6 years ago

I created a test server and strangely, nothing happen when I throw a lot of xp bottle It works only on my public server

nasiridrishi commented 6 years ago

@FaanMaario bring 40+ players in your test server then it will happen:)

nasiridrishi commented 6 years ago

And cant blame teaspoon being 100% sure since my other servers got same issue without this plugin too!

teracube commented 6 years ago

As I've already said in my case, my server crash since TeaSpoon version > commits f60a288 TeaSpoon_dev-81 or TeaSpoon_dev-83 (with any PMMP version > dev-554)

since this commit server crash/freeze randomly if Teaspoon is loaded. sometimes server crash with 2 players to 25 players after 5 minutes to 4 hours...

If i remove TeaSpoon, no crash

a player told me that server crashed after mining wood and boat build. but i can't reproduce this

sorry for my very bad english..

CortexPE commented 6 years ago

boats caused the crash before but boats were removed in later builds... (they still exist but they don't do anything anymore)

nasiridrishi commented 6 years ago

@CortexPE I am sure this is because of mobs! since I used pureentitiesX and teaspoon both for mobs only! and both gave me same problems!

TDMidkwhatisxd commented 6 years ago

pureentitiesx have same effect as xp orbs. Don't use that plugin it will freeze server

TDMidkwhatisxd commented 6 years ago

That plugin froze with few mobs, I limited to max 5-6 mobs and still froze

teracube commented 6 years ago

@everybody your server crash or freeze in my case, my server crash (but no lag)

nasiridrishi commented 6 years ago

@teracube Please update your pmmp to latest build!!! hopefully that will solve your problem:) but its always recommended to use release pmmp versions as well as plugins!!

Arctiblaine commented 6 years ago

Just download AutoClearLagg. It removes entities every five minutes or so. I've got it, and the only thing that crashed my server was BlockPets.

BajanVlogs commented 6 years ago

Yeah AutoClearLagg doesn't help its the xp that's doing it when I don't use teaspoon server is fine and no crashes but when I use teaspoon it crashes it doesn't crash on dev phar #109

https://github.com/pmmp/PocketMine-MP/commit/a84910f04c33cd855ff20bcfddc3556a7d225010#diff-b672f85648578ad0208828456f4f0b39 Here is the commit that broke servers and made them freeze when using teaspoon

teracube commented 6 years ago

i tested to day https://poggit.pmmp.io/r/22012/TeaSpoon_dev-130.phar https://jenkins.pmmp.io/job/PocketMine-MP/668/artifact/PocketMine-MP.phar

and my server crash after 3 hours with 6 players and no log

FaanMaario commented 6 years ago

With the latest TeaSpoon and pmmp commit, my Minecraft server has not been freezed for 14 hours. croquis 3

CortexPE commented 6 years ago

@ everyone What are your servers' specifications?

teracube commented 6 years ago

@CortexPE

server is hosted RAM memory-limit=4024M 50 slots 3 worlds (lobby, minage, faction)

PocketMine-MP version: 1.7dev #673 uname -a: Linux game01 4.4.19-mod-std-ipv6-64 #1 SMP Mon Aug 22 13:05:01 CEST 2016 x86_64 PHP Version: 7.2.0 Zend version: 3.2.0 OS : Linux

nasiridrishi commented 6 years ago

@teracube Ram doesnt matter! do you know about what type of CPU you use?

teracube commented 6 years ago

@optimusprime338 CPU Intel i7-7700K 4,7GHz 4024M RAM is sufficient for 50 slots

this issue has nothing to do with RAM or CPU because sometimes my server crash with 2 or 5 players My server never crash if TeaSpoon is removed

FaanMaario commented 6 years ago

Mine is hosted on a VPS with CPU 2 Cores, 4GB RAM.

BajanVlogs commented 6 years ago

you have to have mobs on and kill mobs for they drop exp then watch the server get laggy then watch it freeze

CortexPE commented 6 years ago

@ everyone can you guys test this on latest commit with these configurations:

Xp:
 # ExperienceOrb Override -- Enabling this will override PMMP's ExperienceOrb entity
 override: true
 dropMobExperience: true
 # Toggle to enable/disable pickup delay when picking up XPOrbs (true in Vanilla-MineCraft) [NEEDS OVERRIDE TO BE ENABLED]
 pickupDelay: false
 # Ticks till despawn -- 1 Second = 20 Ticks [NEEDS OVERRIDE TO BE ENABLED]
 ticksTillDespawn: 200
CortexPE commented 6 years ago

is this fixed yet @teracube ?

teracube commented 6 years ago

@CortexPE

I tested this configuration

PocketMine MP dev 699.phar TeaSpoon dev 139.phar

 # ExperienceOrb Override -- Enabling this will override PMMP's ExperienceOrb entity
 override: true
 dropMobExperience: true
 # Toggle to enable/disable pickup delay when picking up XPOrbs (true in Vanilla-MineCraft) [NEEDS OVERRIDE TO BE ENABLED]
 pickupDelay: false
 # Ticks till despawn -- 1 Second = 20 Ticks [NEEDS OVERRIDE TO BE ENABLED]
 ticksTillDespawn: 200

=) and good news ; - ) ... no crash since 24 hours with these configurations

=) i have just one problem with ender generation map is very flat and there is no island have you changed anything ? . (nether generation is ok )

see this attached photo above normal vanilla ender and below my ender map ender server teracube

is my config correct ? see attached files config pmmp and teaspoon.zip

sorry for my bad english

CortexPE commented 6 years ago

there isn't a config for generators :/

xXNiceYT commented 6 years ago

LOL

teracube commented 6 years ago

@CortexPE thanks for your great job and plugin

1/so can use standard configuration of the TeaSpoon config.yml or should stay on this test configuration

2/so you confirm that ender generator is correct like TeaSpoon do ( some players tell me that before there were islands automaticaly generated by teaspoon, it's fale i suppose)

teracube commented 6 years ago

Update / new test

server crash after 3 hours with the standard config

Xp:
 # ExperienceOrb Override -- Enabling this will override PMMP's ExperienceOrb entity
 override: false
 dropMobExperience: true
 # Toggle to enable/disable pickup delay when picking up XPOrbs (true in Vanilla-MineCraft) [NEEDS OVERRIDE TO BE ENABLED]
 pickupDelay: true
 # Ticks till despawn -- 1 Second = 20 Ticks [NEEDS OVERRIDE TO BE ENABLED]
 ticksTillDespawn: 6000

server don't crash with test config

Xp:
 # ExperienceOrb Override -- Enabling this will override PMMP's ExperienceOrb entity
 override: true
 dropMobExperience: true
 # Toggle to enable/disable pickup delay when picking up XPOrbs (true in Vanilla-MineCraft) [NEEDS OVERRIDE TO BE ENABLED]
 pickupDelay: false
 # Ticks till despawn -- 1 Second = 20 Ticks [NEEDS OVERRIDE TO BE ENABLED]
 ticksTillDespawn: 200
CortexPE commented 6 years ago

That's because PMMP's XPOrbs are laggy...

I might set the 'test' config as the default one...

On Feb 11, 2018 10:19 PM, "TeraCube" notifications@github.com wrote:

Update

server crash after 3 hours with the standard config

Xp:

ExperienceOrb Override -- Enabling this will override PMMP's ExperienceOrb entity

override: false dropMobExperience: true

Toggle to enable/disable pickup delay when picking up XPOrbs (true in Vanilla-MineCraft) [NEEDS OVERRIDE TO BE ENABLED]

pickupDelay: true

Ticks till despawn -- 1 Second = 20 Ticks [NEEDS OVERRIDE TO BE ENABLED]

ticksTillDespawn: 6000

server don't crash with test config

Xp:

ExperienceOrb Override -- Enabling this will override PMMP's ExperienceOrb entity

override: true dropMobExperience: true

Toggle to enable/disable pickup delay when picking up XPOrbs (true in Vanilla-MineCraft) [NEEDS OVERRIDE TO BE ENABLED]

pickupDelay: false

Ticks till despawn -- 1 Second = 20 Ticks [NEEDS OVERRIDE TO BE ENABLED]

ticksTillDespawn: 200

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CortexPE/TeaSpoon/issues/172#issuecomment-364754947, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ8IFBqnTn59EwBcvGQigMn02TTyxpgUks5tTvb5gaJpZM4RdUJ0 .

FaanMaario commented 6 years ago

Test config is PERFECT!

No laggs and my server can have all the MCPE features without crash ❤️

teracube commented 6 years ago

@CortexPE I confirm no crash server with test config. BUT i have a new problem : sometimes ALL players client disconnect at the same times 2018-02-12 [13:22:05] [Server thread/INFO]: raf129[/178.XXX.235.115:44510] logged out due to timeout

i use PocketMine-MP version 1.7dev-709 and TeaSpoon_dev-144.phar I never had this problem before

TeaSpoon config est issue or not ?

CortexPE commented 6 years ago

Can you test it without TeaSpoon?

On Feb 12, 2018 9:08 PM, "TeraCube" notifications@github.com wrote:

@CortexPE https://github.com/cortexpe I confirm no crash server with test config. BUT i have a new problem : sometimes ALL players client disconnect at the same times 2018-02-12 [13:22:05] �[Server thread/INFO]: raf129[/178.XXX.235.115:44510] logged out due to timeout�

i use PocketMine-MP version 1.7dev-709 and TeaSpoon_dev-144.phar I never had this problem before

TeaSpoon config est issue or not ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CortexPE/TeaSpoon/issues/172#issuecomment-364917536, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ8IFIajHl531vOHQET69It9KLzlvr0vks5tUDexgaJpZM4RdUJ0 .