Hi,
Recently we run into problem with one of our printer servers,
which stopped to respond. The reason was the /var partition (3Gb) 'out of
inodes' - filled up with miriads of ifhp* files. I couldn't even issue
ls command - got 'too long argument list'.
My question is - what is wrong? I can of course start to run cron job
removing those type of files , but prefer to find out the reason - maybe
configuration fail, or other misunderstanding?
This is LPRng-3.8.21 and ifhp-3.5.10 on Solaris9/sparc
/etc/printcap:
.common:
:sd=/var/spool/lpd/%P
:sh:mx=0:mc=0
...
d3test:\
:tc=.common:lp=d3%9100
:sd=/var/spool/lpd/d3test:mx#0
:filter=/usr/local/libexec/filters/ifhp
:ifhp=Tconfig=/etc/ifhp-test.conf,model=hp2200,trace,debug=1,duplex,a4,copies=1
:send_try=1
:force_localhost
=========
and from /etc/ifhp.conf (the only part I could make changes to the
original):
# set forceconversion to force the file(1) utility to be used
default_language=text
forceconversion
## UNIX File utility path
file_util_path= /usr/local/bin/file \%s{inputfile}
## Patterns and Converters
# example conversion program
file_output_match = [
*postscript* ps
# \%s{ps_converter}
*pdf* ps \%s{pdf2ps_converter}
*pcl* pcl
# \%s{pcl_converter}
*pjl* pjl
#\%s{pjl_converter}
*printer*job*language* pjl
# *text* pcl \%s{text_converter}
*text* ps \%s{a2ps_converter}
*gzip_compressed* filter \%s{gzip_decompress}
# * msg no_converter
* msg \%s{no_converter}
]
ps_no_converter = %!PS-Adobe-3.0
/Courier
findfont 10 scalefont setfont
72 500 moveto
(No conversion available for type '\%s{file_output}') show
showpage
no_converter = No conversion available for type '\%s{file_output}'
ps_conversion_error = %!PS-Adobe-3.0
findfont 10 scalefont setfont
72 500 moveto
(Conversion failed for type '\%s{file_output}') show
72 480 moveto
(Using '\%s{pgm}') show
72 460 moveto
(Error: '\%s{msg}') show
showpage
conversion_error = Conversion failed for type '\%s{file_output}'
Using '\%s{pgm}'
Error: '\%s{msg}'
# gs_device=epsonc
# gs_options=-r240x72
# gs_converter= /usr/local/bin/gs -dSAFER -dPARANOIDSAFER -dBATCH
-dNOPAUSE -q '-sOutputFile=/dev/fd/3' 3>&1 1>&2
# \%s{gs_options} \%s{inputfile}
#
#
#gs_converter= /usr/local/bin/gs -dSAFER -dPARANOIDSAFER -dBATCH
-dNOPAUSE -q '-sOutputFile=/dev/fd/3' 3>&1 1>&2 -sPAPERSIZE=\%L{papersize}
-sDEVICE=\%s{gs_device} \%s{gs_options} \%s{inputfile}
#gs_unidriver= /usr/local/bin/gs -dSAFER -dPARANOIDSAFER -dBATCH
-dNOPAUSE -q '-sOutputFile=/dev/fd/3' 3>&1 1>&2 -sPAPERSIZE=\%L{papersize}
@\%s{gs_device} \%s{gs_options} \%s{inputfile}
a2ps_options= -q -B -1 -M \%M{papersize} --borders=no -o-
a2ps_converter= /usr/local/bin/a2ps \%s{a2ps_options} \%s{inputfile}
pdf2ps_converter= /usr/local/bin/gs -dSAFER -dPARANOIDSAFER -dBATCH
-dNOPAUSE -q '-sOutputFile=/dev/fd/3' 3>&1 1>&2 -sDEVICE=pswrite
\%{pdf2ps_options} -c save pop -f \%s{inputfile}
ps_converter=
pcl_converter=
pjl_converter=
#text_converter=\%s{a2ps_converter}
text_converter=
##gzip_decompress=gzip -c -d
## you may need a temp file location
##
## This will be extended to ..ifhpXXXXX
## for use by the unix mktemp() routine
##
#tempfile=/var/tmp/ifhp
====
best regards
Longina
-- Longina Przybyszewska,
system programmer Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark
tel: +45 6550 2359 - http://www.imada.sdu.dk email: [EMAIL PROTECTED]
--
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------