🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by C.S.Chen Sat, 09 Jul 1994 13:29
[Q]- "innd died abnormally- Too many open files" (long)
#2707
Author: C.S.Chen
Date: Sat, 09 Jul 1994 13:29
134 lines
7418 bytes
Sorry, this is a long article about running INN1.4 on HP-UX.

I'm not sure whether this should be some HP-UX and/or INN configuration 
problem.  So, maybe some HP-UX and/or INN guru(s) could help me fix it.
Thanks in advance !

===========================================================================
I'm now in charge of 3 Netnews servers on the campus. All are HP 9000/720,
running INN-1.4sec. 

Recently, some critical error occurs once in a while on one of the servers. 
This makes the innd die abnormally. I'd have to re-start it manually some 
time later. This is very annoying .
 ( The same error had occurred several times. )

Here is some excerpt of the message collected yesterday.
--------------------------------------------------------------------
Syslog critical messages:
Jul  8 09:30:16 news innd: NetCentral cant setup Too many open files
Jul  8 09:30:16 news innd: TITnews cant setup Too many open files
Jul  8 09:30:17 news innd: YunTech cant setup Too many open files
Jul  8 09:30:17 news innd: HiNet cant setup Too many open files
Jul  8 09:30:17 news innd: MOE cant setup Too many open files
Jul  8 09:30:17 news innd: NOV cant setup Too many open files
Jul  8 09:30:17 news innd: ME syntax_error /usr/local/news/newsfeeds
---------

There is no syntax error as specified above. I'd restart it about 10 minutes
later when I logged in onto the system. ( No modification of anything)

The error happened when innd tried to reload the newsfeeds database as 
scheduled (every 4 hours per day) in the crontab.  Before that, the innd 
server had been running very well for about 1 week. I'd never encountered this
kind of errors on the other two HP news servers.
===================================================================


Here is some more information for who could help:
-----------------------------------------------------------------
 (1) Server 1 - running HP-UX 9.03, 48M RAM, 
                feeding 23 sites with nntplink 3.3pl2  [ 1 months ]
 (2) Server 2 - running HP-UX 9.03, 32M RAM, 
                feeding 3 sites with nntplink 3.3pl2   [ 9 months ]
 (3) Server 3 - running HP-UX 8.07, 32M RAM, 
                feeding 4 sites with nntplink 3.3pl1   [ 7 months ]
-----------------------------------------------------------------
Notes: [ 9 months ] --> running INN1.4 for about 9 months.

Server 2 & 3 had been running INN 1.4 for a long time period as specified
above. They are mainly for news reading.  Both of them are very stable. 
I'd never encountered any serious problems.

As we all know the news traffic grows very rapidly. Since server 1 is the
main feeding site here and most of the out-going feeds are full newsfeeds.
We'd decided to switch it from "C News + NNTP 1.5.11" to "INN 1.4sec" about
one and a half months ago. 

Now here is the INN status report of the host. 
( All the three are configured similarly )
-----------------------------------------------------------
Script started on Sat Jul  9 19:04:57 1994
% ctlinnd mode
Server running
Allowing remote connections
Parameters c 14 i 0 (3) l 1000000 o 187 t 300 normal specified
Not reserved
Readers separate enabled
% exit
% 
script done on Sat Jul  9 19:05:05 1994
=============================================================================

BTW, the OS was upgraded from HP-UX 8.07 to 9.03 three weeks ago.

That makes me confused to find out whether this might be some HP-UX and/or
INN configuration problem.

I wonder if this is some problem which needs kernel re-configuration. 
In order to study this, I'd run the "ktstat" ( Kernel Table statistic 
report ? ! ) to trace the kernel tables statistics each day. Also, I'd
run "dmon" all the time to monitor the system.

(Both programs could be found on the HP-UX Archive, Liverpool University.)

Here is some excerpt showing the statistics just before the error and 
after I restart the server again.
---------------------------------------------------------------------------
 % ktstat 10 8000

 ....
 09:29:39             384                       606                        68
 09:29:49             384                       606                        68
 09:29:59             381                       606                        67
 09:30:10             379                       606                        69
 09:30:20  [###]      166                       490                        66
 09:30:30             166                       606                        66
 09:30:40             161                       606                        65
 09:30:50             143                       606                        53
 09:31:53             131                       606                        51
*09:21:38=F 744/393   127 *12:07:19=I 606/606   606 *13:12:01=P 316/76     49
 09:32:14             126                       606                        49
... [deleted]
 09:36:23  [***]      195                       606                        68
 09:36:33             192                       606                        68
 09:36:45             203                       606                        68
 09:36:55             202                       606                        68
 09:37:05             200                       606                        68
 09:37:17             201                       606                        68
 09:37:27             204                       606                        68
... [deleted]
----------------------------------------------------------------------------
[###] innd died abnormally
[***]  innd re-started manually

Should I re-configure the kernel of the specified server ? 
Or, should I re-configure something in the "config" file of INN and rebuilt ?

And, if so, which parameter(s) should be changed (tuned) to fix the problem ?

Your kindly help will be highly appreciated !

Regards,
-----------------------------------------------------------------------
>> PS <<
I'd read the "Know problems" portion of the INN installation guide. It says
that something similar to the event above might happen on some version of
SunOS. I wonder if it might happen on any other systems like, for example,
HP-UX.
-----------------------------------------------------------------------
--
  C.S.Chen [ ������ ] 			* Voice: 886-35-726-111 x2607 	
  * E-mail:  chen@cc.nctu.edu.tw 	* Fax:   886-35-714-031
  Computer Center of National Chiao-Tung University, Hsinchu, Taiwan, R.O.C.
Re: [Q]- "innd died abnormally- Too many open files" (long)
#2711
Author: Bill Hassell
Date: Sun, 10 Jul 1994 18:38
28 lines
2251 bytes
C.S.Chen (chen@ccnews.nctu.edu.tw) wrote:

: Syslog critical messages:
: Jul  8 09:30:16 news innd: NetCentral cant setup Too many open files
: Jul  8 09:30:16 news innd: TITnews cant setup Too many open files
: Jul  8 09:30:17 news innd: YunTech cant setup Too many open files
: Jul  8 09:30:17 news innd: HiNet cant setup Too many open files
: Jul  8 09:30:17 news innd: MOE cant setup Too many open files
: Jul  8 09:30:17 news innd: NOV cant setup Too many open files
: Jul  8 09:30:17 news innd: ME syntax_error /usr/local/news/newsfeeds

  If you have a true console window, you may also have seen messages
  like:  file:  table is full or inode:  table is full.  Look at the
  output of /etc/dmesg.  Since news is *very* file intensive, these two
  values may need to be doubled or tripled.  Also, look at maxfiles
  (total files opened by a single user ID such as news).  These params
  are in the kernel and can be changed with SAM.  You'll need to reboot
  to take effect.

--

                  ________________________________
         ________|         Bill Hassell           |________
         \       |     HP Customer Support        |       /
          \      |    blh@hpuerca.atl.hp.com      |      /
          /      |________________________________|      \
         /__________)                          (__________\
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads