Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.10.2005, 14:29   #1
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default [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..
rodier is offline  
Old 11.10.2005, 14:36   #2
andreagighi
Архивный участник
 
Join Date: Mar 2005
Posts: 74
Default

tnks m8 very useful
andreagighi is offline  
Old 11.10.2005, 15:43   #3
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

err it may look obvious but is it inserting data to sql? and thanks for the share
horyfilipe is offline  
Old 11.10.2005, 23:55   #4
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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
rodier is offline  
Old 12.10.2005, 00:17   #5
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

lol? why running it then?
horyfilipe is offline  
Old 12.10.2005, 00:48   #6
Truffe
Архивный участник
 
Join Date: May 2005
Posts: 944
Default

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.
Truffe is offline  
Old 12.10.2005, 00:51   #7
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

heheh if it does nothing, why running? you may just decide not to run.. er?
horyfilipe is offline  
Old 12.10.2005, 01:52   #8
duante
Архивный участник
 
Join Date: Aug 2005
Posts: 36
Default

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
duante is offline  
Old 12.10.2005, 02:30   #9
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

> /dev/null
)))
I just not start logd and all work )))
RmzVoid is offline  
Old 13.10.2005, 03:46   #10
elcapo
Архивный участник
 
Join Date: Mar 2005
Posts: 107
Default

excelent idea and work, i will try it.
elcapo is offline  
Old 13.10.2005, 13:02   #11
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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
rodier is offline  
Old 13.10.2005, 13:12   #12
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

Woow rodier, i have to say congratulations and tnx for this
SoaPy is offline  
Old 14.10.2005, 03:26   #13
elcapo
Архивный участник
 
Join Date: Mar 2005
Posts: 107
Default

i have crash problems when i run it, after.. 2 hs.
elcapo is offline  
Old 14.10.2005, 04:13   #14
wton
Архивный участник
 
Join Date: May 2005
Posts: 463
Default

i test for 24 hrs and work fine ^^

really work fine.. thanks rodier ^^

good work
wton is offline  
Old 14.10.2005, 12:17   #15
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

THX alot rodier , my CPU usage <5% , great !
lamnh is offline  
Old 14.10.2005, 21:45   #16
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

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 ?
lamnh is offline  
Old 16.10.2005, 13:06   #17
Sprinkle
Архивный участник
 
Join Date: Mar 2005
Posts: 82
Default

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.
Sprinkle is offline  
Old 17.10.2005, 09:10   #18
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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

and he maybe know why its crashing on some servers.. he write here report
rodier is offline  
Old 17.10.2005, 09:16   #19
aralyon
Архивный участник
 
Join Date: Sep 2005
Posts: 72
Default

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 is offline  
Old 17.10.2005, 09:20   #20
aralyon
Архивный участник
 
Join Date: Sep 2005
Posts: 72
Default

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
aralyon is offline  
Old 25.06.2006, 14:39   #21
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

reshare new version pls? link down
horyfilipe is offline  
Old 27.06.2006, 04:22   #22
a-dru
Архивный участник
 
Join Date: Sep 2005
Posts: 32
Default

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 (
a-dru is offline  
Old 27.06.2006, 08:39   #23
SlayerX
Архивный участник
 
Join Date: Dec 2005
Posts: 82
Default

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.
SlayerX is offline  
Old 03.07.2006, 13:32   #24
Sayrus
Архивный участник
 
Join Date: Jan 2006
Posts: 43
Default

reshare new version pls
Sayrus is offline  
Old 06.07.2006, 07:01   #25
smeli
Архивный участник
 
Join Date: Apr 2006
Posts: 181
Default

waiting for reshare since first post
smeli is offline  
 


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. The time now is 20:09.