<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.34">
<TITLE>RE: [Beowulf] Concurrently open sockets limit on Linux system</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Joe - good ideas!</FONT>
</P>

<P><FONT SIZE=2>As a debugging step we even ran the LM daemon as root, ulimit -a reports a file limit of 65535...</FONT>
</P>

<P><FONT SIZE=2>It's a permanently running daemon, not going through xinetd and it, annoyingly, produces no logs or sends anything to syslog.</FONT></P>

<P><FONT SIZE=2>Thanks for your thoughts...</FONT>
<BR><FONT SIZE=2>Simon</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Joe Landman [<A HREF="mailto:landman@scalableinformatics.com">mailto:landman@scalableinformatics.com</A>]</FONT>
<BR><FONT SIZE=2>Sent: 2007 Jun 17 2:52 PM</FONT>
<BR><FONT SIZE=2>To: Galton, Simon</FONT>
<BR><FONT SIZE=2>Cc: 'beowulf@beowulf.org'</FONT>
<BR><FONT SIZE=2>Subject: Re: [Beowulf] Concurrently open sockets limit on Linux system</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi Simon</FONT>
</P>

<P><FONT SIZE=2>Galton, Simon wrote:</FONT>
</P>

<P><FONT SIZE=2>&gt; (according lsof on the system running the license manager) seems to hold </FONT>
<BR><FONT SIZE=2>&gt; a socket open during the duration of the job.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; We want to run a couple of hundred of these jobs on our cluster, but </FONT>
<BR><FONT SIZE=2>&gt; after job 126 the client can no longer connect to the license manager.&nbsp; </FONT>
</P>

<P><FONT SIZE=2>This seems to suggest somewhere that there is a 128 socket limit on the </FONT>
<BR><FONT SIZE=2>service.&nbsp; How is the license manager run?&nbsp; What does</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>limit</FONT>
</P>

<P><FONT SIZE=2>or</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=2>ulimit -a</FONT>
</P>

<P><FONT SIZE=2>tell you for the user that the license manager runs as?&nbsp;&nbsp; Any notes in </FONT>
<BR><FONT SIZE=2>system logs?</FONT>
</P>

<P><FONT SIZE=2>&gt; The server hosting the license manager is otherwise fine, and you can </FONT>
<BR><FONT SIZE=2>&gt; continue to perform network-based operations on and against it...</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; The vendor feels that they have not coded a specific limit; I'm </FONT>
<BR><FONT SIZE=2>&gt; wondering if it's file descriptors or somesuch.&nbsp; I raised the limit of </FONT>
<BR><FONT SIZE=2>&gt; FDs on the system to 65000+ and verified that the change took effect; no </FONT>
<BR><FONT SIZE=2>&gt; change to the applications behaviour.&nbsp; It's a c-based app, compiled with </FONT>
<BR><FONT SIZE=2>&gt; gcc on a Fedora Core 6 system, I believe.</FONT>
</P>

<P><FONT SIZE=2>Doesn't sound like an FD limit, but as a socket limit.&nbsp; Older inetd's </FONT>
<BR><FONT SIZE=2>had something like 20-40 connections per process.&nbsp; If you are serving </FONT>
<BR><FONT SIZE=2>this through xinetd or similar, you might be able to raise these limits.</FONT>
</P>

<P><FONT SIZE=2>Joe</FONT>
</P>

<P><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Any thoughts?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Simon</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; CONFIDENTIAL AND PRIVILEGED INFORMATION NOTICE</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; This e-mail, and any attachments, may contain information that</FONT>
<BR><FONT SIZE=2>&gt; is confidential, subject to copyright, or exempt from disclosure.</FONT>
<BR><FONT SIZE=2>&gt; Any unauthorized review, disclosure, retransmission, </FONT>
<BR><FONT SIZE=2>&gt; dissemination or other use of or reliance on this information </FONT>
<BR><FONT SIZE=2>&gt; may be unlawful and is strictly prohibited.&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; AVIS D'INFORMATION CONFIDENTIELLE ET PRIVILÉGIÉE</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Le présent courriel, et toute pièce jointe, peut contenir de </FONT>
<BR><FONT SIZE=2>&gt; l'information qui est confidentielle, régie par les droits </FONT>
<BR><FONT SIZE=2>&gt; d'auteur, ou interdite de divulgation. Tout examen, </FONT>
<BR><FONT SIZE=2>&gt; divulgation, retransmission, diffusion ou autres utilisations </FONT>
<BR><FONT SIZE=2>&gt; non autorisées de l'information ou dépendance non autorisée </FONT>
<BR><FONT SIZE=2>&gt; envers celle-ci peut être illégale et est strictement interdite.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; ------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; _______________________________________________</FONT>
<BR><FONT SIZE=2>&gt; Beowulf mailing list, Beowulf@beowulf.org</FONT>
<BR><FONT SIZE=2>&gt; To change your subscription (digest mode or unsubscribe) visit <A HREF="http://www.beowulf.org/mailman/listinfo/beowulf" TARGET="_blank">http://www.beowulf.org/mailman/listinfo/beowulf</A></FONT>
</P>
<BR>

<P><FONT SIZE=2>-- </FONT>
</P>

<P><FONT SIZE=2>Joseph Landman, Ph.D</FONT>
<BR><FONT SIZE=2>Founder and CEO</FONT>
<BR><FONT SIZE=2>Scalable Informatics LLC,</FONT>
<BR><FONT SIZE=2>email: landman@scalableinformatics.com</FONT>
<BR><FONT SIZE=2>web&nbsp; : <A HREF="http://www.scalableinformatics.com" TARGET="_blank">http://www.scalableinformatics.com</A></FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://jackrabbit.scalableinformatics.com" TARGET="_blank">http://jackrabbit.scalableinformatics.com</A></FONT>
<BR><FONT SIZE=2>phone: +1 734 786 8423</FONT>
<BR><FONT SIZE=2>fax&nbsp; : +1 866 888 3112</FONT>
<BR><FONT SIZE=2>cell : +1 734 612 4615</FONT>
</P>

<br><br><table bgcolor=white style="color:black"><tr><td><br>CONFIDENTIAL&nbsp;AND&nbsp;PRIVILEGED&nbsp;INFORMATION&nbsp;NOTICE<br>
<br>
This&nbsp;e-mail,&nbsp;and&nbsp;any&nbsp;attachments,&nbsp;may&nbsp;contain&nbsp;information&nbsp;that<br>
is&nbsp;confidential,&nbsp;subject&nbsp;to&nbsp;copyright,&nbsp;or&nbsp;exempt&nbsp;from&nbsp;disclosure.<br>
Any&nbsp;unauthorized&nbsp;review,&nbsp;disclosure,&nbsp;retransmission,&nbsp;<br>
dissemination&nbsp;or&nbsp;other&nbsp;use&nbsp;of&nbsp;or&nbsp;reliance&nbsp;on&nbsp;this&nbsp;information&nbsp;<br>
may&nbsp;be&nbsp;unlawful&nbsp;and&nbsp;is&nbsp;strictly&nbsp;prohibited.&nbsp;&nbsp;<br>
<br>
AVIS&nbsp;D&#39;INFORMATION&nbsp;CONFIDENTIELLE&nbsp;ET&nbsp;PRIVILÉGIÉE<br>
<br>
Le&nbsp;présent&nbsp;courriel,&nbsp;et&nbsp;toute&nbsp;pièce&nbsp;jointe,&nbsp;peut&nbsp;contenir&nbsp;de&nbsp;<br>
l&#39;information&nbsp;qui&nbsp;est&nbsp;confidentielle,&nbsp;régie&nbsp;par&nbsp;les&nbsp;droits&nbsp;<br>
d&#39;auteur,&nbsp;ou&nbsp;interdite&nbsp;de&nbsp;divulgation.&nbsp;Tout&nbsp;examen,&nbsp;<br>
divulgation,&nbsp;retransmission,&nbsp;diffusion&nbsp;ou&nbsp;autres&nbsp;utilisations&nbsp;<br>
non&nbsp;autorisées&nbsp;de&nbsp;l&#39;information&nbsp;ou&nbsp;dépendance&nbsp;non&nbsp;autorisée&nbsp;<br>
envers&nbsp;celle-ci&nbsp;peut&nbsp;être&nbsp;illégale&nbsp;et&nbsp;est&nbsp;strictement&nbsp;interdite.</td></tr></table>
!DSPAM:4676169649131129613325!

</BODY>
</HTML>