Thread View: news.software.nntp
24 messages
24 total messages
Started by AY
Sun, 14 Mar 2004 11:16
INND service suddenly stop
Author: AY
Date: Sun, 14 Mar 2004 11:16
Date: Sun, 14 Mar 2004 11:16
27 lines
1882 bytes
1882 bytes
Hi all,
I would like to know why my innd server still always down even i have
changed the config to
maxartsize: 1000000
maxconnections: 50
And i found the err msg in /var/log/news/news.err
Mar 13 23:58:01 nnrpd[26955]: tradindexed: could not open
/var/spool/news/overview/g/s/testing.DAT: Too many open files in system
hank you for your sharing.
Cheers,
AY
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Jeffrey M. Vinocur
Date: Sun, 14 Mar 2004 13:12
Date: Sun, 14 Mar 2004 13:12
13 lines
1311 bytes
1311 bytes
In article <40552002$1@lungfunggdn.org>, AY <alvis@email.com> wrote: > >Mar 13 23:58:01 nnrpd[26955]: tradindexed: could not open >/var/spool/news/overview/g/s/testing.DAT: Too many open files in system Try running `limit` or `ulimit -a` as the news user and seeing what restrictions you have on open files. -- Jeffrey M. Vinocur jeff@litech.org
Re: INND service suddenly stop
Author: AY
Date: Sun, 14 Mar 2004 17:20
Date: Sun, 14 Mar 2004 17:20
29 lines
2269 bytes
2269 bytes
and i found this err msg in /var/log/news/news.err
Mar 14 00:19:21 nnrpd[7509]: SERVER perl silence cant open /dev/null: Too
many open files in system
"Jeffrey M. Vinocur" <jeff@litech.org> �b�l��
news:c31ln8$g9v$1@puck.litech.org �����g...
> In article <40552002$1@lungfunggdn.org>, AY <alvis@email.com> wrote:
> >
> >Mar 13 23:58:01 nnrpd[26955]: tradindexed: could not open
> >/var/spool/news/overview/g/s/testing.DAT: Too many open files in system
>
> Try running `limit` or `ulimit -a` as the news user and seeing
> what restrictions you have on open files.
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: AY
Date: Sun, 14 Mar 2004 17:22
Date: Sun, 14 Mar 2004 17:22
40 lines
2441 bytes
2441 bytes
unlimit -a
core file size (blocks) 0
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 4028
virtual memory (kbytes) unlimited
Any comments?
"Jeffrey M. Vinocur" <jeff@litech.org> �b�l��
news:c31ln8$g9v$1@puck.litech.org �����g...
> In article <40552002$1@lungfunggdn.org>, AY <alvis@email.com> wrote:
> >
> >Mar 13 23:58:01 nnrpd[26955]: tradindexed: could not open
> >/var/spool/news/overview/g/s/testing.DAT: Too many open files in system
>
> Try running `limit` or `ulimit -a` as the news user and seeing
> what restrictions you have on open files.
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Russ Allbery
Date: Sun, 14 Mar 2004 19:23
Date: Sun, 14 Mar 2004 19:23
22 lines
1666 bytes
1666 bytes
AY <alvis@email.com> writes:
> I would like to know why my innd server still always down even i have
> changed the config to
> maxartsize: 1000000
> maxconnections: 50
> And i found the err msg in /var/log/news/news.err
> Mar 13 23:58:01 nnrpd[26955]: tradindexed: could not open
> /var/spool/news/overview/g/s/testing.DAT: Too many open files in system
Please read INSTALL, particularly the section entitled "File Descriptor
Limits."
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INND service suddenly stop
Author: Terminator
Date: Mon, 15 Mar 2004 00:50
Date: Mon, 15 Mar 2004 00:50
34 lines
2398 bytes
2398 bytes
May I ask, is there some limit in connection in INN ?
Thanks ~
"Russ Allbery" <rra@stanford.edu> wrote in message news:87u10rutb9.fsf@windlord.stanford.edu...
AY <alvis@email.com> writes:
> I would like to know why my innd server still always down even i have
> changed the config to
> maxartsize: 1000000
> maxconnections: 50
> And i found the err msg in /var/log/news/news.err
> Mar 13 23:58:01 nnrpd[26955]: tradindexed: could not open
> /var/spool/news/overview/g/s/testing.DAT: Too many open files in system
Please read INSTALL, particularly the section entitled "File Descriptor
Limits."
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Russ Allbery
Date: Mon, 15 Mar 2004 02:03
Date: Mon, 15 Mar 2004 02:03
14 lines
1713 bytes
1713 bytes
Terminator <terminator@lisa.hk.com> writes:
> May I ask, is there some limit in connection in INN ?
There are a variety of time-based and quantity-based limits to connections
in INN, although that likely has little or nothing to do with this
particular thread. Is there something specific that you're trying to do?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INND service suddenly stop
Author: Terminator
Date: Mon, 15 Mar 2004 02:38
Date: Mon, 15 Mar 2004 02:38
29 lines
2483 bytes
2483 bytes
Nothing special,
but I just wondering why his INN server stops when he got more than 300 connections ?
What I know is Dnews has a limit of 800 connections.
So I thought maybe some connections limit in INN as that in Dnews.
"Russ Allbery" <rra@stanford.edu> ���g��l�� news:87vfl6dfyf.fsf@windlord.stanford.edu...
Terminator <terminator@lisa.hk.com> writes:
> May I ask, is there some limit in connection in INN ?
There are a variety of time-based and quantity-based limits to connections
in INN, although that likely has little or nothing to do with this
particular thread. Is there something specific that you're trying to do?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Russ Allbery
Date: Mon, 15 Mar 2004 02:43
Date: Mon, 15 Mar 2004 02:43
16 lines
1692 bytes
1692 bytes
Terminator <terminator@terminator.com> writes:
> Nothing special, but I just wondering why his INN server stops when he
> got more than 300 connections ?
His INN server stopped when it ran out of file descriptors, which is a
separate issue. INN has no inherent limit on the number of connections,
although most operating systems limit select() to 1024 or 2048 file
descriptors.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INND service suddenly stop
Author: Terminator
Date: Mon, 15 Mar 2004 03:00
Date: Mon, 15 Mar 2004 03:00
30 lines
2519 bytes
2519 bytes
Thanks a lot for your useful details.
Can you tell how to solve this problem ?
Will it be better to run news in a XFS system ?
"Russ Allbery" <rra@stanford.edu> ���g��l�� news:87r7vude38.fsf@windlord.stanford.edu...
Terminator <terminator@terminator.com> writes:
> Nothing special, but I just wondering why his INN server stops when he
> got more than 300 connections ?
His INN server stopped when it ran out of file descriptors, which is a
separate issue. INN has no inherent limit on the number of connections,
although most operating systems limit select() to 1024 or 2048 file
descriptors.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Russ Allbery
Date: Mon, 15 Mar 2004 03:03
Date: Mon, 15 Mar 2004 03:03
20 lines
1885 bytes
1885 bytes
Terminator <terminator@terminator.com> writes:
> Thanks a lot for your useful details.
> Can you tell how to solve this problem ?
One should read the section of INSTALL that I referred to earlier in this
thread.
> Will it be better to run news in a XFS system ?
It makes no difference at all for file descriptor limits. XFS is fairly
good at handling traditional spool storage, though, since it has hashed
directory structures and handles directories with lots of files well.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INND service suddenly stop
Author: Terminator
Date: Mon, 15 Mar 2004 03:20
Date: Mon, 15 Mar 2004 03:20
34 lines
2644 bytes
2644 bytes
Ok, thanks a lot ~
You are very kind and helpful ~
:)
"Russ Allbery" <rra@stanford.edu> ���g��l�� news:877jxmdd6b.fsf@windlord.stanford.edu...
Terminator <terminator@terminator.com> writes:
> Thanks a lot for your useful details.
> Can you tell how to solve this problem ?
One should read the section of INSTALL that I referred to earlier in this
thread.
> Will it be better to run news in a XFS system ?
It makes no difference at all for file descriptor limits. XFS is fairly
good at handling traditional spool storage, though, since it has hashed
directory structures and handles directories with lots of files well.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: AY
Date: Mon, 15 Mar 2004 06:09
Date: Mon, 15 Mar 2004 06:09
43 lines
2638 bytes
2638 bytes
I have read th INSTALL file
my currently kernel version is 2.4.7-10 , should i update to 2.6 version?
and which value can i set in rlimitonfile? default value is -1
sorry for bothering and thank you for your sharing.
Cheers
AY
"Russ Allbery" <rra@stanford.edu> �b�l��
news:87u10rutb9.fsf@windlord.stanford.edu �����g...
> AY <alvis@email.com> writes:
>
> > I would like to know why my innd server still always down even i have
> > changed the config to
>
> > maxartsize: 1000000
> > maxconnections: 50
>
> > And i found the err msg in /var/log/news/news.err
>
> > Mar 13 23:58:01 nnrpd[26955]: tradindexed: could not open
> > /var/spool/news/overview/g/s/testing.DAT: Too many open files in system
>
> Please read INSTALL, particularly the section entitled "File Descriptor
> Limits."
>
> --
> Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
>
> Please post questions rather than mailing me directly.
> <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Terminator
Date: Mon, 15 Mar 2004 09:33
Date: Mon, 15 Mar 2004 09:33
16 lines
1843 bytes
1843 bytes
One way to increase the number of file descriptors is to set
rlimitnofile in inn.conf to a higher value.
--------------------
Perhaps you can try to set in inn.conf the rlimitnofile value to 256 first,
instead of -1
Please comment if I am wrong.
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Paul Tomblin
Date: Mon, 15 Mar 2004 12:34
Date: Mon, 15 Mar 2004 12:34
19 lines
1790 bytes
1790 bytes
In a previous article, "Terminator" <terminator@lisa.hk.com> said:
>One way to increase the number of file descriptors is to set
> rlimitnofile in inn.conf to a higher value.
>--------------------
>Perhaps you can try to set in inn.conf the rlimitnofile value to 256 first,
>instead of -1
>
>Please comment if I am wrong.
You are wrong. -1 means no limit. Or rather, it means you're going to be
limited by the OS limits.
--
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
If men are from Mars and women are from Venus, there's going to be one
big-ass fight over where to set the thermostat.
-- Jim Rosenberg
Re: INND service suddenly stop
Author: AY
Date: Mon, 15 Mar 2004 13:43
Date: Mon, 15 Mar 2004 13:43
33 lines
2469 bytes
2469 bytes
oh, that's mean i cannot change the limitation ?
"Paul Tomblin" <ptomblin+netnews@xcski.com> �b�l��
news:c347t4$t5d$2@allhats.xcski.com �����g...
> In a previous article, "Terminator" <terminator@lisa.hk.com> said:
> >One way to increase the number of file descriptors is to set
> > rlimitnofile in inn.conf to a higher value.
> >--------------------
> >Perhaps you can try to set in inn.conf the rlimitnofile value to 256
first,
> >instead of -1
> >
> >Please comment if I am wrong.
>
> You are wrong. -1 means no limit. Or rather, it means you're going to be
> limited by the OS limits.
>
>
> --
> Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
> If men are from Mars and women are from Venus, there's going to be one
> big-ass fight over where to set the thermostat.
> -- Jim Rosenberg
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Paul Tomblin
Date: Mon, 15 Mar 2004 14:03
Date: Mon, 15 Mar 2004 14:03
14 lines
1659 bytes
1659 bytes
In a previous article, "AY" <alvis@email.com> said:
>oh, that's mean i cannot change the limitation ?
It's OS dependant. The above referenced file has instructions for
increasing it on Solaris. Elsewhere on the thread, people have mentioned
how to increase it for Linux using limit or ulimit. If you're using a
different OS, you're going to have to do some research.
--
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
One item could not be deleted because it was missing.
-- Mac System 7.0b1 error message
Re: INND service suddenly stop
Author: AY
Date: Mon, 15 Mar 2004 14:16
Date: Mon, 15 Mar 2004 14:16
28 lines
2385 bytes
2385 bytes
actually i am using ReaHat 7.X, that mean i should use ulimit to fix this
problem?
"Paul Tomblin" <ptomblin+netnews@xcski.com> �b�l��
news:c34d35$vf1$1@allhats.xcski.com �����g...
> In a previous article, "AY" <alvis@email.com> said:
> >oh, that's mean i cannot change the limitation ?
>
> It's OS dependant. The above referenced file has instructions for
> increasing it on Solaris. Elsewhere on the thread, people have mentioned
> how to increase it for Linux using limit or ulimit. If you're using a
> different OS, you're going to have to do some research.
>
>
> --
> Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
> One item could not be deleted because it was missing.
> -- Mac System 7.0b1 error message
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Paul Tomblin
Date: Mon, 15 Mar 2004 14:24
Date: Mon, 15 Mar 2004 14:24
15 lines
1798 bytes
1798 bytes
In a previous article, "AY" <alvis@email.com> said: >actually i am using ReaHat 7.X, that mean i should use ulimit to fix this >problem? Are you sure that's your problem? The version of Linux I'm using (RedHat 9 with a 2.4.x kernel) has a descriptor limit of 1024, which should be plenty for innd if it's configured correctly. -- Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/ "Almost any animal is capable of learning a stimulus/response association, given enough repetition. Experimental observation suggests that this isn't true if double-clicking is involved." -Lionel Lauer and Malcolm Ray
Re: INND service suddenly stop
Author: AY
Date: Mon, 15 Mar 2004 14:43
Date: Mon, 15 Mar 2004 14:43
48 lines
3339 bytes
3339 bytes
yes i am really feel confusing on this problem...
i just know my server will automically stop the innd service when the
connections more than 300..
(get the connections amount from ps command " ps -ef |grep news | wc -l
)
and i found the error msg from news.err log as below,
Mar 15 00:14:50 nnrpd[7125]: 218.102.140.40 cannot open
/etc/news/readers.conf: Too many open files in system
Mar 15 00:14:56 nnrpd[7128]: SERVER perl filter not defined
Mar 15 00:21:45 nnrpd[7784]: SERVER perl silence cant open /dev/null: Too
many open files in system
Mar 15 00:42:36 nnrpd[8917]: tradindexed: could not open
/var/spool/news/overview/g/s/testing.IDX: Too many open files in system
too many files in system...too many files in system...too many files in
system...too many files in system....WELL...
i was so annoyed by this problem. plssssss help, thank you very much!! =)
"Paul Tomblin" <ptomblin+netnews@xcski.com> �b�l��
news:c34eaf$jr$1@allhats.xcski.com �����g...
> In a previous article, "AY" <alvis@email.com> said:
> >actually i am using ReaHat 7.X, that mean i should use ulimit to fix
this
> >problem?
>
> Are you sure that's your problem? The version of Linux I'm using (RedHat
> 9 with a 2.4.x kernel) has a descriptor limit of 1024, which should be
> plenty for innd if it's configured correctly.
>
>
> --
> Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
> "Almost any animal is capable of learning a stimulus/response association,
> given enough repetition. Experimental observation suggests that this
> isn't true if double-clicking is involved." -Lionel Lauer and Malcolm Ray
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Paul Tomblin
Date: Mon, 15 Mar 2004 15:05
Date: Mon, 15 Mar 2004 15:05
27 lines
2176 bytes
2176 bytes
In a previous article, "AY" <alvis@email.com> said: >yes i am really feel confusing on this problem... >i just know my server will automically stop the innd service when the >connections more than 300.. >(get the connections amount from ps command " ps -ef |grep news | wc -l > ) >and i found the error msg from news.err log as below, Oh, that looks like you're hitting the maximum number of files PER SYSTEM rather than per process. In that case, 30 seconds with Google found me this: http://www.orafaq.com/msgboard/linux/messages/3.htm >echo 4096 > /proc/sys/kernel/file-max >echo 12288 > /proc/sys/kernel/inode-max Put that in one of your start up scripts, like /etc/rc.d/rc.local -- Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/ Welsh sheep aren't intellectuals. Welsh woodlice look down on them as utter lusers. Welsh sheep even make students look smart, they're that daft. -- Dan Holdsworth
Re: INND service suddenly stop
Author: AY
Date: Mon, 15 Mar 2004 15:26
Date: Mon, 15 Mar 2004 15:26
40 lines
2800 bytes
2800 bytes
Paul, thank you very much , i will try it later and update you my status =>
"Paul Tomblin" <ptomblin+netnews@xcski.com> �b�l��
news:c34goa$1cl$1@allhats.xcski.com �����g...
> In a previous article, "AY" <alvis@email.com> said:
> >yes i am really feel confusing on this problem...
> >i just know my server will automically stop the innd service when the
> >connections more than 300..
> >(get the connections amount from ps command " ps -ef |grep news | wc -l
> > )
> >and i found the error msg from news.err log as below,
>
> Oh, that looks like you're hitting the maximum number of files PER SYSTEM
> rather than per process. In that case, 30 seconds with Google found me
> this:
> http://www.orafaq.com/msgboard/linux/messages/3.htm
>
> >echo 4096 > /proc/sys/kernel/file-max
> >echo 12288 > /proc/sys/kernel/inode-max
>
> Put that in one of your start up scripts, like /etc/rc.d/rc.local
>
>
>
>
> --
> Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
> Welsh sheep aren't intellectuals. Welsh woodlice look down on them as
> utter lusers. Welsh sheep even make students look smart, they're that
> daft. -- Dan Holdsworth
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: AY
Date: Mon, 15 Mar 2004 16:19
Date: Mon, 15 Mar 2004 16:19
41 lines
2786 bytes
2786 bytes
Sir, my default settings in /proc/sys/fs/file-max is 8192..
"Paul Tomblin" <ptomblin+netnews@xcski.com> �b�l��
news:c34goa$1cl$1@allhats.xcski.com �����g...
> In a previous article, "AY" <alvis@email.com> said:
> >yes i am really feel confusing on this problem...
> >i just know my server will automically stop the innd service when the
> >connections more than 300..
> >(get the connections amount from ps command " ps -ef |grep news | wc -l
> > )
> >and i found the error msg from news.err log as below,
>
> Oh, that looks like you're hitting the maximum number of files PER SYSTEM
> rather than per process. In that case, 30 seconds with Google found me
> this:
> http://www.orafaq.com/msgboard/linux/messages/3.htm
>
> >echo 4096 > /proc/sys/kernel/file-max
> >echo 12288 > /proc/sys/kernel/inode-max
>
> Put that in one of your start up scripts, like /etc/rc.d/rc.local
>
>
>
>
> --
> Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
> Welsh sheep aren't intellectuals. Welsh woodlice look down on them as
> utter lusers. Welsh sheep even make students look smart, they're that
> daft. -- Dan Holdsworth
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: INND service suddenly stop
Author: Russ Allbery
Date: Mon, 15 Mar 2004 19:57
Date: Mon, 15 Mar 2004 19:57
25 lines
2341 bytes
2341 bytes
Paul Tomblin <ptomblin+netnews@xcski.com> writes:
> In a previous article, "AY" <alvis@email.com> said:
>> oh, that's mean i cannot change the limitation ?
> It's OS dependant. The above referenced file has instructions for
> increasing it on Solaris. Elsewhere on the thread, people have
> mentioned how to increase it for Linux using limit or ulimit. If you're
> using a different OS, you're going to have to do some research.
If you can increase it with ulimit as a non-root user, you can just set it
to 256 or whatever you need in inn.conf and INN will do it directly. INN
uses setrlimit with that value. The only time that you need to change it
via some other mechanism is when you need to increase it above the
system-wide hard limit. root privileges are needed to do that, so you
have to do it in the init script that calls INN before dropping privileges
to the news user, or you need to do it on a system-wide basis (hints for
how to do that for Solaris and Linux are in the INSTALL guide).
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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