egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Psig + Eggdrop = timeout

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
fizz
Voice


Joined: 21 Feb 2011
Posts: 2
Location: France

PostPosted: Mon Feb 21, 2011 7:11 pm    Post subject: Psig + Eggdrop = timeout Reply with quote

Hi,

I have an Eggdrop with Pisg.
Eggdrop works fine, but while Pisg analyze logs, it freeze completely.
There is only 1years of log (700.000 lines), 1 file by day.

After each pisg analyze (env 1minute), Eggdrop stops responding (freeze) for another 3 or 5 minutes Oo
Sometime I have a ping timeout...

And when I launch Pisg by myself (./psig), It happens the same thing.
So I think its not directly due to Eggdrop but Pisg (I saw 99% CPU for perl, during psig running)

Have you same issue ?
If yes, how do you can keep many years of logging ?
Why Eggdrop does not respond, when I run Psig manually ?
Why Eggdrop continues to freeze when Psig finished ?

Its a VM with this configuration :
OS : Debian 6
Eggdrop : 1.6.20
Pisg : 0.72
Proc : Xeon E5520 (2 Virtual Processors)
MEM : 2Go
HD : 10Go
Log : 700K lines 34Mo

Thank you,
F.
Back to top
View user's profile Send private message
thommey
Halfop


Joined: 01 Apr 2008
Posts: 73

PostPosted: Mon Feb 21, 2011 7:27 pm    Post subject: Reply with quote

Pisg takes a while to parse that amount of logfiles, it does that everytime and will get slower and slower when the logfiles grow larger or get more, yes, that's normal. The solution is to not run pisg from eggdrop, but make it run every day or something via crontab. Eggdrop blocks in [exec] until the command it executes finishes, there are methods to execute stuff "in the background" - piped open or bgexec or exec with &, but I'd recommend not running pisg from eggdrop at all, crontab should suit your needs:

See http://www.df7cb.de/projects/pisg/pisg/scripts/crontab or similar
Back to top
View user's profile Send private message
fizz
Voice


Joined: 21 Feb 2011
Posts: 2
Location: France

PostPosted: Sat Jul 23, 2011 9:40 am    Post subject: Reply with quote

I fixed the issue, by another way but now with more logs i have no choice, I'll do that..

Thank you (many month later).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber