أحمد المحمودي wrote:
> On Tue, Feb 17, 2009 at 03:15:03AM -0800, Corey Hickey wrote:
>> I would guess that your locked memory limit is either high or unlimited.
>>  See 'ulimit -l' or 'ulimit -a'.
> ---end quoted text---
> 
>   I just found out that /etc/init.d/sl-modem-daemon got this:
> 
>   ulimit -Hl unlimited; ulimit -Sl unlimited
>   start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile 
> --background --quiet -- $OPTS

Ah, my init script has that too; I hadn't checked it since diagnosing
the error.

My problem, though, was with just running slmodemd by itself (which I
prefer to do).

Alternatively, I could make a patch for modem_main.c that checks the
current value of RLIMIT_MEMLOCK and warns/dies if the value looks too low.

-Corey



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to