Is working Adam, I rebuild it again and now I got:

Maximum number of file descriptors:   8192

Thank you very much, and also thanks to Henrik

Regards

Rolando

> Sorry Adam, but do not understand what is going on, besides, I have very 
little 
> knowledge on this matter.
> 
> By a telnet sesion I did a "ulimit -a, and got this:
> 
> [EMAIL PROTECTED] root]# ulimit -a
> core file size        (blocks, -c) 0
> data seg size         (kbytes, -d) unlimited
> file size             (blocks, -f) unlimited
> max locked memory     (kbytes, -l) unlimited
> max memory size       (kbytes, -m) unlimited
> open files                    (-n) 8192
> pipe size          (512 bytes, -p) 8
> stack size            (kbytes, -s) 8192
> cpu time             (seconds, -t) unlimited
> max user processes            (-u) 4032
> virtual memory        (kbytes, -v) unlimited
> [EMAIL PROTECTED] root]#
> 
> But at same time logged to another telnet sesion, the same system displays 
this:
> [EMAIL PROTECTED] root]# ulimit -a
> core file size        (blocks, -c) 0
> data seg size         (kbytes, -d) unlimited
> file size             (blocks, -f) unlimited
> max locked memory     (kbytes, -l) unlimited
> max memory size       (kbytes, -m) unlimited
> open files                    (-n) 1024
> pipe size          (512 bytes, -p) 8
> stack size            (kbytes, -s) 8192
> cpu time             (seconds, -t) unlimited
> max user processes            (-u) 4032
> virtual memory        (kbytes, -v) unlimited
> [EMAIL PROTECTED] root]#
> 
> Could you please tell me why ?
> 
> Thanks 
> Rolando
> 
> > > Still having troubles to assign more filedescriptors (RedHat v9).
> > 
> > > Have this running at boot:
> > > echo 1 > /proc/sys/net/ipv4/ip_forward
> > > ulimit -HSn 8192
> > > echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range
> > > echo 65536 > /proc/sys/fs/file-max
> > 
> > Did you verify in your shell (using the ulimit command) that the 
> > filedescriptor limit was still 8192 before rebuilding the rpm?
> > 
> > > Then I did:
> > > rpmbuild --rebuild squid-2.5.STABLE3-1rh.src.rpm and installed
> > > from /usr/src/redhat/RPMS/i386/ the rpm like this:
> > > rpm -ivh squid-2.5.STABLE3-1rh.src.rpm
> > 
> > I just checked the rpm man page, and it looks like the rpm -ivh is not 
> > necessary - the --rebuild is supposed to install the package after it 
> > compiles it. (I checked this on RedHat 7.3 - RedHat 9 may be different).
> > 
> > Adam
> 
> 


Reply via email to