Hi all,
I'm using ProtaX v0.3.3.0 Build 15.25 [debug]
And it's using alot of RAM!!!
Working Scripts:
BotMgr 1.01b.lua
ClonedAlert v1.0.lua
deflood v4.5.2.lua
fakeshare.lua
RoboCopv8.0b.lua
Time+.lua
TimeOut v0.5.lua
Trivia-Ex v0.645.lua
UserCleaner v2.lua
userinfo.lua
And Serving 185 users
-=-=-=-=-=-=-=-=-=-=-
(http://img.photobucket.com/albums/v509/BoJlk/Forum%20Use/ProtaXRAM.jpg)
(http://img.photobucket.com/albums/v509/BoJlk/Forum%20Use/ProtaXRAM22.jpg)
if userinfo.lua is NightLitch1s one, it eats a goddamn amount of RAM.
What program do you use to show that all info BoJlk?
QuoteOriginally posted by madman
What program do you use to show that all info BoJlk?
this is cause of userinfo. when i tried 2 make my own, i ran it. it consumes a lot ram as it stores all users myinfos in a global table.
Quotebastya_elvtars: "if userinfo.lua is NightLitch1s one"
[size=1]-- user info script by lallo82
-- functions by plop (great work) [/size]
Quotemadman "What program do you use to show that all info BoJlk?"
i Use the:
Download - Process Explorer (x86 - 230 KB) - For WinNT/2K/XP (http://www.sysinternals.com/files/procexpnt.zip)
Process Explorer by Sysinternals (http://www.sysinternals.com/ntw2k/freeware/procexp.shtml)
QuoteOriginally posted by BoJlk
[size=1]-- user info script by lallo82
-- functions by plop (great work) [/size]
that script doesn't have a cleaner, so the db keeps growing and growing.
flush the db reguarly and it works fine, or use another script for it.
plop
QuoteOriginally posted by BoJlk
i Use the:
Download - Process Explorer (x86 - 230 KB) - For WinNT/2K/XP (http://www.sysinternals.com/files/procexpnt.zip)
Process Explorer by Sysinternals (http://www.sysinternals.com/ntw2k/freeware/procexp.shtml)
thanks =)
You welcomed madman, Have fun.
After you'll try the Program you won't forget it! :D
And plop Can you add a cleaner to this script?
or at least direct me to another userinfo script.
*edit
Plop! how do i flush the DB ?(
QuoteOriginally posted by BoJlk *edit
Plop! how do i flush the DB ?(
stop the script and delete all files in the userinfo folder.
i don't feel like adding a cleaner 2 this script because there are way better scripts @ the moment then this really old version of mine.
i do have a newer version inside ai tho, but it doesn't support as much clients as other scripts.
we just don't allow all those mods in our networks.
and beside this all those clients can show the standard dc++ tag.
so adding it 2 ai would only make it waste resources.
what other userinfo script you should use is more up 2 you 2 decide.
search the board a bit and try them all.
plop
well, i've removed the userinfo.lua
but still ProtaX climbing up on the RAM usage...
thou alot smaller (Currently: 25MB).
What amount of RAM should the ProtaX have for 185 Users and 8 Scripts?
QuoteOriginally posted by BoJlk
well, i've removed the userinfo.lua
but still ProtaX climbing up on the RAM usage...
thou alot smaller (Currently: 25MB).
What amount of RAM should the ProtaX have for 185 Users and 8 Scripts?
25M RAM is quite acceptable, especially with robocop
also restart the hub after deleting the script, ptokax fails 2 reallocate ram after script removal. Script removal seems problematic 4 me, hope PPK will confirm this.
Quote25M RAM is quite acceptable, especially with robocop
lol why is that if i may ask?
and
a) It's not smart to give your opinion about a other script since your having your own script package.
b) To keep the peace i sure don't do that.
c) It doesn't make ya populair either.
If you wanne say something about some 1's script go talk to him first then posting it on forum
So what answer shell i give you.
1. mmm yours isn't that good either
2. i believe mine is better
3. i got it all wrong
you get the picture ;)
QuoteOriginally posted by Optimus
Quote25M RAM is quite acceptable, especially with robocop
lol why is that if i may ask
first because its a huge script (its enuf in itself lol)
second: ppl reported that it has a big (relatively) memory usage - it is not a problem, but a fact
Robocop isn't huge it's verry small you smart ass. Specialy with Version 9.x memory is verry small
i compared my script with others and in relative to them mem usage is verry small.
It's far away from Channel bot
cheers
QuoteOriginally posted by Optimus
Robocop isn't huge it's verry small you smart ass. Specialy with Version 9.x memory is verry small
i compared my script with others and in relative to them mem usage is verry small.
It's far away from Channel bot
cheers
huge means many functions, dont misunderstand me (i dont wanna disagree w/ a mod , i did it far enuf times)
Quoteplop: "stop the script and delete all files in the userinfo folder"
I deleted the Scripts and restarted the HUB...
And the
userinfo folder is for the UserCleaner v2.lua! ?(
it contains two files
lastseen.lst , noclean.lstit's not userinfo.lua files...
Currnet RAM usage:
(http://img.photobucket.com/albums/v509/BoJlk/Forum%20Use/ProtaXRam002.jpg)(http://img.photobucket.com/albums/v509/BoJlk/Forum%20Use/ScriptsMemory.jpg)
?(
And Optimus, bastya_elvtars
That was the srtangested/useless POSTs i ever read!
i never expected you to argue about nothing!
Those POSTs didn't helped me at all nor gave any solution to my problem...Those was the strangested 5 posets i ever read (or you both had a bad day or something ?( )
from now on its not the scripts but ptokax itself that eats ram as i see the mem used by scripts
usercleaner script needs those files 2 determine who should be cleaned - it is the script that uses the userinfo folder
sorry for being a pest, i should really have kept that thing about robo for myself... :baby:
well i must admid that RCv8 has a big memory legg, so i suggest changing to v9 will solve your prob a little.
peace ;)
if Optimus you're here then:
Can you make some kind of settings export for RoboCop that might come as a seperate program...
it will export settings from v8 or v9 into file
and the file will be imported into v8 v9...
Because i tried to export some logs from v8
and you even changed the loging in v9
*edit
I want to make the HUB's integration as smoother as possible
Maybe not only for these versions! (v8, v9)
Hi there, it's almost impossible at the moment. The settings files are to much it's more then 1 hehe
a) I need to rewrite the settings files and put them in to 1 large file etc. But even then it's complicated.
b) I change my script to often, as you sayed before all setting files are different. That's also a reason i will be hard todo
I have no time at the moment to make your wish reality
Greetingz Optimus
hehe...maybe in a distant FUTURE.
When you'll become a big Corporation Distributing the "RoboCop? Corporation" Software"Around the World"
then one of your employes will take the assigment on himself... :D :D :D
Sorry for all the scripters out there that make a good Security scripts, but RC rosks...all in one features.
Yhea sometimes i'm thinking about partners to it would make things easyer. But trust is the main criterium so i haven't found any 1 yet hehe :D
TRUST is a BIG issue
*edit
BTW is 54MB is still acseptable?
for ProtaX Ram usage?!
Well, the problem still there!
it's now 97MB of RAM usage! ?(
After deleting the userinfo.lua and didn't add any other Scripts neither.
Acording to this software, my hub is taking 11 MB of ram when there are no users in it (after restart) and 11 MB when there are 53 users in it. Have to wait till evening, when my hub serves up to 120 - 130 users...
Im using RoboCop 8.0b, topic_changer, deflood (by plop) some kind of simple anti spam and time bot
Well i've noticed that when i enable CMD's
in Users and Chats the Memory Usage starts to Climb up...when i had 97MB i've disabled it and it droped to around 80MB...
QuoteOriginally posted by BoJlk
Well i've noticed that when i enable CMD's
in Users and Chats the Memory Usage starts to Climb up...when i had 97MB i've disabled it and it droped to around 80MB...
think of the fact that the computer has to show the cmds continually
[10:47] (81.185.90.183) > $Key A@G?/%DCN096%/?wgG"!T?????ĂPň?07??52?31rđŕ??/%DCN000%/łň2|
[10:47] (81.185.90.183) > $ValidateNick biigix|
[10:47] biigix (81.185.90.183) > $Version 1,0091|
[10:47] biigix (81.185.90.183) > $GetNickList|
[10:47] biigix (81.185.90.183) > $MyINFO $ALL biigix mldc client$ $DSL$$ 11534336$|
[10:47] (212.90.82.81) > $Key Q?ˇ2?Ő0đă?F!˛/%DCN005%/WBFđ?ŁŐ?SRŇb?Q3Băˇ?A@s˛|
[10:47] (212.90.82.81) > $ValidateNick mzpppi|
[10:47] x User removed: biigix (Socket 308)
[10:47] hugo_fra_tv2? (81.225.83.109) > $UserIP biigix|
[10:47] mzpppi (212.90.82.81) > $Version 1,0091|
[10:47] mzpppi (212.90.82.81) > $GetNickList|
[10:47] mzpppi (212.90.82.81) > $MyINFO $ALL mzpppi mldc client$ $DSL$$ 11534336$|
[10:47] mzpppi (212.90.82.81) > $RevConnectToMe [FIN]Killian mzpppi|
[10:47] mzpppi (212.90.82.81) > $ConnectToMe [FIN]Killian 212.90.82.81:4444|
[10:47] mzpppi (212.90.82.81) > $RevConnectToMe [FIN]Killian mzpppi|
[10:47] mzpppi (212.90.82.81) > $ConnectToMe [FIN]Killian 212.90.82.81:4444|
[10:47] x User removed: mzpppi (Socket 380)
[10:47] hugo_fra_tv2? (81.225.83.109) > $UserIP mzpppi|
[10:47] (81.153.39.84) > $Key в?Qq 3ă˛??!?&/%DCN000%/?đ??ˇC?Ă0?/%DCN036%/ćR?CĐ!"?!BPR?|
[10:47] (81.153.39.84) > $ValidateNick wnyixn|
[10:47] wnyixn (81.153.39.84) > $Version 1,0091|
[10:47] wnyixn (81.153.39.84) > $GetNickList|
[10:47] wnyixn (81.153.39.84) > $MyINFO $ALL wnyixn mldc client$ $DSL$$ 11534336$|
[10:47] x User removed: wnyixn (Socket 308)
[10:47] hugo_fra_tv2? (81.225.83.109) > $UserIP wnyixn|
[10:47] (82.135.28.44) > $Key ?pd?ł#0!?đaq?/%DCN000%/@Ą?Cc?p!v/%DCN005%/Ńe@"W/%DCN096%/?&?đ?WĐ????|
[10:47] (82.135.28.44) > $ValidateNick abewad|
[10:47] abewad (82.135.28.44) > $Version 1,0091|
[10:47] abewad (82.135.28.44) > $GetNickList|
[10:47] abewad (82.135.28.44) > $MyINFO $ALL abewad mldc client$ $DSL$$ 11534336$|
[10:47] x User removed: abewad (Socket 308)
[10:47] hugo_fra_tv2? (81.225.83.109) > $UserIP abewad|
[10:47] [HUN]hungaricum (147.229.192.34) > $Search Hub:[HUN]hungaricum F?T?0?1?primus|
[10:47] [HUN]hungaricum (147.229.192.34) > $RevConnectToMe [HUN]hungaricum Nidaros|
[10:47] Nidaros (80.202.30.254) > $ConnectToMe [HUN]hungaricum 80.202.30.254:4012|
[10:47] (69.111.154.210) > $Key ?U"S GWBR??Rňˇňq?/%DCN036%/1CC%?pB/%DCN096%/@@ ?P??7?V!12|
[10:47] (69.111.154.210) > $ValidateNick jckqkt|
[10:47] jckqkt (69.111.154.210) > $Version 1,0091|
[10:47] jckqkt (69.111.154.210) > $GetNickList|
[10:47] jckqkt (69.111.154.210) > $MyINFO $ALL jckqkt mldc client$ $DSL$$ 11534336$|
[10:47] x User removed: jckqkt (Socket 328)
[10:47] hugo_fra_tv2? (81.225.83.109) > $UserIP jckqkt|
[10:47] (67.71.84.9) > $Key v?˛0b? ŕ?uŃ?ŕ'ć?ŕ 1Ŕr R??ŕ&F??ł#g/%DCN000%/uCń?|
[10:47] (67.71.84.9) > $ValidateNick xDonkey_User|
[10:47] xDonkey_User (67.71.84.9) > $Version 1,0091|
[10:47] xDonkey_User (67.71.84.9) > $GetNickList|
[10:47] xDonkey_User (67.71.84.9) > $MyINFO $ALL xDonkey_User mldc client$ $DSL$$ 11534336$|
[10:47] x User removed: xDonkey_User (Socket 328)
This has to be stored in ram, so yes, it stores a lot. Disable that window. (forgot this)
well, does it have a *.log file somewhere?
QuoteOriginally posted by BoJlk
well, does it have a *.log file somewhere?
ptokax is able to log the mainchat only. These commands are not required to log, cause they are plain dc protocol commands. You have notning to do them, the whole function is only good for developing purposes.
Okey...good enought for me.
DCH++ is a hubsoft with small memory footprint, and you can extend it with plugins and LUA scripts.
It's evolving to an ADC protocol hubsoft as we speak.
ADC promises better efficiency as the command names are shorter (RCM instead of $RevConnectMe) and all the other things that come with ADC (better search, increased security, CID, etc..).
http://dchpp.digitalbrains.com/
QuoteOriginally posted by Saivert
ADC promises better efficiency as the command names are shorter (RCM instead of $RevConnectMe)
xRCM mycid targetcid proto TO
\n send in UTF-8 (something like 2 bytes per char) instead of $RevConnectToMe mynick targetnick| ... good choice of example how ADC use more badwith :D
I know all this, that isn't the real question here. This thread was about the efficiency of the hub software itself, not what data flows through the net (I hate protocol wars). We all know that ADC will takeover anytime soon and that It might require more bandwith. But I don't think that matters becuase the ADC protocol promises so many benefits that it out-weighs the larger connection strings. And who knows, maybe becuase of the larger connections string it requires fewer transactions in order to a simple task as most of the information is sendt in one go, and silly protocol extentions are now a thing of the past.
The internet itself is based on very old technology and would require a overhaul itself (HTTP is connection-less, lacks native session support which forces scripts to use hacks in order to make it happen).