Troubleshooting : Différence entre versions

Un article de Informaticiens département des sciences de la Terre et l'atmosphère
Aller à: navigation, charcher
m (Disk quota exceeded in your home)
Ligne 31: Ligne 31:
  
 
== Disk quota exceeded in your home ==
 
== Disk quota exceeded in your home ==
 +
'''WARNING''': exceeding the disk quota in your home ($HOME) may induce damage to configuration files <br>
 +
When rewriting a configuration file, a lot of utilities will remove the old file and create a new one. <br>The removal will get done without problem, but the writing af the new file may fail due to an exceeded quota.
 +
 
   a) Find your large files and directories
 
   a) Find your large files and directories
 
       du -hsc ~/.[a-z]* ~/*
 
       du -hsc ~/.[a-z]* ~/*
  
   b) (Re)move files
+
   b) (Re)move files and directories
       1. Remove what ever you do not need anymore.
+
       1. Remove whatever you do not need anymore. (this is a form of infinite compression)
       2. Put whatever does not need to be in your home under your data space.
+
       2. Put whatever does not need to be in your home under your data space. (e.g. /snow /zwack ....)
       3. Use /extras
+
       3. Use /extras/$USER
           Move large software directories like .local, .cache, .python, etc. under /extras... - following Michel's recipe below
+
           Move large software directories like .local, .cache, .python, etc. under /extras/$USER/
 +
          to move directory xxx :
 +
          cd $HOME
 +
          mv xxx /extras/$USER/.           # move the directory
 +
          ln -s /extras/$USER/xxx xxx      # create a "soft link" in $HOME
 +
          cd $HOME/xxx will still bring you to that directory but will not affect your HOME quota
  
 
== Cannot open window ==
 
== Cannot open window ==

Version depuis le 14 de mai 2020 à 00:27

Troubleshooting

CRCM5 problems

Error message:

  "stack overflow: thread 0, max 10228KB, used 1147KB, request 37324944B"

=> unlimit your stack by setting:

  ulimit -s unlimited

Other problems

Error message:

    "X11 connection rejected because of wrong authentication."

You might be over your quota in your HOME.

Check with:       quota -v

Error message:

    "Error: Can't open display: localhost:..."

Connect with "ssh -Y ..." instead of "ssh -X ...".

Disk quota exceeded in your home

WARNING: exceeding the disk quota in your home ($HOME) may induce damage to configuration files
When rewriting a configuration file, a lot of utilities will remove the old file and create a new one.
The removal will get done without problem, but the writing af the new file may fail due to an exceeded quota.

 a) Find your large files and directories
     du -hsc ~/.[a-z]* ~/*
 b) (Re)move files and directories
      1. Remove whatever you do not need anymore. (this is a form of infinite compression)
      2. Put whatever does not need to be in your home under your data space. (e.g. /snow /zwack ....)
      3. Use /extras/$USER
          Move large software directories like .local, .cache, .python, etc. under /extras/$USER/
          to move directory xxx :
          cd $HOME
          mv xxx /extras/$USER/.           # move the directory
          ln -s /extras/$USER/xxx xxx      # create a "soft link" in $HOME
          cd $HOME/xxx will still bring you to that directory but will not affect your HOME quota

Cannot open window

  a) When using ssh make sure you used it either with the ' -X ' or the ' -Y ' key!
  b) Check your home quota with:
         quota
      If you are over quota in your home you cannot open any windows. To reduce the data in your home check point 1)