Hi,

This seems a list of lxc users only right? Anybody reading and replying 
here that actually knows about the nitty-gritty of lxc?

To report back on how I more or less solved this issue: I simply 
commented out the entry in /etc/bash.bashrc. Of course this is not the 
ideal approach, because the performance goes down as was shown in the 
link I mailed.

Kind regards,
Arjan Widlak.


On 08/08/2013 12:15 AM, Arjan Widlak wrote:
> Hi,
>
> I'm using Linux Mint and have the same problem as described in this post:
>
> http://osdir.com/ml/lxc-chroot-linux-containers/2012-03/msg00130.html
>
> On Linux Mint this entry is in /etc/bash.bashrc:
>
> if [ "$PS1" ] ; then
>      mkdir -p -m 0700 /dev/cgroup/cpu/user/$$ > /dev/null 2>&1
>      echo $$ > /dev/cgroup/cpu/user/$$/tasks
>      echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release
> fi
>
> The reason for this entry in Linux Mint is probably this:
>
> http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html
>
> Of course I can mount cgroups on /sys/fs/cgroup. And after that I can
> start a container. However I get these errors on my terminal:
>
> bash: /dev/cgroup/cpu/user/3855/tasks: No such file or directory
> bash: /dev/cgroup/cpu/user/3855/notify_on_release: No such file or directory
>
> What is the best approach here?
> The lxc-checkconfig script finds cgroups mounted when it's mounted on
> /dev/cgroup/cpu, but lxc-start does not.
>
> In linux-vserver the location of the cgroup mount can be configured. Can
> it with lxc?
>
> Kind regards,
> Arjan Widlak.
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users


-- 
Met vriendelijke groet,
Arjan Widlak

Bezoek onze site op:
http://www.unitedknowledge.nl

De rijkshuisstijl, ook voor tablet en iPhone:
http://www.rijkshuisstijl.unitedknowledge.nl/

United Knowledge, inhoud en techniek
Bilderdijkstraat 79N
1053 KM Amsterdam
T +31 (0)20 737 1851
F +31 (0)84 877 0399
bur...@unitedknowledge.nl
http://www.unitedknowledge.nl

M +31 (0)6 2427 1444
E ar...@unitedknowledge.nl

We use WebGUI, the Open Source CMS
http://www.webgui.org/


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to