Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [share] Plain L2LogD (https://postpacific.mmorpg-game.online/showthread.php?t=2185)

rodier 11.10.2005 14:29

[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 :)

rodier 11.10.2005 23:55

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?

Truffe 12.10.2005 00:48

Quote:

Originally Posted by horyfilipe
lol? why running it then?

Are you blind ? :|

Quote:

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?

duante 12.10.2005 01:52

Quote:

Originally Posted by rodier
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

RmzVoid 12.10.2005 02:30

> /dev/null
)))
I just not start logd and all work )))

elcapo 13.10.2005 03:46

excelent idea and work, i will try it.

rodier 13.10.2005 13:02

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

SoaPy 13.10.2005 13:12

Woow rodier, i have to say congratulations and tnx for this

elcapo 14.10.2005 03:26

i have crash problems when i run it, after.. 2 hs.

wton 14.10.2005 04:13

i test for 24 hrs and work fine ^^

really work fine.. thanks rodier ^^

good work :D

lamnh 14.10.2005 12:17

THX alot rodier , my CPU usage <5% , great !

lamnh 14.10.2005 21:45

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.

rodier 17.10.2005 09:10

again..
credit goes to Aralyon - member of my team..

and he maybe know why its crashing on some servers.. he write here report

aralyon 17.10.2005 09:16

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

aralyon 17.10.2005 09:20

Quote:

Originally Posted by lamnh
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

a-dru 27.06.2006 04:22

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 (

SlayerX 27.06.2006 08:39

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.

Sayrus 03.07.2006 13:32

reshare new version pls

smeli 06.07.2006 07:01

waiting for reshare since first post


All times are GMT. The time now is 23:02.