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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2008, 12:30 AM
opyrus
Hill Giant
 
Join Date: Apr 2008
Location: in doors
Posts: 138
Default disable log files

how do i disable the logs there realy eating up space on me. is there like a setting for this some where? after like one day my server log folder is like a gig id realy would rather have it not log anything.
Reply With Quote
  #2  
Old 05-15-2008, 07:16 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ya, all the devs run on linux I am sure, cause this problem doesn't happen on linux. On windows, the log files are insanely ridiculous. There is no easy way to disable the logs, but I you can stop them simply by deleting or renaming the log folder to another name. You won't get logs, and you will get a couple of errors when you start the server, but it doesn't cause any real problems. Then if you ever decide you want to actually get some logs to investigate a problem, you just put the folder back again. Pretty simple.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 05-15-2008, 08:00 AM
opyrus
Hill Giant
 
Join Date: Apr 2008
Location: in doors
Posts: 138
Default

much better i renamed the log folder to log.off dident even realy get an error just a debug msg in the server console.
Reply With Quote
  #4  
Old 05-15-2008, 01:25 PM
opyrus
Hill Giant
 
Join Date: Apr 2008
Location: in doors
Posts: 138
Default

after running with no logs for about a day there is a major reduction in system useage. server is useing less ram less cpu and the number of system handles droped by 200.000 went from 500,000 down to 300,000 and disk IO has droped by alot to.
Reply With Quote
  #5  
Old 05-15-2008, 03:27 PM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

My handles are at 51k. Anyways, I renamed my log dir and now Im a happier GM! Thanks for the tip!
Reply With Quote
  #6  
Old 05-15-2008, 05:14 PM
opyrus
Hill Giant
 
Join Date: Apr 2008
Location: in doors
Posts: 138
Default

i may have forgot to note that i run all 306 zones static + 10 extra dynamics.
Reply With Quote
  #7  
Old 05-15-2008, 09:32 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by opyrus View Post
after running with no logs for about a day there is a major reduction in system useage. server is useing less ram less cpu and the number of system handles droped by 200.000 went from 500,000 down to 300,000 and disk IO has droped by alot to.
I hope Cavedude sees this one - might help him out over at the PEQ server
Reply With Quote
  #8  
Old 05-15-2008, 10:13 PM
jenco420
Banned
 
Join Date: Jan 2006
Location: /dev/null
Posts: 99
Default

does'nt PEQ use a linux box? i personally hav'nt had any trouble with log files from eqemu on my linux box. MYSQL on the other hand ~.~
Reply With Quote
  #9  
Old 05-15-2008, 11:30 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ya, PEQ runs on Linux. And my linux box maybe gets 100-250mbs of log files per day or so, but I restart it every day or 2 anyway and the startup scripts erase all of the log files and start new ones. Linux handles the logs MUCH better than windows does for sure.

One thing I would love to see would be trying to disable almost all debugs accept for the most important ones in the source and seeing how much performance is gained. I bet it would be a surprising amount even on Linux. I know this isn't exactly related, but when I worked at AT&T, we weren't allowed to turn debugging on for the routers ever. This is because the huge amount of traffic that the backbone took would cause enough of a performance hit if you enabled certain debugs that it would crash the router for sure due to the processors not being able to handle that much more work load. But as long as you left debugs off, their processor utilization was at about 1%. I know debugging every packet is MUCH more work than all of the debugs that eqemu does, but I am also sure that debugs can and do use a considerable amount of resources.

I would LOVE to see some easy way to turn debugs on and off with a command, rule, or setting somewhere. Then you could use them when you want, and disable them when you have no need for them. The only way I know to keep the debugs from being processed at all is to remove each one from the source line by line (or comment out) and then recompile. That isn't exactly an "easy" way to turn them on or off tho lol.

Even by changing the log directory name, I think the debugs are all still processed, they just don't get written to the file, which that alone is enough to probably help performance some. But if they were disabled completely, I think it would make a considerable difference.

Maybe I will experiment with them sometime if I ever get the time to go through and comment them all out and recompile lol.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #10  
Old 05-16-2008, 04:54 AM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

I thought that the debug level could be set somewhere within one of the files,before compiling of course, as I know the code does a lot of checks for the debug LEVEL.

Also, if its so TITANIUM Supported, why are there still checks for the other Opcodes from Live, Anniversary and 6.x opcode files?
__________________
Random Segments of Code....
Reply With Quote
  #11  
Old 05-16-2008, 06:49 AM
rojadruid
Discordant
 
Join Date: May 2005
Location: Smith Falls, Ontario, Canada
Posts: 283
Default

Quote:
Originally Posted by Aramid View Post
Also, if its so TITANIUM Supported, why are there still checks for the other Opcodes from Live, Anniversary and 6.x opcode files?
That is because some os us are using the old client still from way back and are happy with all that it offers. I am using 6.x myself.
__________________
Rojadruid

Innoruuk Server [legit]
Server Admin.
Server Status: UP
Reply With Quote
  #12  
Old 05-16-2008, 07:18 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Quote:
Originally Posted by rojadruid View Post
That is because some os us are using the old client still from way back and are happy with all that it offers. I am using 6.x myself.
And you are able to connect and play on servers running 7.x with that? As far as I know, only Titanium clients can play on 7.x servers. If that is the case, then there is no reason for all of those client version checks. It might increase performance a little to remove those checks (for both client and server). But, I think it is the other debugs that are the biggest resource hogs.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #13  
Old 05-16-2008, 02:20 PM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

Quote:
Originally Posted by rojadruid View Post
That is because some os us are using the old client still from way back and are happy with all that it offers. I am using 6.x myself.

Ok, that explains the 6.x checks, but then why the Live and Anniversary?
__________________
Random Segments of Code....
Reply With Quote
  #14  
Old 05-16-2008, 03:47 PM
Aramid
Discordant
 
Join Date: May 2006
Posts: 356
Default

Trevius,

Look thru debug.h in /common folder. There is where the EQDEBUG level is set. They have choices 0 thru 10 and it is set to 1 by default. Maybe experiement with those different levels.
__________________
Random Segments of Code....
Reply With Quote
Reply


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 08:41 AM.


 

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