Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-21-2021, 11:31 AM
iraxion
Fire Beetle
 
Join Date: May 2021
Posts: 1
Default

I can't help with the actual issue (I guess the zone crashes for some reason or other when you begin your raid for real). But I had this
Quote:
I ran server_status.sh and it returned with:

Akka's Linux Server Launcher
World: UP Zones: (1093/30) UCS: UP Queryserv: UP
happen on my machine here as well. Whenever a zone crashed, the number of "zone" processes shot up (and after a while they would consume all available memory). I think I have found the culprit. To get rid of that you might try the following patch

Code:
*** common/crash.cpp.orig       Thu Dec 31 19:27:00 2020
--- common/crash.cpp    Mon Jan 11 16:28:22 2021
***************
*** 135,140 ****
--- 135,145 ----
        name_buf[readlink("/proc/self/exe", name_buf, 511)] = 0;
        int child_pid = fork();
        if (!child_pid) {
+               signal(SIGABRT, SIG_DFL);
+               signal(SIGFPE, SIG_DFL);
+               signal(SIGFPE, SIG_DFL);
+               signal(SIGSEGV, SIG_DFL);
+
                int fd = open(temp_output_file.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);

                dup2(fd, 1); // redirect output to stderr
and recompile.

If you would like to have stack traces for crashes in the log files, I recommend making sure that "sudo gdb" actually works, without asking for a password, for the user running eqemu.

(I've been lurking here for quite a while now... just running a small family-type server myself, mostly vanilla eqemu+peq with very few customizations. Question from my side: how do I contribute bugfixes to the code, or to peq data, if I have any (like the above)? Just post on the forums? I tried to find a "how to submit bugfix" on the forums and on the wiki but didn't find any... well maybe I didn't look closely enough. If there is such a thing please just point me there. TIA!)
Reply With Quote
 

Tags
linux


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:35 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3