<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Harry,</DIV>
<DIV> </DIV>
<DIV>I myself have only seen one instance where jnos would suck up 100% of the</DIV>
<DIV>CPU. The incident your saying seems to be a total different problem.</DIV>
<DIV>BUT, maybe to shed a little bit of light, here is the problem I had and how I </DIV>
<DIV>was able to correct it.</DIV>
<DIV> </DIV>
<DIV>OS is Redhat 7.0. Running nos like normal. IF, and this is the BIG IF,</DIV>
<DIV>you have a port configured in the autoexec.nos file, that is going to a </DIV>
<DIV>comm port with a TNC, it runs fine. BUT, take the TNC off line and forget</DIV>
<DIV>to detach that port, and after a day, the CPU is at 100%. If you leave a</DIV>
<DIV>TNC on that port, and turn off the radio, or even remove the radio, all is fine.</DIV>
<DIV>It's just that if you have a port configured to a tnc, make sure the tnc is there</DIV>
<DIV>and it's alive, not turned off.</DIV>
<DIV> </DIV>
<DIV>Kerry - n3nxo</DIV>
<DIV><BR><BR>--- On <B>Mon, 3/21/11, Harry Stone <I><harrystone@gmail.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Harry Stone <harrystone@gmail.com><BR>Subject: [nos-bbs] headless jnos consuming 100% CPU<BR>To: nos-bbs@tapr.org<BR>Date: Monday, March 21, 2011, 7:29 PM<BR><BR>
<DIV id=yiv1211080020><SPAN style="BORDER-COLLAPSE: collapse; FONT-FAMILY: arial, sans-serif; FONT-SIZE: 13px" class=yiv1211080020Apple-style-span>
<DIV>When I compile JNOS with headless defined, it compiles fine and also runs fine until I start it and then log out of the machine. After I log out, JNOS consumes 100% of cpu. It seems like it still runs fine, although the machine is bogged down. If I log into the machine and start JNOS and stay logged in, cpu usage is normal. This seems to happen when it's started from an init script at boot too, almost like it's having problems any time it's not attached to a pty. </DIV>
<DIV><BR></DIV>
<DIV>Is there a #define I can change in the config header to make it spit out some debug info? Please let me know if there's anything I can do to help troubleshoot this. I've tested this on Slackware 13.1 and 12.2 with the same result. I'm using the 20i source. The Slackware machines are using the stock kernel from a vanilla "everything" install. </DIV>
<DIV><BR></DIV>
<DIV>Compile without headless defined results in a binary that runs perfectly from what I can tell. I'm new to ham radio and packet but I've been using linux for some time. </DIV>
<DIV><BR></DIV>
<DIV>Thanks everyone for whatever help you can offer!</DIV>
<DIV><BR></DIV>
<DIV>harry</DIV></SPAN>KD0NFY
<DIV><BR>-- <BR>Have old memories and young hopes.<BR></DIV></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>nos-bbs mailing list<BR><A href="http://us.mc1146.mail.yahoo.com/mc/compose?to=nos-bbs@tapr.org" ymailto="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</A><BR><A href="https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs" target=_blank>https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>