Control: tags -1 moreinfo

On Sat, Mar 23, 2019 at 06:19:53PM -0400, Ricardo Fraile wrote:

> I attach the reports from the free, slabinfo, meminfo and ps in each step
> in the following file, the directory names are between brackets in each
> step.

You did not attach these, but linked to a tarball stored in a Google drive
instead.  Attaching this tarball here so that the information is available
to users of the Debian BTS without dependency on an external service.

> If I comment the pam_motd lines on "/etc/pam.d/ssh" and I add a pam_exec
> directly, I get the same bad memory consumtion result:

> #session    optional     pam_motd.so  motd=/run/motd.dynamic
> #session    optional     pam_motd.so noupdate
> session optional pam_exec.so stdout /bin/sh /etc/update-motd.d/10-uname

> Why the memory consumption is large is the tempfiles are created inside
> pam and executing the same from the login user doesn't produce the same
> result?

I don't know, and yours is certainly the first report I've seen of this
despite the code in the pam modules not having changed for years.

What type of filesystem is mounted at /tmp?  Is it a tmpfs?  Do you
configure something in your login environment that causes mktemp to use a
different path for tempfiles than pam itself, running in a system context,
would?  (i.e. $TMPDIR)

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]

Attachment: report.tar.gz
Description: application/gzip

Attachment: signature.asc
Description: PGP signature

Reply via email to