lkml.org 
[lkml]   [2001]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSegfault during network calls
Hello colleagues,

We have a strange problem with our multi-threaded SMTP client: at very
heavy load (e.g. 150 threads, each with a pool of 5 persistent
connections) it sometimes receives SIGSEGV while making network kernel
calls (mostly in "recvfrom" for both TCP and UDP, but also in "connect").
This happens for both 2.2.12 and 2.4.4 kernels on a Celeron 600 machine
(no SMP) with glibc 2.1.3. The kernel logs do not show any problems, yet
the application program gets killed. This happens MORE frequently if we
increase the number of file descriptors available to the process (using
"ulimit -n"), which suggests some resource utilisation problem in the
kernel (?) E.g., is there a compiled-in upper bound on the total number of
sockets which can be created by all processes? (I could not find
SOCK_ARRAY_SIZE in 2.4.4). Any ideas would be very much appreciated.

Thank you very much in advance,

Dr. Leonid A. Timochouk
Computing Laboratory
University of Kent at Canterbury

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

\
 
 \ /
  Last update: 2005-03-22 12:54    [W:0.015 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site