This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

eggdrop consumes a huge amount of RAM

Old posts that have not been replied to for several years.
Locked
k
kapot

Post by kapot »

I run an eggdrop 1.6.8 and I used a file server script. The script does nothing instead sending some files via dccsend tcl command, which is requested by user in channel.

Then I noticed that my bot consume a lot of RAM, in order to free it, I must kill the process and restart the bot.

Is this normal behaviour?
Is there any command in eggdrop to dispose/free RAM that being used?
f
fox

Post by fox »

You can disable some of the modules when you configure it, but that still doesn't reduce memory much. I suggest using another bot, I've found acidblood to use the least amount of ram but has no useful functions heh, or try energybot I think its called that's on eggheads.org ftp and it uses just a little more ram but about 1/4 that of eggdrops and it can do about the same amount of ****.
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

reason why emech uses a lot less ram is that there's no scripting support (ie, its pure c)
g
guppy
eggdrop engineer
Posts: 199
Joined: Mon Sep 24, 2001 8:00 pm
Location: Canada
Contact:

Post by guppy »

bot's sending large amounts of files will use more ram (the ram usage should drop when as the files finish sending)
k
kapot

Post by kapot »

Correct me if I am wrong :

If no RAM left, the bot will use SWAP memory (stored in harddisk), correct?

So, when I typed "df", I got 100% disk usage! everytime ...

Later, I found in /tmp a lot of files, those have been sent by the bot (I assumed). I am still wondering why there were a lot of files there. Then I DELETED all files in /tmp, but it did NOT help (the df command still reported 100% usage).

Then I killed the bot, voila ! 300 MB free'ed from harddisk ..

I checked inside the bot, no dccsend process or whatsoever ...

that's the story :sad:
Locked