Re: FreeBSD 6.0 default pty/tty-limit (256) OFF!

2006-01-22 Thread Robert Watson


On Sat, 21 Jan 2006, Mikko Työläjärvi wrote:

I need patch to raise FreeBSD 6.0 default pty/tty-limit (256) UP or OFF. In 
shell-production usage, that limit is ridiculous, there must be stop to 
this and put PTY-limits off! I changed my servers operating systems moment 
ago from Linux to FreeBSD thinking that FreeBSD could be more better, but 
how this can be possible, that so important think like PTYs are limited to 
so low?? every UNIX has more ptys.


This is a long standing problem, as is evident from kern/25866 [1] from 
2001.  A more recent report is standards/90896 [2], wich also contains a 
patch.


I'd suggest you try the patch and provide feedback to the bug report.


FYI, there's also a tty_pts.c floating around, based on some work I did at 
McAfee a couple of years ago, that implements /dev/ptmx and /dev/pts for 
FreeBSD.  Among other things, it removes the limit on the number pty's, and 
adopts the Sys V pty naming convention.  While there are upsides and downsides 
to the naming convention, it does attempt to normalize the way we handle 
pty's, as well as removing the requirement for root privilege in order to 
allocate and properly protect a pty.  I have an older version at 
http://www.watson.org/~robert/freebsd/pts/.  However, it's fairly dated, and 
may not work due to other changes since it was written (I've not looked to 
see).  I've tried several times to trick developers into picking it up and 
doing the last remaining work to make it real -- largely what's required is 
work on the forward/backward compatibility issue, that and extensive testing 
and a security audit.  It would be nice to ship 7.x with these changes as it 
would resolve a lot of problems.


Robert N M Watson___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD 6.0 default pty/tty-limit (256) OFF!

2006-01-21 Thread Mikko Työläjärvi


Hi Antti,


I need patch to raise FreeBSD 6.0 default pty/tty-limit (256) UP or OFF.
In shell-production usage, that limit is ridiculous, there must be stop to
this and put PTY-limits off!
I changed my servers operating systems moment ago from Linux to FreeBSD
thinking that FreeBSD could be more better, but how this can be possible,
that so important think like PTYs are limited to so low?? every UNIX has
more ptys.


This is a long standing problem, as is evident from kern/25866 [1]
from 2001.  A more recent report is standards/90896 [2], wich also
contains a patch.

I'd suggest you try the patch and provide feedback to the bug report.

$.02,
/Mikko


1) http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/25866)
2) http://www.freebsd.org/cgi/query-pr.cgi?pr=standards/90896
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 default pty/tty-limit (256) OFF!

2006-01-17 Thread Dag-Erling Smørgrav
Antti Korpela [EMAIL PROTECTED] writes:
 I need patch to raise FreeBSD 6.0 default pty/tty-limit (256) UP or OFF.

I already gave you a patch.  Your unwillingness to provide the
information necessary to figure out why my patch doesn't work for you
is entirely *your* problem.

 In shell-production usage, that limit is ridiculous, there must be
 stop to this and put PTY-limits off!

Remember that this ridiculous software was provided to you by us
entirely free of charge.  Show us a minimum of respect, and try to
work *with* us to resolve issues instead of demanding solutions on a
silver platter.

 I changed my servers operating systems moment ago from Linux to
 FreeBSD thinking that FreeBSD could be more better, but how this can
 be possible, that so important think like PTYs are limited to so
 low?? every UNIX has more ptys.

We are not responsible for your failure to adequately test your
systems before putting them in production, nor for your misconceptions
about the nature of Unix[tm].

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 default pty/tty-limit (256) OFF!

2006-01-16 Thread chris
Then change the default it isnt hard you cant just come on a mailing list
and demand a patch be raised just becuase you think this is rediculous
this is why we have man pages and all that google.com/bsd your english is
pretty poor too if you dont like freebsd then dont use it but dont demand
people a patch just becuase you find something rediculous.


 Hi,


 I need patch to raise FreeBSD 6.0 default pty/tty-limit (256) UP or OFF.
 In shell-production usage, that limit is ridiculous, there must be stop to
 this and put PTY-limits off!
 I changed my servers operating systems moment ago from Linux to FreeBSD
 thinking that FreeBSD could be more better, but how this can be possible,
 that so important think like PTYs are limited to so low?? every UNIX has
 more ptys.


 I'm hoping fast reply from you..


 Yours,
 Antti Korpela

 ___
 freebsd-hackers@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to [EMAIL PROTECTED]



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 default pty/tty-limit (256) OFF!

2006-01-16 Thread Kevin Kinsey



Hi,


I need patch to raise FreeBSD 6.0 default pty/tty-limit (256) UP or OFF.
In shell-production usage, that limit is ridiculous, there must be stop to
this and put PTY-limits off!
I changed my servers operating systems moment ago from Linux to FreeBSD
thinking that FreeBSD could be more better, but how this can be possible,
that so important think like PTYs are limited to so low?? every UNIX has
more ptys.


I'm hoping fast reply from you..


Yours,
Antti Korpela

   


[EMAIL PROTECTED] wrote:


Then change the default it isnt hard you cant just come on a mailing list
and demand a patch be raised just becuase you think this is rediculous
this is why we have man pages and all that google.com/bsd your english is
pretty poor too if you dont like freebsd then dont use it but dont demand
people a patch just becuase you find something rediculous.




For starters, let be nice, and truthful.  The community is known for
this, and you've no leg to stand on.  His English grammar isn't so
great, but it is understandable; furthermore, he knows where the
shift key is and is ahead of you in spelling, 0 to 2; plus, take a
look at paragraph structure.  For the most part, 4 sentences
and 71 words beats one sentence of 66 for clarity.

I am not an expert, but looking at pty(4), it seems he has a point.
/dev/pty[p-sP-S][0-9a-v] sure looks like 2^8 to me.  But I'll
leave it to the experts to discuss the truth or fiction of the
assumption and the difficulty of its reconciliation, if such can
occur

Kevin Kinsey

--
I can hire one half of the working class to kill the other half.
-- Jay Gould


___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]