Random Chitchat 2012-2016
Thats fun to bad they don't explodeBig Grin.
Thanks given by:
(10-20-2012, 08:06 AM)ThuGie Wrote: Weird,

For linux i use release=1 and it does run in release as i dont get the debug messages.
Yet i noticed it sometimes using up to 800mb ram with nobody online.

And crashing with basic stuff as digging..

If your Linux is anything like OSX it might show incorrect memory usage. Linux might allocate more memory specially for MCServer and does not free it up before another application needs it.

If you would run another program that uses a lot of memory the MCServer memory usage (according to your process list) might lower
Thanks given by:
Might be that i simply use top to check it out :p.
I got 2gb on there anyway so its ok :p.

Just wish the server didnt crash so often lol.. and linux doesnt output a dump so cant really find anything Sad.
Thanks given by:
You could run the debug version through gdb or Valgrind (Valgrind is a pretty epic tool)
Thanks given by:
Know of a good tutorial that explains me how to set it up and use it?Big Grin
Or you wanna do it for meBig Grin.

Edit:
I just read http://stackoverflow.com/questions/22513...p-in-linux

If i'm right if i set limit to unlimited it should give out a core file?
Anyway does mcserver do this
Regarding the core limit, you can do it yourself in C by calling setrlimit. ?
If so i don't have to do it each time i run mcserver :p.

Also is it true that -O2 could be better @ size/speed then -O3.. read some stuff and some people recommend -O2 above -O3.
Thanks given by:
I'm working on double chests now. So far, I managed to get the client to crash upon opening a doublechestTongue
Thanks given by:
OH sweet,Big Grin really something i was looking for haha.
Not even joking as well.. i always make double chests and sometimes im like where my items at!

Also atm i think running mcserver in debug aka without release=1 and set ulimit unlimited.. hope it creates a dump when it crashes.
Also hope you don't mind posting small "bugs/missing features" in the bug section :p.
Thanks given by:
Double chests are working.

Posting bugs / features is good, but have you read what you've written? I have trouble understanding half of those reports, how about using some punctuation, and reading after yourself once again, just before posting?Tongue
Thanks given by:
Hey,

Sorry about that :$.
Will see what i can do about it.

And sweet update!

Edit:
It seems my server didn't create a crash dump i guess the make file should also include -g ?
Also the cause atm often is /reload it will crash your server even when no changes to the plugins are made.
Thanks given by:
Implemented Jukebox in MCServer today.Big Grin Took some time because i needed to add a new packet ( http://wiki.vg/Protocol#Sound_Or_Particl....280x3D.29 ).

Patch DL: https://dl.dropbox.com/u/21041937/Jukebox.patch

Tell me what you thinkTongue
Thanks given by: xoft




Users browsing this thread: 44 Guest(s)