sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] SKS RAM usage gone haywire


From: Phil Pennock
Subject: Re: [Sks-devel] SKS RAM usage gone haywire
Date: Mon, 16 Feb 2009 16:01:59 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On 2009-02-16 at 10:48 -0700, Ryan Hunt wrote:
> I don't know what is wrong with my system, I rebuilt the DB from my old
> dump.. brought it online and got updated from my peers... and then get
> stuck in a new loop trying to get new keys.
> 
> I have disabled rcon at the moment to keep from hurting my peers.
> 
> Any ideas? I have verified all permissions, created a new database. It
> got ~14k keys from my peers when I brought the new db online and all
> those keys seem to be in the database.

ktrace/strace it, see where it's failing.

Separately, the current problems are more than just you.

I restarted recon to pick up a couple of admin changes (ulimits, reopen
fds 0,1,2 on /dev/null so they're not revoked in the process) and got to
see the memory and RSS usage shoot up.  CPU was pegging out.  When it
finished, the memory/RSS stayed high but the CPU dropped back down to 0.

This maxed out at 811MB memory, so is much lower than before.

While this was happening, I hit the recon process with lsof and saw that
it was connected to [217.66.26.140], which is bazon.ru.  This is the
peer who only has a few tens of thousands of keys.

Azamat, did you ever start from a full keydump?

- -Phil
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkmZ/nYACgkQQDBDFTkDY3+ekACfYKw/vOzCTYKyAvWsxlfywoB7
pUgAnRLORvHOqfU9X7NsPjx81cfvXP+A
=Zq2F
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]