Re: How to increase the max pty's on Freebsd 7.0?

2009-04-02 Thread Ed Schouten
* Paul Schenkeveld fb-hack...@psconsult.nl wrote: Or change 'pts' to, for example, 'pt' so without changing utmp and related stuff we'll have space for a four digit pty number. I've noticed lots of apps already misbehave because of the pty(4) - pts(4) migration. I guess using a new naming

Re: How to increase the max pty's on Freebsd 7.0?

2009-04-02 Thread Ed Schouten
Hi Alex, * Wilkinson, Alex alex.wilkin...@dsto.defence.gov.au wrote: 0n Wed, Apr 01, 2009 at 10:53:06PM +0200, Ed Schouten wrote: You can increase the maximum amount of PTYs by editing a lot of source files on your system. There is some good news: in -CURRENT we switched

Re: CURRENT sees only /dev/ad2s1a, but not /dev/ad3s1a

2009-04-02 Thread Matthias Apitz
El día Friday, March 27, 2009 a las 05:52:40PM +0100, Paul B. Mahol escribió: On 3/27/09, Matthias Apitz g...@unixarea.de wrote: Hello, When I boot my EeePC from USB key (/dev/da0s1a) -CURRENT it sees the two SSD only as $ ls -l /dev/ad* /dev/ad2 /dev/ad2s1 /dev/ad2s1a

Re: [problem] aac0 does not respond

2009-04-02 Thread Vladimir Ermakov
Ed Maste wrote: 2009/3/24 Vladimir Ermakov samflan...@gmail.com: Hello, All Describe my problem: have volume RAID-10 (SAS-HDD x 6) on Adaptec RAID 5805 2 HHD of 6 have errors in smart data (damaged) i am try read file /var/db/mysql/ibdata1 from this volume system does not respond ( lost

watchdog: hw+sw?

2009-04-02 Thread Andriy Gapon
I have some vague thoughts on using SW_WATCHDOG and a hardware watchdog together. I think this could be useful but I am not sure how to implement this. The idea is this: timeout for SW_WATCHDOG is smaller than timeout for hw wd; when some freeze happens sw wd logic kicks in first, stops hw wd

Setting the mss for socket

2009-04-02 Thread Luiz Otavio O Souza
Hello hackers, Is there a way to set the mss for a socket ? Like you can do in linux with setsockopt(TCP_MAXSEG) ? So i can set the maximum size of packets (or sort of) from a simple userland program. I've read the code and i cannot find by myself (at least from a 30minute reading) a

Re: watchdog: hw+sw?

2009-04-02 Thread Won De Erick
--- On Thu, 4/2/09, Andriy Gapon a...@icyb.net.ua wrote: I have some vague thoughts on using SW_WATCHDOG and a hardware watchdog together. I think this could be useful but I am not sure how to implement this. The idea is this: timeout for SW_WATCHDOG is smaller than timeout for hw wd;

Re: Setting the mss for socket

2009-04-02 Thread Patrick Tracanelli
Luiz Otavio O Souza escreveu: Hello hackers, Is there a way to set the mss for a socket ? Like you can do in linux with setsockopt(TCP_MAXSEG) ? So i can set the maximum size of packets (or sort of) from a simple userland program. I've read the code and i cannot find by myself (at least

Re: CURRENT sees only /dev/ad2s1a, but not /dev/ad3s1a

2009-04-02 Thread Paul B. Mahol
On 4/2/09, Matthias Apitz g...@unixarea.de wrote: El día Friday, March 27, 2009 a las 05:52:40PM +0100, Paul B. Mahol escribió: On 3/27/09, Matthias Apitz g...@unixarea.de wrote: Hello, When I boot my EeePC from USB key (/dev/da0s1a) -CURRENT it sees the two SSD only as $ ls

Re: GSoC: Semantic File System

2009-04-02 Thread Gabriele Modena
On Sun, Mar 22, 2009 at 6:52 PM, Robert Watson rwat...@freebsd.org wrote: We are certainly not uninterested in projects along these lines, but I think the trick will be creating a convincing proposal that argues that (a) you can do the work in a summer, (b) there's a compelling usage case for

Re: GSoC: Semantic File System

2009-04-02 Thread Robert Watson
On Thu, 2 Apr 2009, Gabriele Modena wrote: On Sun, Mar 22, 2009 at 6:52 PM, Robert Watson rwat...@freebsd.org wrote: We are certainly not uninterested in projects along these lines, but I think the trick will be creating a convincing proposal that argues that (a) you can do the work in a

Re: Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-04-02 Thread Sergey Babkin
Apr 2, 2009 01:03:48 AM, [1]peterjer...@optushome.com.au wrot= e: On 2009-Mar-30 18:45:30 -0700, Maxim Sobolev [2]sobo...@freebsd.org wrote: You don't really need to = do it on every execve() unconditionally. It could be done on de= mand in libc, so that only when thread pass

Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-04-02 Thread Julian Elischer
Hey Sergey, whatever you are using for a mail client SUCKS real bad at the moment.. it's really messing up your outgoing mails.. note the mail below Sergey Babkin wrote: Apr 2, 2009 01:03:48 AM, [1]peterjer...@optushome.com.au wrot= : On 2009-Mar-30 18:45:30 -0700, Maxim Sobolev

Re: How to increase the max pty's on Freebsd 7.0?

2009-04-02 Thread Steven Hartland
0n Wed, Apr 01, 2009 at 10:53:06PM +0200, Ed Schouten wrote: You can increase the maximum amount of PTYs by editing a lot of source files on your system. There is some good news: in -CURRENT we switched to Unix98-style PTYs (/dev/pts/%u). Right now the maximum amount of PTYs is limited to 1000

Re: How to increase the max pty's on Freebsd 7.0?

2009-04-02 Thread John Baldwin
On Wednesday 01 April 2009 1:55:12 pm Steven Hartland wrote: How can I increase the maximum number or ptys available on FreeBSD 7.0? It seems that currently the machine is maxing out at 512 but there is still loads of capacity left on the machine. Ideally would like to double at least the

Re: How to increase the max pty's on Freebsd 7.0?

2009-04-02 Thread Steven Hartland
Yep that's what I came up with after looking though the code thanks for the link though, always good to get confirmation that I didn't miss something. Regards Steve - Original Message - From: John Baldwin j...@freebsd.org On Wednesday 01 April 2009 1:55:12 pm Steven Hartland

Re: watchdog: hw+sw?

2009-04-02 Thread Doug Ambrisko
Andriy Gapon writes: | I have some vague thoughts on using SW_WATCHDOG and a hardware watchdog | together. | I think this could be useful but I am not sure how to implement this. | The idea is this: timeout for SW_WATCHDOG is smaller than timeout for hw | wd; when some freeze happens sw wd logic

Re: Setting the mss for socket

2009-04-02 Thread Thomas Wahyudi
Patrick Tracanelli wrote: Luiz Otavio O Souza escreveu: Hello hackers, Is there a way to set the mss for a socket ? Like you can do in linux with setsockopt(TCP_MAXSEG) ? So i can set the maximum size of packets (or sort of) from a simple userland program. you mean sysctl -w