[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  ROM
. -> [Folder]  Running the server
. . -> [Subject]  Core File Help Please
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Core File Help Please

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Tidus   (11 posts)  [Biography] bio
Date Wed 15 Oct 2003 08:02 PM (UTC)
Message
I keep getting Segmentation Faults in my ROM2.4b6 based MUD but my MUD isn't making core files. Can anyone offer any help?
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #1 on Wed 15 Oct 2003 09:48 PM (UTC)
Message
You probably have a upper file size for the core set to 0.

Type ulimit -a, you should see something like: "core: 0". You should set this to something higher, like 100000 or something by typing: ulimit -c 100000 (I think I got the syntax right... might be something slightly different.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Tidus   (11 posts)  [Biography] bio
Date Reply #2 on Wed 15 Oct 2003 10:36 PM (UTC)
Message
Thanks for the help but I tried that and it still isn't doing it.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #3 on Wed 15 Oct 2003 10:42 PM (UTC)
Message
Ah... then you may need to edit your bash profile.

Log on to your shell. Type ls -a, and make sure you have a file called:
.bash_profile

Edit that, and add:
ulimit -c 1000000
somewhere in it.

This file is "executed" every time you log on.

Shut down your MUD. Log out of all terminal windows. Log on again, and type ulimit -a to make sure you still have a core limit value set. Now, you can run your MUD and it should generate core files.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


3,279 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]