[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] 1000 Domains: Not able to access Domu via xm console from Dom0



On Wed, Dec 12, 2012 at 5:07 AM, Paul Harvey <jhebus@xxxxxxxxxxxxxx> wrote:
> increased this to thousands :
> ulimint -n
> 10240

By running "ulimit" manually? If yes, it's only applied in your current session.

>
> To hammer this point home, i built a wee C file to allocate pty's. Before i
> changed the limit i got problems past 1024, now it work fine as root, or any
> user.
>
> But, when i create ~350 domains:
>
> cat /proc/<xenconsoled>/fd | wc -l
> 1024
>
> only ever goes as high as 1024, and does not increase for subsequently added
> domains.

By default ubuntu only allows 1024 open file descriptor for any user.
Changing it manually using "ulimit" command does not change the global
limit. This includes root. Setting it globally is kinda pain:
- edit /etc/security/limits.conf, read about "nofile", and make
appropriate change
- edit /etc/pam.d/common-session and common-session-noninteractive,
include pam_limits.so (see settings for "su" for example)
- reboot

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.