[cups.general] kernel resources

Jeremiah Elliott geek00 at gmail.com
Tue Aug 17 14:57:41 PDT 2004


I have a server which is running redhat AS3. It is the main database
and app server for our ERP system, which is progress based. there are
close to 200 users who ssh (via putty) in to the system. On the same
box we also have postgres running. At any given time there are around
300 jdbc connections to postgres.  We have had to crank up semaphore
and shared memory settings just to get progress and postgres to start.
 This set up is less than three months old.  We are running cups
version 1.1.17-13.3.6. There are 160 printer that print between 3000
and 4500 jobs a day total.

The problem is that about twice a week cups stops working.
Starting/stoping cups doesn't help. The only thing that will fix the
problem is to reboot the server.  For the last three months redhat has
been 'looking into' the problem, but have been zero help.  I can't
help but think that it has to do with kernel resources, but there are
plenty of semaphores and shared memory available.  When the problem
starts, printing small files (less than two or three pages) will work,
but printing any thing more than that fails, and the job never shows
up in cups log file, reguardless of the debug level.  Its like the lpr
command just stops working.  If I do 'strace lpr -P<queue>
/etc/services' I get 1924 lines ending with this:

send(3, "!\0\10page-top\0\4\0\0\0$", 17, 0) = 17
time(NULL)                              = 1092480051
send(3, "\3", 1, 0)                     = 1
fstat64(5, {st_mode=S_IFREG|0644, st_size=22350, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb6f62000
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "# /etc/services:\n# $Id: services"..., 32768) = 22350
read(5, "", 8192)                       = 0
time(NULL)                              = 1092480051
send(3, "# /etc/services:\n# $Id: services"..., 22350, 0) = 22350
read(5, "", 32768)                      = 0
recv(3,  <unfinished ...>

Any ideas? I have no idea where to go from here.
-Jeremiah





More information about the cups mailing list