Print

Print


  Hi,

  The need for 16GB swap was some solaris-specific oddity (I really should
make a platform-specific config summary page). 6GB should be fine on linux.

  Gregory, note that that you should check how much memory xrootd itself
is using 'top' (i.e. figure out how much memory is being used when you get
that error). You should also check if there is some shell limit which
would constrain it. 

                                   Pete

On Wed, Dec 22, 2004 at 11:34:34AM -0800, Stephen J. Gowdy wrote:
> You cache (on the right) is using a lot. That should be freed if memory is
> needed. You do seem to have a stange amount of memory in that machine
> though (884MB?). You might want to add more virtual memory, the ones at
> SLAC have 16GB I believe. More real memory would also help.
> 
> On Wed, 22 Dec 2004, Gregory Schott wrote:
> 
> >
> > thanks stephen... I hadn't though about it..
> >
> > looks like the memory is indeed kind of low... (7248K free / 904376K av)
> >
> > -- gregory
> >
> >
> >    8:22pm  up 26 days, 11:53,  6 users,  load average: 0.00, 0.00, 0.00
> > 159 processes: 158 sleeping, 1 running, 0 zombie, 0 stopped
> > CPU0 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
> > CPU1 states:  0.1% user,  0.1% system,  0.0% nice, 99.1% idle
> > Mem:   904376K av,  897128K used,    7248K free,       0K shrd,    4332K buff
> > Swap: 6289320K av,   68772K used, 6220548K free                  744132K cached
> >
> >    PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> > 10970 schott    18   0  1100 1100   832 R     0.5  0.1   0:00 top
> >      1 root       8   0   488  440   420 S     0.0  0.0   0:39 init
> >
> >
> >
> >
> >
> >
> >
> >
> > On Wed, 22 Dec 2004, Stephen J. Gowdy wrote:
> >
> > > top will tell you.
> > >
> > > On Wed, 22 Dec 2004, Gregory Schott wrote:
> > >
> > >>
> > >> Hello,
> > >>
> > >>    I don't think this is a xrootd specific problem, but maybe it is... has
> > >> anyone already have seen a message while trying to open a file saying
> > >> that the redirector's memory (for me: babar2.fzk.de) is insufficient?
> > >>    How can I check the memory used/total?
> > >>
> > >> -- Gregory
> > >>
> > >>
> > >> ======== DUMPING SERVER RESPONSE HEADER ========
> > >>        ServerHeader.streamid = 0x05 0x00
> > >>          ServerHeader.status = kXR_error (4003)
> > >>            ServerHeader.dlen = 110
> > >> ========== END DUMPING SERVER HEADER ===========
> > >>
> > >> Info in <TXNetConn::ReadPartialAnswer>: Server [babar2.fzk.de:1094] did not answer OK. Resp status is [kXR_error]
> > >> Error in <TXNetConn::Open>: Server [babar2.fzk.de:1094] did not return OK message for last request.
> > >> Error in <TXNetConn::SendGenCommand>: Server declared error 3008: 'Insufficient memory to open
> > >> /store/PR/R14/AllEvents/0004/82/14.4.2c/AllEvents_00048280_14.4.2cV00.01.root'
> > >> Error in <TXNetFile::CreateTXNf>: Error opening the file ///store/PR/R14/AllEvents/0004/82/14.4.2c/AllEvents_00048280_14.4.2cV00.01.root
> > >> on host babar2.fzk.de:1094
> > >>
> > >>
> > >>
> > >> -------------- Dr. Gregory Schott --------------
> > >>   Institut fuer Experimentelle Kernphysik (IEKP)
> > >>               Universitaet Karlsruhe
> > >>                   Postfach 3640
> > >>                 D-76021 Karlsruhe
> > >>              tel.: +49-(0)724782-3537
> > >>              fax.: +49-(0)724782-4038
> > >>             e-mail: [log in to unmask]
> > >> -----------------------------------------------
> > >>
> > >
> > > --
> > > /------------------------------------+-------------------------\
> > > |Stephen J. Gowdy                     | SLAC, MailStop 34,       |
> > > |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
> > > |http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
> > > |EMail: [log in to unmask]       | Tel: +1 650 926 3144     |
> > > \------------------------------------+-------------------------/
> > >
> >
> > -------------- Dr. Gregory Schott --------------
> >   Institut fuer Experimentelle Kernphysik (IEKP)
> >               Universitaet Karlsruhe
> >                   Postfach 3640
> >                 D-76021 Karlsruhe
> >              tel.: +49-(0)724782-3537
> >              fax.: +49-(0)724782-4038
> >             e-mail: [log in to unmask]
> > -----------------------------------------------
> >
> 
> --
>  /------------------------------------+-------------------------\
> |Stephen J. Gowdy                     | SLAC, MailStop 34,       |
> |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
> |http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
> |EMail: [log in to unmask]       | Tel: +1 650 926 3144     |
>  \------------------------------------+-------------------------/



-------------------------------------------------------------------------
Peter Elmer     E-mail: [log in to unmask]      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------