|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Support::Linux Servers Support forum for Linux EQEMu users. |

05-02-2008, 12:48 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
What the heck are these core.<number> files that are filling my hard drive? I already have a couple GB worth after less than 1 day of having the server up!
|
 |
|
 |

05-02-2008, 02:07 AM
|
Developer
|
|
Join Date: Mar 2007
Location: Ohio
Posts: 648
|
|
Quote:
Originally Posted by trevius
I would be especially interested in something that wraps log files after they reach maybe 250k or so if that is at all possible. I have no need for a 500MB log file lol. Heck, I wouldn't even mind a script that turns off the log files completely.
|
The easiest way to not output a log file is to redirect to /dev/null. I'm not sure of the best way to do this for the zone files (maybe a symbolic link to /dev/null?), but here is an example for the world server log that is made in your startup script:
Change
Code:
./persist_world 2>&1 > logs/world &
to
Code:
./persist_world 2>&1 > /dev/null &
Quote:
Originally Posted by trevius
What the heck are these core.<number> files that are filling my hard drive? I already have a couple GB worth after less than 1 day of having the server up!
|
Those are basically debug files. They are enabled with the -pg switch in the makefiles for eqlaunch & zone. I made brief mention of it in the Wiki, but at the time I wrote that part, I didn't know that's what created them. Basically, change the lines in eqlaunch/makefile and zone/makefile that begin with COPTS to remove the -pg.
|
 |
|
 |

05-02-2008, 02:47 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Weird, I know for sure that I removed them before my compile. I followed your wiki exactly. I've gone through it 2 times now (rebuilt 2 times), and I am going to do it again soon for another PC. I just checked the source I used and -pg is definitely removed. Not sure why it makes these core files, but I don't think it is good for my server load and the amount of data growing that fast is insane. I probably had 20 100MB files in less than 1 day.
|

05-02-2008, 02:04 PM
|
Developer
|
|
Join Date: Mar 2007
Location: Ohio
Posts: 648
|
|
Apparently I'm retarded and I have no idea what I'm talking about.
However, after searching around teh Interwebs a little bit, I remembered the core.whatever files have to do with the following line in the startup script:
In my script, I just commented it out (with a #), and I no longer get the core files, which definitely eat up a lot of space relatively quickly.
|

05-02-2008, 07:31 PM
|
Discordant
|
|
Join Date: May 2006
Posts: 356
|
|
I may be wrong, but it seems my setup made core files after a crash. It seems they are like dump files used to debug the crash, but I could be completely wrong here, this is just a guess on my part.
I do have the unlimit -c 999999 in my startup as well, so I will remove it and see what happens....
__________________
Random Segments of Code....
|

05-03-2008, 12:59 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Makes sense lol. Thanks AndMetal! And ya, they do show up after a crash. That normally wouldn't be a huge issue, but I was still running my zone resetters in all of my custom zones, so essentially it thought I had 20 zone crashes per day and kicked out a 100MB file each time.
I have no use for those files anyway. They are too huge for me to open them with an editor and I have no idea what I would grep for in them. I will definitely be commenting that out!
Thanks guys. This info is really helping me get things setup nicely.
|
 |
|
 |

05-03-2008, 07:13 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Ok, looks like I am having another issue with hard drive space... For some reason it seems like my hard drive space is getting used by something I can't seem to locate the source of... The webmin tool shows my hard drive space used is up to about 10.5GBs, but when I right click on the File System folder in the File Browser, it reports only 7.2GBs used, which is what things were at before I turned the server on. It seems like every time I refresh the webmin main System Information page, it shows that my hard drive has less and less space left.
I just can't figure out where the extra data is going. I don't see any other files that could be causing it. Is there possibly files that would be outside of the File System folder? This folder includes my home directory, root, and all of the other folders that I am aware of. I have no clue where this hard drive space is going.
My main concern is because I built this Linux build as a temporary place to run my server from. So, I made it a dual boot from a windows box. I didn't have a ton of hard drive space left, so I just gave it 13GBs. I figured that would be enough, and it would if I wasn't running into these weird issues eating up my space lol. I will be moving it back to the server PC with 30GBs soon, but even then I will want to correct these problems before they get out of hand.
System hostname XXXX
Operating system Debian Linux 4.0
Webmin version 1.410
Time on system Sat May 3 06:04:16 2008
System uptime 2 days, 5 hours, 16 minutes
CPU load averages 21.29 (1 min) 17.78 (5 mins) 16.60 (15 mins)
Real memory 2.95 GB total, 1.02 GB used
Virtual memory 651.03 MB total, 64 kB used
Local disk space 13.14 GB total, 10.49 GB used
---------------------------------------------
World is connected to login server eqemulator.net:5998.
World is NOT locked. Lock World.
There are 50 zones booted, 1 launchers connected, and 52 players online.
|
 |
|
 |
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 03:43 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |