batcher f5069.n550.z2 skipping "@03014255464630300000000267730000..." too long

Denis Shaposhnikov dsh at neva.vlink.ru
Wed Jun 28 08:00:51 UTC 2000



>>>>> "Katsuhiro" == Katsuhiro Kondou <kondou at mms.mt.nec.co.jp> writes:

 Katsuhiro> I don't think this is too long, but I suspect the
 Katsuhiro> definition of BUFSIZ is too small for your system.  Can
 Katsuhiro> you see if it works by chnging BUFSIZ with BIG_BUFFER in
 Katsuhiro> batcher.c?  -- Katsuhiro Kondou

I change this:

--- backends/batcher.c.orig	Fri Dec 24 01:05:05 1999
+++ backends/batcher.c	Thu Jun 22 13:27:36 2000
@@ -93,8 +93,8 @@
     static char	LINE1[] = "batcher %s times user %.3f system %.3f elapsed %.3f";
     static char	LINE2[] ="batcher %s stats batches %d articles %d bytes %ld";
     static char	NOWRITE[] = "batcher %s cant write spool %s\n";
-    char	temp[BUFSIZ];
-    char	buff[BUFSIZ];
+    char	temp[BIG_BUFFER];
+    char	buff[BIG_BUFFER];
     int		i;
     FILE	*F;
     TIMEINFO	Now;
@@ -218,8 +218,8 @@
     TIMEINFO	Now;
     char	*p;
     char	*data;
-    char	line[BUFSIZ];
-    char	buff[BUFSIZ];
+    char	line[BIG_BUFFER];
+    char	buff[BIG_BUFFER];
     int		BytesInArt;
     long	BytesInCB;
     OFFSET_T	Cookie;

Several days all works fine. And errlog was empty. No errors "too
long" from batcher was. Before, this error repeated everyday. But
today I see this error again. From errlog:

batcher f5069.n550.z2 skipping "@030142..." too long
batcher f5069.n550.z2 skipping "@03014255464630300000000F803700000..." too long
batcher f5069.n550.z2 skipping "@0301425..." too long
batcher f5069.n550.z2 skipping "@030142..." too long
batcher f5069.n550.z2 skipping "@03014..." too long
batcher f5069.n550.z2 skipping "@0301425..." too long

At home I have situation of sending big number of articles to one site
at 1:00 am. And I see this messages in home's errlog everyday even
with this patch. Here I haven't such situation, because send-ifmail
runing every 5 minutes. May be all works fine when outgoing feed file
no more BUFSIZ or BIG_BUFFER.

-- 
DSS5-RIPE DSS-RIPN 2:550/5068 at fidonet 2:550/5069 at fidonet
mailto:dsh at vlink.ru http://neva.vlink.ru/~dsh
Key fingerprint = 46 C8 1B 3B 15 1F 64 B0  38 0B 28 CE B0 75 7B E9



More information about the inn-bugs mailing list