Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 14:19:36 +0100
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        freebsd-arm@freebsd.org
Subject:   Re: kern.ipc.maxsockets limit reached on Raspberry
Message-ID:  <op.wt48mytt8527sy@ronaldradial.versatec.local>
In-Reply-To: <CANuCnH8M9F70-_sKw%2BzLKyL9L9DWqStwddp0anPN5EYV%2Be=8Gg@mail.gmail.com>
References:  <CANuCnH-Y4UoMoihO1R1NNj2GgT4XG6tn3Z51-ZFAm62rHcF7Ow@mail.gmail.com> <CANuCnH8M9F70-_sKw%2BzLKyL9L9DWqStwddp0anPN5EYV%2Be=8Gg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Mar 2013 13:28:19 +0100, Alie Tan <alie@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@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.

Ronald.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wt48mytt8527sy>