MaNGOSR2

MangosR2 is a free, open source MMORPG framework, derived from MaNGOS project


You are not connected. Please login or register

Crash logs

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Crash logs on Wed Jul 04 2012, 04:42

what is necessary for generate the crash logs? any cmake option program or conf option? at this moment my server are not generating this, compiled whith this cmake options

cmake -DACE_USE_EXTERNAL=1 -DUSE_STD_MALLOC=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE:STRING="-march=native -O2 -ggdb -pipe -D_LARGEFILE_SOURCE -frename-registers -fno-strict-aliasing -fno-strength-reduce -fno-delete-null-pointer-checks" -DCMAKE_CXX_FLAGS_RELEASE:STRING="-march=native -O2 -ggdb -pipe -D_LARGEFILE_SOURCE -frename-registers -fno-strict-aliasing -fno-strength-reduce -fno-delete-null-pointer-checks" -DPCH=0

View user profile

2 Re: Crash logs on Wed Jul 04 2012, 08:15

rsa

avatar
Admin
what ulimit in your server?

View user profile

3 Re: Crash logs on Wed Jul 04 2012, 19:11

65536

View user profile

4 Re: Crash logs on Wed Jul 04 2012, 19:30

rsa

avatar
Admin
:(
insert
ulimit -c unlimited
in world starting script before mangos start

View user profile

5 Re: Crash logs on Wed Jul 04 2012, 20:26

ok, I'll try thank you

View user profile

6 Re: Crash logs on Sat Jul 07 2012, 20:08

We have this put, but still without generate cores :S

do we need any packet? We have build-essentials

View user profile

7 Re: Crash logs on Sun Jul 08 2012, 07:55

rsa

avatar
Admin
1.publish result of executing
sysctl -A |grep 'core\|dump'
2. check service abrtd disabled.

View user profile

8 Re: Crash logs on Sun Jul 08 2012, 09:34

I think need to add -DDEBUG=1 for crash dump

View user profile

9 Re: Crash logs on Sun Jul 08 2012, 09:39

rsa

avatar
Admin
gamessd wrote:I think need to add -DDEBUG=1 for crash dump
no, only for _very_ detailed dumps.

View user profile

10 Re: Crash logs on Sun Jul 08 2012, 09:46

I not understand what's this? -DPCH
It's better to be 0 or 1 ?

View user profile

11 Re: Crash logs on Sun Jul 08 2012, 14:07

Code:
error: "Invalid argument" reading key "fs.binfmt_misc.register"
kernel.core_uses_pid = 0
kernel.core_pattern = core
kernel.core_pipe_limit = 0
vm.oom_dump_tasks = 1
vm.block_dump = 0
fs.suid_dumpable = 0
error: permission denied on key 'net.ipv4.route.flush'
fs.xfs.inherit_nodump = 1
net.core.somaxconn = 128
net.core.xfrm_aevent_etime = 10
net.core.xfrm_aevent_rseqth = 2
net.core.xfrm_larval_drop = 1
net.core.xfrm_acq_expires = 30
net.core.wmem_max = 131071
net.core.rmem_max = 131071
net.core.wmem_default = 229376
net.core.rmem_default = 229376
net.core.dev_weight = 64
net.core.netdev_max_backlog = 1000
net.core.netdev_tstamp_prequeue = 1
net.core.message_cost = 5
net.core.message_burst = 10
net.core.optmem_max = 20480
net.core.rps_sock_flow_entries = 0
net.core.netdev_budget = 300
net.core.warnings = 1
error: permission denied on key 'net.ipv6.route.flush'

And about service:

root@ns236732:/home# service abrtd status
abrtd: unrecognized service


View user profile

12 Re: Crash logs on Sun Jul 08 2012, 15:21

rsa

avatar
Admin
fs.suid_dumpable = 0
if your use su or SUID - read this http://kb.realvnc.com/questions/77/How+do+I+get+the+core+dump+of+a+crashing+application%3F for example.
also strange kernel.core_uses_pid = 0
be one name for all cores.

-DPCH need set to 1 for endless users (speedup compiling) 0 for developers (more problems visible).

View user profile

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum