[ic] memory usage

Mike Heins interchange-users@interchange.redhat.com
Fri Dec 21 15:33:01 2001


Quoting Peter Jakl (peter@jakl.net):
> > >
> > > As a comparison, here are my largest interchange, httpd and mysql
> > > processes, as reported by top and then pasted here:
> > >
> > > PID USER     PRI  SIZE  TRS  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> > > 19634 centrewo   0 25252  636  24M 15032 S     0.0  1.6   0:08
> > interchange
> > > 20712 nobody     0  5788  808 5396  4884 S     0.0  1.3   0:00 httpd
> > > 671 mysql      0  4380 1168 4076  1112 S     0.0  0.2   0:00 mysqld
> > >
> > > It looks like both your interchange and mysql processes are using
> > > around 10x the memory that mine do, which is why I asked whether
> > > you meant 20.4MB rather than 204MB.
> > >
> > > I'm at a loss to explain how your interchange process could sustain
> > > a size of 204MB, unless you are keeping your products table as an
> > > 'in-memory' table, or are running thousands of shops.  Even then,
> > > your mysqld seems to be using more memory than it is entitled to.
> > >
> > > Can anyone else shed some light on this?
> > 
> > mine is similar to above also...
> > 
> >   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> > 13877 interch    9   0 24916  24M 14260 S     0.0  3.2   0:15
> interchange
> > 13017 apache     9   0  3520 3520  3104 S     0.0  0.4   0:00 httpd
> >   610 mysql      5   0  3368 3368  1496 S     0.0  0.4   0:01 mysqld
> > 
> 
> I created the original post on this. Just to be clear, here's my pasted
> output from "top":
> 
>   PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME
> COMMAND
>  4601 interch    9   0  205M 194M  1572 S       0  0.0 38.7   0:28
> interchange
>   517 mysql      9   0 10740  10M  1544 S       0  0.0  2.0   0:00
> mysqld
>   520 mysql      8   0 10740  10M  1544 S       0  0.0  2.0   0:01
> mysqld
>   521 mysql      9   0 10740  10M  1544 S       0  0.0  2.0   4:31
> mysqld
> 

Nobody is mentioning operating system here.

While it is possible to have large Interchange footprints (I have seen
up to 100M with a couple of thousand subcatalogs) it should not approach
that size.

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

I am a great believer in luck, and I find that the harder I work
the more luck I have. -- Thomas Jefferson