On Wednesday 04 September 2002 08:14 pm, Adrian Allen wrote:
> Ok
> Here is the problem I am having and its hard for me to figure out
> what to do about it. Killing some mobs is crashing the mud and I
> am not getting core files when the mud crashes because a coder who
> worked on the mud lst year added something that is preventing the
> core files somehow. I know he added the snippet that does autoshutdown
> but I removed it and still no core file when it crashes. I am wondering if
> anyone could tell me exactly how the merc_down works
> because I don't have a very good understanding of the shutdown command
> If there is something preventing core files from being made where would it
> be and how would I fix it to make core files again so I can use the
> debugger and fix this bug in killing mobs.
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
try this:
in the shell type ulimit -c
Chances are you'll find it's set to 0 if it's a later system
to fix this:
open up ~/.bash_profile (if you're using bash)
type ulimit -c unlimited
relog
This will tell ulimit NOT to limit your core usage .
WARNING!!
On later systems  (mdk9, rh7.3, later BSD, slackware I haven't tested), you 
will find that core.xxfd4315 (or some odd number) is generated, not just one 
core file, one core file PER crash, and this CAN fill up a filesystem fast, 
so clean these files out nightly.. Core files can be HUGE , and if you're 
dumping a core every time someone kills a mob, that could be nasty.
Please note (part 2)
You will (probably) have to restart your mud once you've logged in in order 
for this to take affect.. I personally have never taken the chance that it 
hasn't and simply rebooted the mud, killing the script and everything, once I 
made this change.

g'luck
-- 
 ----------------------------------------------------
 TJW: Head tech, Dreamless Realms
 Mud: http://dreamless.wolfstream.net
 Snippets http://dreamless.wolfstream.net/
 Telnet dreamless.wolfstream.net:9275
 The OLC Pages http://olc.wolfstream.net
 ----------------------------------------------------


Reply via email to