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

Re: [K12OSN] Suggested fix for Wine



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.

I don't know anything about that, but the scenario is this:

When logged in as user, wine fails with the message below. When I type
ulimit -a it says virtual memory 600000. ulimit -v unlimited cannot be
executed as normal user. This is the same wheter ulimit -v unlimited is
set in /etc/profile, /etc/rc.local or not set at all.

When logged in as root, wine also fails with the same message. When I
type ulimit -a it also says virtual memory 600000. But now I can run
ulimit -v unlimited, and execute wine, and it works.

On my Debian box at home, I just ran ulimit -a as myself. It showed
virtual memory unlimited.


Is the 600000 limit a redhat thing? If so it should be possible to alter
it for normal user as well?

Trond

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


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