A. Schulze:
> 
> wietse:
> 
> > A. Schulze:
> >> postqueue: panic: vbuf_print: output for '%s' exceeds space 0
> >
> 
> this is pfqgrep:
> 
>    $mailq = "/usr/sbin/postqueue -p |"; # added 'strace -f' here
>    open(MAILQ, $mailq) or die;
>    while (<MAILQ>) {
>      # read from STDIN
>    }
> 
> execve("/usr/sbin/postqueue", ["/usr/sbin/postqueue", "-p"], [/* 52  
> vars */]) = 0
> ...
> chdir("/var/spool/postfix")             = 0
> rt_sigaction(SIGPIPE, {0x1, [PIPE], SA_RESTORER|SA_RESTART,  
> 0x7f4c8e917910}, {SIG_DFL, [], 0}, 8) = 0
> getuid()                                = 0
> socket(PF_FILE, SOCK_STREAM, 0)         = 4
> fcntl(4, F_GETFL)                       = 0x2 (flags O_RDWR)
> fcntl(4, F_SETFL, O_RDWR)               = 0
> connect(4, {sa_family=AF_FILE, path="public/showq"}, 110) = 0
> poll([{fd=4, events=POLLIN}], 1, 3600000) = 1 ([{fd=4, revents=POLLIN}])
> read(4, "queue_name\0active\0queue_id\0003xdsD"..., 4096) = 149
> stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2335, ...}) = 0
> write(1, "----Queue ID----- --Size-- ---Ar"..., 218) = 218
> poll([{fd=4, events=POLLIN}], 1, 3600000) = 1 ([{fd=4, revents=POLLIN}])
> read(4, "queue_name\0active\0queue_id\0003xgg0"..., 4096) = 1453
> stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2335, ...}) = 0
> write(1, "\n3xgg0L0F7Lz4FLj*     30013 Mon "..., 257) = 257
> stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2335, ...}) = 0
> Quantifier follows nothing in regex; marked by <-- HERE in m/+ <--  
> HERE 1234567890123/ at /usr/sbin/pfqgrep line 158, <MAILQ> chunk 1.
> write(1, "\n3xgfY21WScz4FLZ*     32602 Mon "..., 241) = 241
> stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2335, ...}) = 0
> write(1, "\n3xgWSk0qGbz4FKf*     42628 Mon "..., 257) = 257
> stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2335, ...}) = 0
> write(1, "\n3xgh1z1cT1z4FLr*     76609 Mon "..., 184) = -1 EPIPE (Broken pipe)

Would it be possible to provide a copy of file 3xgh1z1cT1z4FLr (off-list
email, please) so that I can examine this in detail? If not, output from
"postcat -oeq 3xgh1z1cT1z4FLr" will do.

        Wietse

Reply via email to