View Full Version : [share] Plain L2LogD
http://horst.borec.cz/logd.rar
this is our logD - simply receive logs from L2 server binaries, but never save it to hard disk = you can save 160MB of RAM, some % of cpu usage and hard drive usage.
If you simply dont start original L2LogD, server will start saving log to our own log directory = you dont save memory/cpu/hdd usage .. with this, L2server think logs are saved.. but not ;-D
this help with server performance a lot.
credit goes to Aralyon - member of my team..
andreagighi
11.10.2005, 14:36
tnks m8 very useful
horyfilipe
11.10.2005, 15:43
err it may look obvious but is it inserting data to sql? and thanks for the share :)
no.. this logD simply do nothing ;-D .. erm.. this logD receive logs from L2server L2NPC L2AuthD and destroy it in memory.. instead of saving to HDD like original l2logD.
that is why save your resources
horyfilipe
12.10.2005, 00:17
lol? why running it then?
lol? why running it then?
Are you blind ? :|
you can save 160MB of RAM, some % of cpu usage and hard drive usage.
horyfilipe
12.10.2005, 00:51
heheh if it does nothing, why running? you may just decide not to run.. er?
no.. this logD simply do nothing ;-D .. erm.. this logD receive logs from L2server L2NPC L2AuthD and destroy it in memory.. instead of saving to HDD like original l2logD.
that is why save your resources
logd only caches the logs on the hdd the whole point of the program is to put the logs into sql and yes you can run the servers without the log program
duante
> /dev/null
)))
I just not start logd and all work )))
excelent idea and work, i will try it.
Normally, if you dont run l2LogD every program (for example L2Server.exe) save logs to server\L2Server\logs\) (server\NAME_OF_BINARY\logs)
if you run L2LogD every logs will be saved to server\L2logD\logs
if you run THIS logD, every logs goes to nowhere..
- this save you 160mb of ram, some hdd space AND (and that is most important) many cpu usage and hard drive usage. Because ifyou have standard 7200rpm disk, saving logs to hdd every x second use it too much..
this dont have anything with SQL. Its all about saving .log files to HDD
Woow rodier, i have to say congratulations and tnx for this
i have crash problems when i run it, after.. 2 hs.
i test for 24 hrs and work fine ^^
really work fine.. thanks rodier ^^
good work :D
THX alot rodier , my CPU usage <5% , great !
L2NPC crash 3 times when run , here is the error :
(C) Aralyon 2005
Pac autor je lenoch, tak se servr sam spusti :)
10/14/2005 8:29:54 PM Starting
10/14/2005 8:30:01 PM New client connected - 1xx.xx8.1.34:1710
10/14/2005 8:30:06 PM New client connected - 1xx.xx8.1.34:1711
10/14/2005 8:31:11 PM New client connected - 1xx.xx8.1.34:1715
10/14/2005 8:31:45 PM New client connected - 1xx.xx8.1.34:1718
10/15/2005 12:33:14 AM CLIENT ERROR - 1xx.xx8.1.34:1718
a popup say : Asynchronous socket error 10053
Can u help me something ?
Sprinkle
16.10.2005, 13:06
If I run this program Pending right grows until crash. 1 hr
If I dont , server is stable.... 10 hrs
As allways tho. thanks for the share. Very appreciated.
again..
credit goes to Aralyon - member of my team..
and he maybe know why its crashing on some servers.. he write here report
Omg why everone send thanks to rodier? I wrote that small program :)
So I found a small bug in deallocating memory, which might cause crashes. Our server is currently down because of hardware problems, so I cant test it.
Upload new version and test it for me.
http://aralyon.profitux.cz/logD.zip
a popup say : Asynchronous socket error 10053
This popup is unhandled exception saying that client (l2npc) has suddenly disconnected. So it's consequence of crash not reason :)
Now, for unhandled exceptions I use Memo instead of MessageBox
horyfilipe
25.06.2006, 14:39
reshare new version pls? link down
How Do ???
My l2log don't insert LOGs in MSSQL BASE l2log ((
Some people say: need test Stored procedure, but i don't know what (
This would be very useful for low-end servers that can't afford top of the line hard drives and ram. If someone has this please re-share.
waiting for reshare since first post
LoVeRSaMa
06.07.2006, 16:22
waiting for reshare since first post
same...