Re: PROBLEM: Sending mail-attachment > 45k with Netscape via sendmail hangs

Matthias Moeller (mattes@ice.robin.de)
Thu, 25 Feb 1999 21:42:30 +0100 (CET)


> I played with your client/serv codes and, sure, a READ_SIZE of 15 is
> much slower than one of 100, but I don't notice any stalls. Running
> strace with timestamps shows the alternating calls to select and read,
> but the time between calls is only ever a few ms.

The same is true here until the "final" select() :-(.

> which makes sense. Is this a case of "don't do that", or do you see
> real stalls?

I get real stalls, even with READ_SIZE of 500 I still get them.
But I get the stalls only when serv lets the forked childprocs handle
the connection. Without the fork() everything goes fine. Strange, huh?

Matthias

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/