Remco wrote:
Mihai Popescu B.S. wrote:

Hello all,

I've run in some problem with gnome-mplayer. Basicaly, there is a
difference in functioning if I run this application from xterm or
graphical menu ( i use fbpanel menu). From xterm it works fine, it
plays the movie. From graphical menu, it doesn't. It reports a "Bad
file descriptor".

More details are here (gnome-mplayer list):

http://groups.google.com/group/gecko-mediaplayer/browse_thread/thread/9b940dfb583c0651
So, can anyone spot a difference of the two ways of running an application
?

Thanks

This is a bit of a long shot.

I noticed when running a desktop system like Gnome or KDE the process limits
of users in the default class may get in the way. (Don't know how resource
hungry your desktop system is)

You could look at ksh(1) for the ulimit option to increase the number of
processes / file descriptors. You may also want to use / set up a class
different from the default. (see login.conf(5))

e.g.
to raise some limits I've put myself in the staff class and I have this in
my ~/.profile:
ulimit -Sd 2048000 -Sn 1024  -Sp256


I get some apps that occasionally just end themselves, like filezilla and firefox.
I'm going to try this and see if that problem disappears.
Can't hurt.

I couldn't get  -Sd 204800 to work, said allowable limits exceeded.
-Sd 1024000 works

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein

Reply via email to