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

cups job hangs "network host 'foo' is busy", looks like gs invocation issue



Here is an excerpt from 'ps auxww':


root      2397  0.2  0.2  6064 2856 ?        S    15:58   0:01 /usr/sbin/cupsd
lp        2427  0.0  0.4  6496 4840 ?        S    15:58   0:00 /usr/bin/perl /usr/lib/cups/filter/foomatic-rip 2 root Test Page 1 
root      2428  0.0  0.0  2624  848 ?        S    15:58   0:00 socket://co3-hp5simx 2 root Test Page 1 
lp        2429  0.0  0.4  6496 4836 ?        S    15:58   0:00 /usr/bin/perl /usr/lib/cups/filter/foomatic-rip 2 root Test Page 1 
lp        2430  0.0  0.4  6496 4856 ?        S    15:58   0:00 /usr/bin/perl /usr/lib/cups/filter/foomatic-rip 2 root Test Page 1 
lp        2431  0.0  0.1  2516 1164 ?        S    15:58   0:00 sh -c gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=HP LaserJet' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
lp        2432  0.0  0.8 20560 9012 ?        S    15:58   0:00 gs -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel=HP LaserJet -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=| cat >&3 /dev/fd/0
lp        2433  0.0  0.1  2500 1148 ?        S    15:58   0:00 sh -c  cat >&3
lp        2434  0.0  0.0  2716 1028 ?        S    15:58   0:00 hpijs
lp        2435  0.0  0.0  1508  432 ?        S    15:58   0:00 cat

Note in particular the gs line, in which I see

   -sDeviceModel=HP LaserJet

Call me crazy, but this looks bad.  The unquoted argument
makes me wonder if gs is hanging because it expects 'HP
Laserjet' for the DeviceModel but instead just gets 'HP'.

Could this be the cause of my woes, or am I just likely
screwed up some other way.  CUPS was working for me not too
long ago.  I don't know what has happened.

-- 
Thomas E. Vaughan   (303) 939-6386   Ball Aerospace, Boulder



Reply to: