Welcome! Log In Create A New Profile

Advanced

Memory leak in PB 1.0+ (r320)

Posted by Anonymous User 
Anonymous User
Memory leak in PB 1.0+ (r320)
April 08, 2010 01:10AM
PeerBlock 1.0+ (r320) BETA RELEASE
is obviously leaking memory as you can see from the screen shots attached.
Attachments:
open | download - PeerBlock Error 091130.PNG (16.9 KB)
open | download - PeerBlock Error 100326.PNG (14.1 KB)
open | download - PeerBlock Error 100402.PNG (20.1 KB)
open | download - PeerBlock Error 100408.PNG (19 KB)
Anonymous User
Conf, log & dmp files (Re: Memory leak in PB 1.0+ (r320))
April 08, 2010 01:33AM
Here are peerblock.conf -.dmp and -.log files
Attachments:
open | download - peerblock.conf (5.1 KB)
open | download - peerblock.dmp (28.3 KB)
open | download - peerblock.log (399.8 KB)
Re: Memory leak in PB 1.0+ (r320)
April 08, 2010 02:47AM
avatar
How big is your history.db file?

It might be worth deleting it if you don't need it or setting it to archive every xx days.
Anonymous User
history.db > 7GB (Re: Memory leak in PB 1.0+ (r320))
April 08, 2010 09:17AM
history.db was indeed more than 7 Gb!

I renamed it and restarted PB, now I just will wait and see if it happens again.

It's strange though, I know I had it set to just log blocked entries but it seems like it was set to log both allowed and blocked after the upgrade. Also, it was set to delete entries more than 2 days old and I don't think that history.db would be that big with only two days worth of logging?

Settings screen shot attached.
Attachments:
open | download - PeerBlock Settings 1.PNG (22 KB)
Re: history.db > 7GB (Re: Memory leak in PB 1.0+ (r320))
April 08, 2010 09:29AM
avatar
You may want to set the history size to something like 100MB if you don't need that much history.

It depends on how much blocked connections you have within those 2 days. Also with SQLite, it doesn't trim the size back down of your history.db if you delete stuff unless you tell it to as it may take a while to do.
So what is history.db for anyway?
I guess I need some sort of ODBC interface or something to be able to read it?
What use can I have from it?
Re: Memory leak in PB 1.0+ (r320)
April 10, 2010 10:06AM
history.db is for storing history of logs for you to view on PeerBlock, logs of connections being blocked/allowed that is.



Edited 1 time(s). Last edit at 04/10/2010 10:06AM by Tippy.
Sorry, only registered users may post in this forum.

Click here to login