Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was experiencing problems with all flash content (tried Firefox/Chromium/Opera, Ubuntu/Fedora and several Flash releases to no avail). While trying to playback any flash-movie, no video/sound playback occurred, and right-click only produced a "Movie not loaded" warning.

I accidentally narrowed-down the problem to a user-specific tweak I made in my '/etc/security/limits.conf':

    my_user_name         soft    stack           number_of_kbytes

The interesting part is that, whenever

    number_of_kbytes > 2097151 = 2^21,

this problem occurs, otherwise things are fine flash-wise.

Does anyone know why this may happen and where does this "magic number" come from? Also, is there a way to increase stack-size limits per-program (I have a C++ program which needs this sometimes).

share|improve this question
Interesting. Is it posible to strace your browser with the large stack? Also, what happens if stack is set to "unlimited"? – ckhan May 13 '12 at 6:17

You must log in to answer this question.

Browse other questions tagged .