/bsd: file: table is full

2017-03-01 Thread Peter Haag
Hi list, I'm running a moderate busy OpenBSD 6.0 server for mail ( postfix, cyrus ) as well as web server ( nginx, php ) and experiance the following kernel messages: /bsd: file: table is full /bsd: process: table is full Is there an advice or rule on how the values kern.maxfiles, kern.maxproc

Re: obsd 4.6 setsockopt SO_RCVTIMEO and -pthread

2010-03-01 Thread Peter Haag
Federico G. Schwindt wrote: > On Mon, Mar 01, 2010 at 06:40:03PM +, Federico G. Schwindt wrote: >> On Mon, Mar 01, 2010 at 07:21:06PM +0100, Peter Haag wrote: >>> Hi list, >>> I just noticed, that setting a socket read timeout: >>> >>> setsockopt(cl

obsd 4.6 setsockopt SO_RCVTIMEO and -pthread

2010-03-01 Thread Peter Haag
Hi list, I just noticed, that setting a socket read timeout: setsockopt(client_fd, SOL_SOCKET, SO_RCVTIMEO, (void *)&tv, sizeof(struct timeval)) does not have any effect, if the program is linked with -pthread. I haven't found anything in a man page or FAQ. Is this a bug or is there an explanat