<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 9pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: Tahoma
}
LI.MsoNormal {
        FONT-SIZE: 9pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: Tahoma
}
DIV.MsoNormal {
        FONT-SIZE: 9pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: Tahoma
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: "Times New Roman"; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=228023314-24052005><FONT face=Arial color=#0000ff size=2>please 
post your limits.conf</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV> </DIV><BR>
<P><FONT face=Arial><FONT size=2>Christoph <SPAN 
class=228023314-24052005><FONT 
color=#0000ff> </FONT></SPAN></FONT></FONT><FONT face=Arial><FONT 
size=2><SPAN class=228023314-24052005> </SPAN></FONT></FONT></P>
<P> </P>
<P><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Serge 
Bianda [mailto:serge.bianda@appiancorp.com] <BR><B>Sent:</B> Tuesday, May 24, 
2005 10:28 AM<BR><B>To:</B> rhn-users@redhat.com<BR><B>Subject:</B> [rhn-users] 
Ulimit and cron scheduler - too many open files error<BR><BR></P></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=Section1>
  <P class=MsoNormal><FONT face="Times New Roman" size=2><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Times New Roman'"><o:p> </o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face="Times New Roman" size=2><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Times New Roman'">We are trying to run a 
  script using the cron scheduler. For the script to run, we had to increase the 
  number of open file descriptors using "ulimit -n" to 63000 from 1024. We 
  increased the file descriptor value in /etc/security/limits.conf. But crontab 
  scheduler does not read the new increased value for the file descriptors and 
  always errors out throwing - "too many open files" error. We tried to increase 
  the value in the script that is scheduled using the cron job, but it looks 
  like cron does not pick the new value even if it is set in the script. Are you 
  aware of any global setting for the cron scheduler which will force it to have 
  more open file descriptors? Note that when the script is ran from the command 
  line apart from the cron scheduler it works fine and does not throw out errors 
  stating “too many open 
files”.<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>