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

[linux] strace de mon lpq qui bloque



Salut,

il y a quelques jours je vous ai envoyé un message
concernant un lpq sur une imprimante réseau qui ne
rend pas la main tout de suite après avoir imprimé ses
infos (délai de 5 à 10 secondes)

En voici attaché un strace compressé (sinon c'est trop
gros)

Voici aussi la partie intéressante :

rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGALRM, {SIG_IGN}, {SIG_IGN}, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x804f590, [],
SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
alarm(30)                               = 0
read(5, "15        bf               lpr  "..., 511) =
226
rt_sigaction(SIGALRM, {SIG_IGN}, {0x804f590, [],
SA_INTERRUPT|0x4000000}, 8) = 0
alarm(0)                                = 30
write(1, "--------------------------------"..., 56) =
56
write(1, "\n", 1)                       = 1
write(1, "15        bf               lpr  "..., 55) =
55
write(1, "\n", 1)                       = 1
write(1, "16        192.168.1.30     lpr  "..., 55) =
55
write(1, "\n", 1)                       = 1
write(1, "17        192.168.1.30     lpr  "..., 55) =
55
write(1, "\n", 1)                       = 1
write(1, "18        192.168.1.30     lpr  "..., 55) =
55
write(1, "\n", 1)                       = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGALRM, {SIG_IGN}, {SIG_IGN}, 8) = 0
alarm(0)                                = 0
rt_sigaction(SIGALRM, {0x804f590, [],
SA_INTERRUPT|0x4000000}, {SIG_IGN}, 8) = 0
alarm(30)                               = 0
read(5, "

et c'est ici que ça bloque pendant plusieurs secondes
avant d'envoyer la suite instantanément: 

         ", 511)                        = 0
rt_sigaction(SIGALRM, {SIG_IGN}, {0x804f590, [],
SA_INTERRUPT|0x4000000}, 8) = 0
alarm(0)                                = 20
write(1, "\r", 1)                       = 1
write(1, "\n", 1)                       = 1
close(5)                                = 0
rt_sigprocmask(SIG_SETMASK, ~[], [], 8) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024,
rlim_max=1024}) = 0
fstat(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3),
...}) = 0
close(3)                                = 0
fstat(4, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3),
...}) = 0
close(4)                                = 0
fstat(5, 0xbffffbcc)                    = -1 EBADF
(Bad file descriptor)
close(5)                                = -1 EBADF
(Bad file descriptor)
fstat(6, 0xbffffbcc)                    = -1 EBADF
(Bad file descriptor)
close(6)                                = -1 EBADF
(Bad file descriptor)
fstat(7, 0xbffffbcc)                    = -1 EBADF
(Bad file descriptor)

ainsi de suite instantanément jusqu'à 1023 puis rend
la main.

Ca aide ?
-- 
Rémi

___________________________________________________________
Do You Yahoo!? -- Vos albums photos en ligne, 
Yahoo! Photos : http://fr.photos.yahoo.com

Attachment: lpq.log.gz
Description: lpq.log.gz