Entry tags:
Still a memory leak
I previously noted an apparent memory leak in several workers under Perl 5.14.2. We upgraded the Encode module because it had a known memory leak bug and seemed relevant, and that did actually slow down the memory leak somewhat. However, I now need help brainstorming what could still be causing this. The affected workers seem to be synsuck, send-email, and resolve-extacct, so I've set cron jobs to restart those every so often.
Honestly, what can resolve-extacct be doing that causes it to grow to 9GB in size over the course of a week? We will probably have to resort to profiling memory usage to figure this one out.
Honestly, what can resolve-extacct be doing that causes it to grow to 9GB in size over the course of a week? We will probably have to resort to profiling memory usage to figure this one out.

no subject
no subject
ETA: found same problem in send-email
no subject
no subject
no subject
no subject
no subject
ETA: send-email is doing DNS lookups too; code is in external TheSchwartz::Worker::SendEmail module rather than LJ/Sendmail.pm as I had thought.
no subject
no subject