<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hmm ... It's set to 0, and I don't see anything strange in the Debug<div>subroutine.</div><div><br></div><div>I thought I remembered the loncnew has a way to toggle the debug on</div><div>and off. Is there a comparable behavior upon an interrupt to lond?</div><div>I didn't think there was.</div><div><br></div><div>Mark</div><div><br><div><div>On Nov 15, 2011, at 6:11 PM, Stuart Raeburn wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Command received: ekey, encoded = 0<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Matched dispatch hash: mustencode:<br></blockquote><br>That is odd.<br>You should only see that level of detail in lond.log if you have:<br><br>my $DEBUG=1;<br><br>set in /home/httpd/perl/lond<br><br>I don't see it showing up in /home/httpd/perl/lond.log otherwise.<br><br>If you are sure that:<br><br>my $DEBUG-0;<br><br>is set (and you have restarted loncontrol), then it seems you should <br>look at the Debug subroutine in lond, which should be:<br><br>sub Debug {<br> my $message = shift;<br> if($DEBUG) {<br><span class="Apple-tab-span" style="white-space:pre"> </span>&logthis($message);<br> }<br>}<br><br>To stop the excessive logging, regardless of the value of $DEBUG you <br>could change it to:<br><br>sub Debug {<br> my $message = shift;<br> return;<br>}<br><br>and restart loncontrol<br><br>Stuart Raeburn<br>MSU LON-CAPA group<br><br><br>Quoting "Lucas, Mark" <<a href="mailto:lucasm@ohio.edu">lucasm@ohio.edu</a>>:<br><br><blockquote type="cite">I'm having some issues here I may need help with.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">We're working towards finals starting tomorrow, and last night I had <br></blockquote><blockquote type="cite"> one of my machines<br></blockquote><blockquote type="cite">go catatonic regarding LON-CAPA and httpd. I was still able to get <br></blockquote><blockquote type="cite">in via ssh.<br></blockquote><blockquote type="cite">This seems to be correlated with memory problems.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I restarted LON-CAPA (loncontrol and httpd) on that machine and did <br></blockquote><blockquote type="cite">the same on<br></blockquote><blockquote type="cite">my balancer, and it seemed to be fine.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Just about an hour ago I started having problems again. There seems <br></blockquote><blockquote type="cite">to be a significant<br></blockquote><blockquote type="cite">increase in memory usage - the slope changed pretty dramatically as <br></blockquote><blockquote type="cite">usage picked up.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">While the machines are being used pretty steadily, I'm wondering if <br></blockquote><blockquote type="cite">there's anything regarding<br></blockquote><blockquote type="cite">downloading of large pdf files or the like that may somehow be <br></blockquote><blockquote type="cite">causing grief. They're not<br></blockquote><blockquote type="cite">working on homework as much as they are pouring over lecture notes.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I also found the lond.log file on my library to be huge (3Gb+?) last <br></blockquote><blockquote type="cite"> night. While there typically<br></blockquote><blockquote type="cite">isn't much in lond.log, and I have debug set to zero, I'm getting a <br></blockquote><blockquote type="cite">bunch of messages like those shown<br></blockquote><blockquote type="cite">below. Is this a sign of poor communications between the machines <br></blockquote><blockquote type="cite">developing under the load?<br></blockquote><blockquote type="cite">Is debug somehow getting turned on?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm at a bit of a loss for the behavior, and I definitely have some <br></blockquote><blockquote type="cite">students pissed at me right<br></blockquote><blockquote type="cite">now.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Mark<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">============================================================<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Command received: sethost, encoded = 0<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Matched dispatch hash: mustencode: <br></blockquote><blockquote type="cite"> 0 ClientType 1Tue Nov 15 05:26:57 2011 (21584): Dispatching to <br></blockquote><blockquote type="cite">handler sethost oucapa2<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Request was sethost:oucapa2 Reply was ok<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): get_request: Request = ekey<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Main: Got ekey<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): process_request: ekey<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Command received: ekey, encoded = 0<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Matched dispatch hash: mustencode: <br></blockquote><blockquote type="cite"> 0 ClientType 3Tue Nov 15 05:26:57 2011 (21584): Dispatching to <br></blockquote><blockquote type="cite">handler ekey<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Request was ekey: Reply was <br></blockquote><blockquote type="cite">7643ACBACEB8A7BAE8DBCE811563Tue Nov 15 05:26:57 2011 (21584): <br></blockquote><blockquote type="cite">get_request: Request = <br></blockquote><blockquote type="cite">sethost:oucapa2:put:ohiou:OUp200lib:nohist_resevaldata:author%2fmeap%2fcalculus%2fprecalcreview%2ftrig02%2dRadiansToDegrees%2eprobl<br></blockquote><blockquote type="cite">em___ohiou%2fOUp200lib%2fmath%2ftriangle_comp1%2eproblem___comefrom=1<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Main: Got <br></blockquote><blockquote type="cite">sethost:oucapa2:put:ohiou:OUp200lib:nohist_resevaldata:author%2fmeap%2fcalculus%2fprecalcreview%2ftrig02%2dRadiansToDegrees%2eproblem___ohiou%2f<br></blockquote><blockquote type="cite">OUp200lib%2fmath%2ftriangle_comp1%2eproblem___comefrom=1<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): process_request: <br></blockquote><blockquote type="cite">put:ohiou:OUp200lib:nohist_resevaldata:author%2fmeap%2fcalculus%2fprecalcreview%2ftrig02%2dRadiansToDegrees%2eproblem___ohiou%2fOUp200lib<br></blockquote><blockquote type="cite">%2fmath%2ftriangle_comp1%2eproblem___comefrom=1<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Command received: put, encoded = 0<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Matched dispatch hash: mustencode: <br></blockquote><blockquote type="cite"> 0 ClientType 1<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Dispatching to handler put <br></blockquote><blockquote type="cite">ohiou:OUp200lib:nohist_resevaldata:author%2fmeap%2fcalculus%2fprecalcreview%2ftrig02%2dRadiansToDegrees%2eproblem___ohiou%2fOUp<br></blockquote><blockquote type="cite">200lib%2fmath%2ftriangle_comp1%2eproblem___comefrom=1<br></blockquote><blockquote type="cite">Tue Nov 15 05:26:57 2011 (21584): Request was <br></blockquote><blockquote type="cite">put:ohiou:OUp200lib:nohist_resevaldata:author%2fmeap%2fcalculus%2fprecalcreview%2ftrig02%2dRadiansToDegrees%2eproblem___ohiou%2fOUp200lib%2fma<br></blockquote><blockquote type="cite">th%2ftriangle_comp1%2eproblem___comefrom=1 Reply was ok<br></blockquote><blockquote type="cite">Tue Nov 15 05:27:09 2011 (21508): get_request: Request = exit<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Tue Nov 15 05:27:09 2011 (21508): Main: Got exit<br></blockquote><blockquote type="cite">========================================================================<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Mark Lucas email: lucasm@ohiou.edu<<a href="mailto:lucasm@ohiou.edu">mailto:lucasm@ohiou.edu</a>><br></blockquote><blockquote type="cite">252D Clippinger Lab phone: (740)597-2984<br></blockquote><blockquote type="cite">Department of Physics and Astronomy fax: (740)593-0433<br></blockquote><blockquote type="cite">Ohio University<br></blockquote><blockquote type="cite">Athens, OH 45701<br></blockquote><blockquote type="cite"><br></blockquote><br>_______________________________________________<br>LON-CAPA-admin mailing list<br><a href="mailto:LON-CAPA-admin@mail.lon-capa.org">LON-CAPA-admin@mail.lon-capa.org</a><br>http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div>-- <br>Mark Lucas<span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre; "> </span>email: <a href="mailto:lucasm@ohiou.edu">lucasm@ohiou.edu</a><br>252D Clippinger Lab<span class="Apple-tab-span" style="white-space: pre; "> </span>phone: (740)597-2984<br>Department of Physics and Astronomy<span class="Apple-tab-span" style="white-space: pre; "> </span>fax: (740)593-0433<br>Ohio University<br>Athens, OH 45701</div></span>
</div>
<br></div></body></html>