Thanks a lot once again for good and userful information.

> Try to look at /proc/sys/fs/file-nr, /proc/sys/fs/file-max

    presently I do not think I am reaching to these limits. The out put of
cat command on these files I am attaching below. where peak it is showing as
449 ... however i will again monitor this when ever I start getting this
error.

[root@mummail3 /root]# cat /proc/sys/fs/file-nr
449     169     4096
[root@mummail3 /root]# cat /proc/sys/fs/file-max
4096

> for number of processes, either limit the number of qmail deliver
> processes or increase the ulimit variable to accomodate a greater num of
> processes.

The number of simultaneous remote delivery is as less as 20 and local it is
15.

I have one more observation, whenever i run netstat on server it shows in
around 100 odd connections in time_wait state as against less than 10 in
established state.

I have already changed following files

# These are tunning parameter for TCP Stack...............
/bin/echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout
/bin/echo "1800" > /proc/sys/net/ipv4/tcp_keepalive_time
/bin/echo "0" > /proc/sys/net/ipv4/tcp_window_scaling
/bin/echo "0" > /proc/sys/net/ipv4/tcp_sack
/bin/echo "0" > /proc/sys/net/ipv4/tcp_timestamps

can this cause any problem ..???

Thanks a lot for your help ....

regards
Himanshu

----- Original Message -----
From: "Ian C. Sison" <[EMAIL PROTECTED]>
> > Thanks a lot  ...
> >
> > I did not know about other mailing list. I have subscribed there as well
...
> >
> > Thanks for your reply. That clears my first doubt. However if you do not
> > mind i have one more query. I will be glad if you answer that ...
whenever
> > the RAM available on server is less that 10MB i start getting unable to
fork
> > errors .... and I endup rebooting the server ....
>
> Then you may be running out of file handles, or processes per user.
> Try to look at /proc/sys/fs/file-nr, /proc/sys/fs/file-max
>
> file-nr is of the format:
> aaa bbb ccc
>
> where aaa = peak usage of handles
> bbb = current usage
> ccc = max number of handles
>
> if peak == max, then echo a number, redirect it to /proc/sys/fs/file-max
> to increase the amount of file handles.
>
> for number of processes, either limit the number of qmail deliver
> processes or increase the ulimit variable to accomodate a greater num of
> processes.  You many need to recompile your kernel because afaik, the
> stock setting of this is 512 processes per user.
>
> a more general discussion appears in http://www.kegel.com/c10k.html
>
>
> >
> > We have already placed purchase order for Redhat linux 7.0 and will
upgrade
> > very soon ....
>
> Redhat Linux's 7.0 compiler is UNSTABLE to use in production environments.
> Either use Mandrake 8.0 or Redhat 7.1.  For production use, if you want to
> avoid heavily patching your older version distributions  with security
> updates, go with the latest.
>
>


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to