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
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to