<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
    I am also using tmpfs  to put some files, but just nagios files,
like objects cache and status.log.<br>
    I will try the new CVS and let you know what happens.<br>
<br>
    []s.<br>
<br>
Eli Stair wrote:
<blockquote
 cite="mid6E56E676C9D6A74EBC980144BC06A17D014698C0@mailbox03.lucas.alllucas.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="MS Exchange Server version 6.5.7638.1">
  <title>RE: [Nagios-devel] Internal server error in 2.3.1 = mmap()
problem?</title>
<!-- Converted from text/plain format -->
  <br>
  <br>
  <p><font size="2">After Alessandro's post last week, I confirmed my
issue was due to glomming the tmpfile onto a tmpfs space with all my
other high-IO RRD's, etc.  To confirm his posts, moving the file back
to the same local FS fixed the symptoms.<br>
  <br>
I'll build the CVS vers. this week and try it with the file back on the
old filesystem, and post back.<br>
  <br>
Thanks for your response Ethan.<br>
  <br>
/eli<br>
  <br>
-----Original Message-----<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:nagios-devel-admin@lists.sourceforge.net">nagios-devel-admin@lists.sourceforge.net</a> on behalf of Ethan
Galstad<br>
Sent: Sat 5/20/2006 12:59 PM<br>
To: Nagios-Devel<br>
Subject: Re: [Nagios-devel] Internal server error in 2.3.1 = mmap()
problem?<br>
  <br>
Ethan Galstad wrote:<br>
> Aha!<br>
><br>
> I was thinking that the recent patches to CVS might solve this
problem,<br>
> but I doubt they will.  A little detective work revealed that a
SIGBUS<br>
> interrupt may occur if the underlying file that is mmap()ed is<br>
> truncated.  Since the status file is updated regularly, its size
may be<br>
> larger or smaller than it was previously, so this could be causing
the<br>
> SIGBUS.<br>
><br>
> Therefore I assume that I should *not* be mmap()ing the following
files:<br>
> status, comment, and downtime.  Instead, I should be using the
standard<br>
> fgets() calls.  Can anyone else chime in and verify my suspicion? 
It<br>
> seems strange that more people have not reported errors, but the<br>
> implementation of mmap() across different systems may prevent this
error<br>
> from occuring for others...<br>
><br>
  <br>
I have just committed patches to the 2.x and HEAD branches that remove<br>
the mmap() functionality for reading the status, comment, and downtime<br>
files, as I believe this might be the cause of problems.<br>
  <br>
Alessandro and Eli - Could you test the latest CVS snapshot and see if<br>
the problem appears to be resolved?  You can grab the latest CVS<br>
snapshot at the following link:<br>
  <br>
  <a
 href="http://nagios.sourceforge.net/download/cvs/nagios-2-x-cvs.tar.gz">http://nagios.sourceforge.net/download/cvs/nagios-2-x-cvs.tar.gz</a><br>
  <br>
  <br>
Ethan Galstad,<br>
Nagios Developer<br>
---<br>
Email: <a class="moz-txt-link-abbreviated" href="mailto:nagios@nagios.org">nagios@nagios.org</a><br>
Website: <a href="http://www.nagios.org">http://www.nagios.org</a><br>
  <br>
  <br>
-------------------------------------------------------<br>
Using Tomcat but need to do more? Need to support web services,
security?<br>
Get stuff done quickly with pre-integrated technology to make your job
easier<br>
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo<br>
  <a
 href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a><br>
_______________________________________________<br>
Nagios-devel mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a><br>
  <a href="https://lists.sourceforge.net/lists/listinfo/nagios-devel">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a><br>
  <br>
  <br>
  <br>
  </font>
  </p>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>assinatura email-alessandro</title>
<meta http-equiv="Content-Type" content="text/html; ">
<!-- ImageReady Slices (assinatura email-alessandro.psd) -->
<table id="Table_01" border="0" cellpadding="0" cellspacing="0"
 height="144" width="324">
  <tbody>
    <tr>
      <td> <img src="cid:part1.03010905.08090502@opservices.com.br"
 alt="" height="106" width="324"></td>
    </tr>
  </tbody>
</table>
<!-- End ImageReady Slices -->
</div>
</body>
</html>