kern.ipc.maxsockets limit reached on Raspberry

Ronald Klop ronald-freebsd8 at klop.yi.org
Fri Mar 22 13:27:02 UTC 2013


On Fri, 22 Mar 2013 13:36:52 +0100, Alie Tan <alie at affle.com> wrote:

> On Mon, Mar 18, 2013 at 9:19 PM, Ronald Klop  
> <ronald-freebsd8 at klop.yi.org>wrote:
>
>> On Mon, 18 Mar 2013 13:28:19 +0100, Alie Tan <alie at affle.com> wrote:
>>
>>  Forgot to mention. I can't SSH to the device once this issue occurred.
>>>
>>
>> That is expected. SSH needs a socket, so as maxsockets is reached... You
>> get the point. ;-)
>>
>>
>>>
>>> On Mon, Mar 18, 2013 at 8:23 PM, Alie Tan <alie at affle.com> wrote:
>>>
>>>  Hi,
>>>>
>>>> I just got this issue on my Hiawatha web-server on Raspi 512MB with
>>>> FreeBSD r247518. This issue happens every 1-2 days.
>>>>
>>>> Anyone got any clue about this issue? I can increase the maxsockets  
>>>> but
>>>> it
>>>> seems just a workaround.
>>>>
>>>
>>
>> You can put this in cron. (From the top of my head so beware of typos.)
>>
>> */15 * * * * sockstat
>>
>> This will mail you the open sockets every 15 minutes. See what is  
>> growing
>> infinitely.
>>
> Strange http://ompldr.org/vaHVocQ/P30322-202828.jpg
>
> All Foreign addresses are *.* and seems opened sockets also still normal,
> not above maxsockets
>

I'm at work so not much time to look into it, but I noticed the error is  
about udp zone. Is something using UDP on your machine?

Ronald.


More information about the freebsd-arm mailing list