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 net.inet.tcp

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: 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" On Wednesday 01 April 2009 1:55:12 pm Steven Hartland wrote: How can

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

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 (0

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: 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 p

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 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 co

Re: GSoC: Semantic File System

2009-04-02 Thread Gabriele Modena
On Sun, Mar 22, 2009 at 6:52 PM, Robert Watson 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 > including the re

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

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

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 fr

Re: watchdog: hw+sw?

2009-04-02 Thread Won De Erick
--- On Thu, 4/2/09, Andriy Gapon 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; when > some f

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 singl

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 an

Re: [problem] aac0 does not respond

2009-04-02 Thread Vladimir Ermakov
Ed Maste wrote: 2009/3/24 Vladimir Ermakov : 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 access to ssh ) after r

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 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/ad2s1