[etherlab-users] ethercos: memory allocation problem fix.

Andreas Stewering-Bone ab at igh-essen.com
Wed Apr 27 14:22:39 CEST 2011

Hello Len,

You should run as root to get propper realtime priorities.
You can reduce the memory usage at runtime, please have a look at  
executable -u and look for stacksize

Generally I have to say that EtherCOS is still in alpha state. I am 
working on a new release working on XCos and Scicos but there is much 
work to do. The problem is that I work on this project in my free time 
(conflicts with family and busy job). So there is a lack of time. If you 
want to do further work on it feel free to do this and yes there is a 
repository. If you like I can grant you access rights



Am 27.04.2011 13:32, schrieb Len Remmerswaal:
> Hi all,
> Just to inform anyone working with ethercos (are there any?)
> If you are trying to run an ethercos generated code application 
> without root privileges, you may run into a segmentation fault, caused 
> by a memory allocation problem. Running as root avoids this problem.
> If you want to be able to run as user joe anyway, run "ulimit --l" 
> and/or check /etc/security/limits.conf.
> The ethercos runtime locks a lot of memory, and some distributions 
> (like Debian Lenny) limit this for normal users.
> If you change /etc/security/limits.conf such that memlock is something 
> like 32768 (a number that works for me) this problem is over.
> Cheers,
> Len.
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users

Mit freundlichem Gruß

Andreas Stewering-Bone


Dipl.-Ing.(FH) Andreas Stewering-Bone
andreas.stewering-bone at igh-essen.com
Tel.: +49 201 / 36014-15

Ingenieurgemeinschaft IgH
Gesellschaft für Ingenieurleistungen mbH
Heinz-Bäcker-Str. 34
D-45356 Essen
Amtsgericht Essen HRB 11500
USt-Id.-Nr.: DE 174 626 722
- Dr.-Ing. S. Rotthäuser,
- Dr.-Ing. T. Finke,
- Dr.-Ing. W. Hagemeister
Tel.: +49 201 / 360-14-0


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20110427/148a2478/attachment-0005.htm>

More information about the Etherlab-users mailing list