Re: ENOSR on UDP socket creation on Solaris 10 U4



In article <72myus7lio.fsf@xxxxxxxxxxxxxxxxxxx>,
Alex Kiernan <alex.kiernan@xxxxxxxx> writes:
Anyone any ideas where/what to tweak to avoid getting ENOSR in
response to a SOCK_DGRAM socket create?

We're running PowerDNS recursor and are seeing occasional (once a
day?) errors:

startDoResolve problem: Making a socket for resolver: Out of stream resources

Which traces back to:

socket(PF_INET, SOCK_DGRAM, 0);

A quick (and inadequate) browse of the opensolaris source would
seem to imply this happens if sockfs times out the initial
response from the udp module, when it's asking for the
capabilities of the stream. A comment elsewhere implies this
can happen for tcp streams under system heavy load conditions.
It may be that the same is true for udp too. Could your system
be under heavy load?

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]
.



Relevant Pages

  • Re: URLConnection
    ... Typ: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream) ... Kennt jemand einen Stream der dasselbe macht und ich welchen ich den ... Inputstream des Socket packen kann? ... der Socket der java.net.HttpURLConnection nicht unterbrechen liess, wenn der Server keine Response schickt. ...
    (de.comp.lang.java)
  • Re: How do I stop a Winsock from buffering characters?
    ... it's applied at the OS level to the socket. ... Stream s = client.GetStream; ... from the client code and have the server see it right away. ... first character of the client send. ...
    (microsoft.public.windowsce.embedded)
  • RE: HTTPS WebRequest and WebResponse
    ... > // Creates an HttpWebRequest for the specified URL. ... > // Displays all the headers present in the response received from the URI. ... > // Obtain a 'Stream' object associated with the response object. ... > StreamReader readStream = new StreamReader(ReceiveStream, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Read everything from socket
    ... There is no standard way to indicate a stream is finished ... line from the RETR command ... Or from the LIST command ... the actual byte length is given of the response steam. ...
    (perl.beginners)
  • Re: URL filtering using LSP
    ... Microsoft MVP, MCSD ... E.g. in your WSPRecv implementation. ... mark the socket as readable and return your own response ... If you want to close the socket, ...
    (microsoft.public.win32.programmer.networks)