[K12OSN] Suggested fix for Wine SOLVED

Trond Mæhlum trond at mahlum.biz
Fri May 27 12:27:55 UTC 2005


tor, 26,.05.2005 kl. 09.18 -0400, skrev Gideon Romm:
> ulimit applies to processes, not users.  As long as it is set
> in /etc/profile (and not unset elsewhere), it should limit the memory
> for any process launched.
> 
> AFAIK,
> 
> -Gadi
> 
> On Thu, 2005-05-26 at 09:42 +0200, Trond Mæhlum wrote:
> > ons, 25,.05.2005 kl. 12.19 -0700, skrev Eric Harrison:
> > > Hi folks,
> > > 
> > > 
> > > Trond Maehlum recently posted that increasing the virtual memory limit
> > > (ulimit -v) fixes the problems people are setting with wine.
> > > 
> > > 
> > > Try adding the following line to /etc/rc.local
> > > 
> > > 	ulimit -v unlimited
> > 
> > When logged in as a normal user, ulimit -a still shows virtual memory
> > 600000. And wine still show the same error.
> > 
> > I experimented alot with this, and I _can't_ get the ulimit -v unlimited
> > command to apply to normal users. I have tried it in /etc/profile
> > and /etc/rc.local, but it does not work. 
> > 
> > > and reboot your server.
> > > 
> > > 
> > > 
> > > If you have K12LTSP_LIMITS="YES" set in /etc/sysconfig/k12ltsp-limits,
> > > you will also need to comment out the "ulimit -v" line in
> > > /etc/profile.d/k12ltsp-limits.sh

I found out that even though K12LTSP_LIMITS was set to NO, the script
in /etc/profile.d was executed anyway. If I comment out ulimit -v like
Eric described above, it works. 

Trond


> > I do not have K12LTSP_LIMITS="YES".
> > 
> > Trond
> > 
> > > -Eric
> > > _______________________________________________
> > > K12OSN mailing list
> > > K12OSN at redhat.com
> > > https://www.redhat.com/mailman/listinfo/k12osn
> > > For more info see <http://www.k12os.org>
> > 
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> > 
> > 
> 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>





More information about the K12OSN mailing list