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

[GEMPAK #IIL-455514]: semget: No space left on device



Hello Gustavo,

Simply put, "semget: No space left on device" means there is no more space left 
in Semaphore Arrays (in this case for gdplot2). The cause seems to be that 
programs that didn't terminate properly still "use" semaphores in the kernel, 
although the corresponding process does not exist anymore. 

My first question is, are you executing "gpend" at the end of your scripts?  If 
not, adding this command should clear up these problems.

You can also look at the semaphore arrays on your server using the following 
command.

ipcs -s

If you see too many of them, you can run the following command to clear them 
out:

for i in `ipcs -s | awk '/nobody/ {print $2}'`; do (ipcrm -s $i); done


You can read more about semaphores here:

http://sunsite.nus.sg/LDP/LDP/tlk/node58.html

Hope this helps,

Michael 





> Dear Unidata's people
> 
> We have a problem when running some scripts.
> Now and then appears this message
> "semget: No space left on device"
> (See bellow the parameters, it runs gdplot2)
> 
> When rebooting the machines it works again.
> Could you know where the problem is?
> 
> Thank you. Best regards,
> 
> Gustavo Pittaluga
> 
> 
> 
> 
> 
> Creating process: gplt for queue 111181826
> GDFILE    Grid file
> /home/ldm/data/gempak/model/gfs/2009032512_thin.gem
> GDATTIM   Grid date/time                    f024
> GLEVEL    Grid level                        0 ! 0 ! 850
> GVCORD    Grid vertical coordinate          none ! none ! pres
> PANEL     Panel loc/color/dash/width/regn   0
> SKIP      Skip_cntr/skip_plt_x;skip_plt_y   0/2;2
> SCALE     Scalar scale / vector scale       0
> GDPFUN    Scalar grid or vector grid funct  p24m ! pmsl
> TYPE      GDPLOT2 function processing type  f ! c ! b
> CONTUR    Subbox/smooth                     3/0
> CINT      Contour interval/min/max          ! 4 !
> LINE      Color/type/width/label/smth/fltr  5/1/1
> FINT      Fill interval/min/max             5/0.1/105! !
> FLINE     Fill colors/fill types            0;30-7
> HILO      Color/symbol/rng/rad/cnt/intp
> HLSYM     HILO txt size/posn/font/wdth/hw   3/2/22/1/hw
> CLRBAR    Color/ornt/anch/x;y/ln;wd/freq|t  1/v/ll/.02;.4//|0.5 !
> 1/v/ll/.005;.55/.4;.01
> WIND      Wind symbol/siz/wdth/typ/hdsz     bk1
> REFVEC    Mag;x;y;txtsiz/font/wdth/HW;labl
> TITLE     Title color/line/title            1/-1!1/-2!1/-3
> TEXT      Size/fnt/wdth/brdr/N-rot/just/hw  0.7/1//HW
> CLEAR     Clear screen flag                 y
> GAREA     Graphics area                     -65;-110;-10;-50
> IJSKIP    Iskp;Istrt;Istp/Jskp;Jstrt;Jstp   0
> PROJ      Map projection/angles/margins|dr  SCC
> MAP       Map color/dash/width/filter flag  15/1/1
> MSCALE    fgc;bgc;mask/units/lat;hide/valu  0
> LATLON    Line color/dash/width/freq/inc/l  29/10/1/1;3/5;5//S
> DEVICE    Device|name|x size;y size|color   gif |
> /home/ldm/web/model/12_gfs_24.gif
> STNPLT    Txtc/txt attr|marker attr|stnfil
> SATFIL    Satellite image filename(s)
> RADFIL    Radar image filename(s)
> IMCBAR    Color/ornt/anch/x;y/ln;wd/freq
> LUTFIL    Enhancement lookup table filenam  default
> STREAM    lines/arrows/stop/slow/scale
> POSN      Position / Text format            0
> COLORS    Color list                        31
> MARKER    Marker color/type/size/width/hw   0
> GRDLBL    Grid point label color            0
> FILTER    Filter data factor                no
> Parameters requested: GDFILE,GDATTIM,GLEVEL,GVCORD,PANEL,SKIP,SCALE,GDPFUN,
> TYPE,CONTUR,CINT,LINE,FINT,FLINE,HILO,HLSYM,CLRBAR,WIND,REFVEC,TITLE,TEXT,
> CLEAR,GAREA,IJSKIP,PROJ,MAP,MSCALE,LATLON,DEVICE,STNPLT,SATFIL,RADFIL,
> IMCBAR,LUTFIL,STREAM,POSN,COLORS,MARKER,GRDLBL,FILTER.
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>
> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2> GEMPAK-GDPLOT2>semget: No space left on
> device
> [GEMPLT -21]  NODEVC - Invalid device selected.
> 
> 
> 


Ticket Details
===================
Ticket ID: IIL-455514
Department: Support GEMPAK
Priority: Critical
Status: Open