[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jun 8 12:42:00 2005 -->
- <!--x-from-r13: qzpanfu ng punegre.arg (Rbht [p@nfu) -->
- <!--x-message-id: Pine.LNX.4.44.0506081159520.25411-[email protected] -->
- <!--x-reference: 21117259.1118242391086.JavaMail.root@wamui-cedar.atl.sa.earthlink.net --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] klogd and syslogd hanging -->
- <li><em>date</em>: Wed Jun 8 12:42:00 2005</li>
- <li><em>from</em>: dmcnash at charter.net (Doug McNash)</li>
- <li><em>in-reply-to</em>: <<a href="msg00348.html">21117259.1118242391086.JavaMail.root@wamui-cedar.atl.sa.earthlink.net</a>></li>
- <li><em>subject</em>: [ale] klogd and syslogd hanging</li>
The problem (I assume) is that the condition is not clearing so your
machine gets consumed endlessly printing the message. The message should
have been programmed to print only once. It probably should call sleep
instead of schedule() but if this code gets run at interrupt it would be
very bad to call sleep.
There has always been a problem with what to do on a serial port closing
with data that has not drained. If it's a pty
You have two choices:
1) Modify the tty_io.c code and have it exit the loop after a while and/or
only print the message once.
2) Take action on your tty link to prevent this deadlock. I would guess
you are using hardware handshaking and closing the port before the fifo
has emptied. If you can wait in the app before closing.
On Wed, 8 Jun 2005, Dow_Hurst wrote:
> suse 9.1
> kernel 2.6.5-7.151-defaultddd
> syslogd-1.4.1-519
> init level 3
>
> I have an error message on tty10 (which is an alternate output for syslogd on suse) that is showing infinite messages:
>
> release_dev: tty10: read/write wait queue active!
>
> Does anyone know what this means? The syslogd daemon is running on the CPU and the /var/log/messages are no longer being logged. I've tried cycling syslogd with the /etc/init.d/syslog restart/stop/start. I've signaled syslogd and klogd with different signals such as HUP, TER, and KILL. I've only truly recovered what seems to be normal operation with a reboot. Two issues come to mind:
>
> 1. syslogd can choke with old compatibility libs that don't format the messages to syslogd correctly.
>
> 2. Is the tty10 not released due to its current state when syslogd is killed and that is why I am having to reboot to regain control? Is there a way to first flush tty10 and regain control of it directly?
>
>
> I can try running syslogd in debug mode. This whole issue cropped up in
mid April. I just noticed the CPU was under load (this is a lightly loaded production fileserver). I used top and saw syslogd and klogd showing significant percentage of the CPU so started investigating. Ended up frustrated and having to reboot. Now I've had a second occurence so after more investigation on my own, I ended up rebooting again. I've seen the third time just 1 day later. I don't want to have to reboot. I would dlike to fix this!
>
> Now that I've got a real error message to deal with, I am going to do some Googling.
> Thanks for your thoughts,
> Dow
>
>
> No sig.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00348" href="msg00348.html">[ale] klogd and syslogd hanging</a></strong>
<ul><li><em>From:</em> dhurst at mindspring.com (Dow_Hurst)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00357.html">[ale] klogd and syslogd hanging</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00359.html">[ale] Linspire experience and problems</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00348.html">[ale] klogd and syslogd hanging</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00357.html">[ale] klogd and syslogd hanging</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00358"><strong>Date</strong></a></li>
<li><a href="threads.html#00358"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>