DBCRAS dsserve.k hangs

DBCRAS dsserve.k hangs

Postby rodrigo » Fri Mar 04, 2011 7:38 am

Hello

We are using IMAPP Direct Broadcast CIMSS Regional Assimilation System (DBCRAS) in a i686 Linux machine (CentOS release 4.7) without problems for a while and suddenly it stop working. Analysing the logs and process tree, I have determined that is the following line the one what is causing the script to hang:

OS \"dsserve.k ADD DBCRAS/GRIB2 GRIB TYPE=GRID DIRFILE=${OUTDIR}/DBCRAS*.latest.grib2

I have made some debugging and the line is correctly completed for execution, but the dsserve.k executable is just not responding, no CPU use, nothing. It just hangs waiting.

Do you have any clue of what happened? How can I determine the cause and solve the issue?

Thanks
rodrigo
 
Posts: 1
Joined: Thu Mar 03, 2011 11:57 am

Re: DBCRAS dsserve.k hangs

Postby kathys » Mon Mar 07, 2011 12:40 pm

Dear Sir,

The DBSSERVE part of DBCRAS has to do with the creation of the images.

When DSSERVE adds an entry, it:
Locks the file RESOLV.SRV
Reads it
Deletes it
Rewrites it
Closes file [which unlocks it]

If DSSERVE is hanging, it might be due to another DSSERVE running or some other process has a lock on RESOLV.SRV.

Please make sure that you do not have any instances of DSSERVE running (kill all of the ones that may be running). You should also check the dbCRAS/McX directory and delete any RESOLV.SRV file you find there.

You can then try to see if the command will work by setting the dbCRAS environmental variables, and then typing:

${DBCRAS_HOME}/McX/DoAll_McX ${DBCRAS_HOME}/output

Cheers,

Kathy
kathys
 
Posts: 357
Joined: Tue Jun 22, 2010 4:51 pm


Return to DB CRAS

Who is online

Users browsing this forum: No registered users and 1 guest

cron