*BSD News Article 67468


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!inquo!vyzynz!news.dacom.co.kr!usenet.seri.re.kr!news.cais.net!van-bc!unixg.ubc.ca!rover.ucs.ualberta.ca!news.nl2k.edmonton.ab.CA!news.nl2k.edmonton.ab.CA!not-for-mail
From: doctor@nl2k.edmonton.AB.ca (The Doctor)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: how to increase the number of sockets per process?
Date: 2 May 1996 06:35:11 -0600
Organization: NetLine 2000
Lines: 41
Message-ID: <4maa5v$ng@doctor.nl2k.edmonton.ab.ca>
References: <4m89qp$lpd@kaleka.seanet.com>
NNTP-Posting-Host: doctor.nl2k.edmonton.ab.ca

In article <4m89qp$lpd@kaleka.seanet.com>,  <kostya@osd.com> wrote:
>We have an interesting problem with Apache 1.0.3 on BSDI 2.0.1. After we added  
>our 125th virtual server apache stopped doing reverse DNS lookups. All apache  
>transactions are now logged with ip addresses and not host names. Other  
>programs on the same machine do reverse lookups fine at the same time. It seems  
>to be some per process limitation. If I run "tcpdump udp port domain" I see  
>that every http request generates 4 PTR lookups in rapid succession to each DNS  
>server listed in resolv.conf. Then I see replies coming back. If I turn on  
>queries logging on DNS I see the same thing. Nothing wrong with DNS servers.  
>"netstat -p udp" on apache server shows this:
>
>        111368 datagrams received
>        0 with incomplete header
>        0 with bad data length field
>        0 with bad checksum
>        109112 dropped due to no socket
>        0 broadcast/multicast datagrams dropped due to no socket
>        0 dropped due to full socket buffers
>        2256 delivered
>        111612 datagrams output
>
>I guess all replies are "dropped due to no socket". Looks like it has enough  
>sockets to send queries, but not enough to get replies. I tried "limit  
>descriptors 256" or more and then restarted apache. Didn't help. OTOH it  
>doesn't have a problem with answering incoming TCP (HTTP) connections or  
>logging transactions for all virtual servers. It seems to be the problem only  
>with datagram sockets.
>
>Is there any kernel parameter that should be increased? 
>
>Thank you
>--
>Konstantin Martynenko
>Seanet Corporation

Question: Is this the SAME 1.0.3 available at nl2k and/or BSDI?
-- 
God, Queen and Country                Member - Liberal International
NEVER Satan, President and Republic   Board Member - Edmonton Heritage Nazarene
Hating Bachelor's Living;  Doctor Who returns: 13 May at BAFTA for DWAS, 14 May on Fox for NA, 27 May on BBC1 - check rec.arts.drwho for local gatherings
http://doctor.nl2k.edmonton.ab.ca/~doctor  British Columbia, beware of Van Der Zalm Reform and Harcourt/Clark NDP on 28 May VOTE Liberal!!