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

Re: [microblaze-uclinux] Possible memory leak in Linux kernel 2.6 with PetaLinux v0.30



Hello John,

I have already solved this issue. It was a problem with the
configuration of the busybox shell. I have switched of the option
"sh: history saving" and the problem disappeared.

Sorry that I haven't reported the solution to this until now.

Hans

John Williams <jwilliams@xxxxxxxxxxxxxx> wrote:
> Hi Johan,,
> 
> Sorry for the delayed reply - I'l ticket this one up and check it out 
> asa soon as possible.  Any updated information on your end about the issue?
> 
> Thanks,
> 
> John
> 
> Dr. Johann Pfefferl wrote:
> >Hello,
> >
> >has anyone out there perceived the following behaviour on Petalinux
> >v0.30 with kernel 2.6 on Microblaze. If I do the following in the
> >command shell:
> >
> ># while :;do free;done
> >
> >The shown "used" memory grows endless until the kernel kills a process
> >or the kernel terminates with a panic. If the kernel kills a process you
> >sometimes can login again. But the used memory hasn't shrinked. The used
> >shell and the "free" command are parts of the busybox. First I thought
> >that the busybox has a memory leek. But in this case the kernel normally
> >should kill the busybox process and the system should free the used
> >memory and the system continues to run. Or is there a memory leak inside
> >the kernel where process starting/forking/exec/loading takes place?
> >
> >Hopefully some people out there can check this on their platform and
> >report the results of this simple test.
> >
> >Thanks
> >   Hans
> >
> 
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : 
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/

-- 
Dr. Johann Pfefferl   ------------   mailto j.pfefferl at eubus dot net
Eubus GmbH            http://www.eubus.net +++++ http://www.hydraxc.com
Gollierstr. 70
D-80339 Muenchen
Phone: +49 (0)89 45 22 578-67     Fax: +49 (0)89 45 22 578-55
Registergericht Muenchen HRB 145 336, Ust-Id Nr. DE 225 783 933
Geschaeftsfuehrer: Volker Ulrich, Peter Sibities
==
 -o)   A computer program does what you tell it to do,
 /\\        not what you want it to do.               
_\_v-                                                 
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/