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 error ??

Old posts that have not been replied to for several years.
Locked
User avatar
duofruo
Halfop
Posts: 94
Joined: Thu Oct 23, 2003 3:17 pm
Location: Ploiesti@.ro
Contact:

eggdrop error ??

Post by duofruo »

<AdvSide> [07:50] *** FAILED MALLOC chanprog.c (552) (4): Cannot allocate memory
<AdvSide> [07:50] * Memory allocation failed

What is this ?
Embrace The Inevitable
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

Are you using gseen.mod and stats.mod? Did you adjust #define MEMTBLSIZE to a higher size like default in mem.c? If you have enough memory you may set it easily up to 200.000. I had no problems with that on a shell.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You should be careful adjusting this on a system that is not your own.

My advice would be to contact the shell provider and ask what amount of physical memory there is, the total available memory (including swap) and the percentage limit that any user process is allowed.

You should then base it on the reply, as you could easily see your account removed.
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

AFAIK my bot used around 8-12MB of memory with these mods and this memory setting.
Im forced to windrop atm, so I cant check...

I found the option after a few weeks, because by eggdrop did not even start up with the database collected running as windrop :D.
V
Valuial

Post by Valuial »

I got a similar Problem: My Bot crashes with an Segmentation error, something with stats.mod it says in the logs...

I run stats.mod 1.4.0 dev20 AND gseen.mod on an 1.6.15 eggdrop
When the error occured the first time, it was always during purge stats - even wehn I purged right after starting the bot.
Now the Problem occures somewhat more sporadic.

regards,
Valuial

PS: Sorry for my bad english, but I'm no native English speaker...
Locked