Disk quota exceeded

Hello,

I’m getting this error now in the REPL

I have plenty of disk space in the current directory and the install directory. Where should I look to see where I am running out of disk space?

\u250c Error: Error in the keymap
\u2502   exception =
\u2502    SystemError: flush: Disk quota exceeded
\u2502    Stacktrace:
\u2502     [1] #systemerror#39(::Nothing, ::Function, ::String, ::Bool) at ./error.jl:106
\u2502     [2] systemerror at ./error.jl:106 [inlined]
\u2502     [3] flush(::IOStream) at ./iostream.jl:45
\u2502     [4] add_history(::REPL.REPLHistoryProvider, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:470
\u2502     [5] add_history(::REPL.LineEdit.PromptState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:1162
\u2502     [6] add_history(::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:201
\u2502     [7] commit_line(::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:1906
\u2502     [8] (::getfield(REPL.LineEdit, Symbol("##109#161")))(::Any, ::Any, ::Vararg{Any,N} where N) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:1987
\u2502     [9] #invokelatest#1 at ./essentials.jl:686 [inlined]
\u2502     [10] invokelatest at ./essentials.jl:685 [inlined]
\u2502     [11] (::getfield(REPL.LineEdit, Symbol("##27#28")){getfield(REPL.LineEdit, Symbol("##109#161")),String})(::Any, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:1319
\u2502     [12] prompt!(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:2353
\u2502     [13] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:2256
\u2502     [14] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:1029
\u2502     [15] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:191
\u2502     [16] (::getfield(Base, Symbol("##720#722")){Bool,Bool,Bool,Bool})(::Module) at ./logging.jl:311
\u2502     [17] #invokelatest#1 at ./essentials.jl:686 [inlined]
\u2502     [18] invokelatest at ./essentials.jl:685 [inlined]
\u2502     [19] macro expansion at ./logging.jl:308 [inlined]
\u2502     [20] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:330
\u2502     [21] exec_options(::Base.JLOptions) at ./client.jl:242
\u2502     [22] _start() at ./client.jl:421
\u2514 @ REPL.LineEdit /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:2355

UPDATE: it appears that there was a REPL history log in my .julia home directory which had exceeded the user quota. Deleting that fixed the issue.

Is it possible to store that file somewhere else? My user home directory has very little space allocated, but I have access to a lot of disk space elsewhere.

1 Like

https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_HISTORY-1

I wonder if one can just disable history altogether? The REPL struct seems to have a Bool for that, but this is not exposed in the API.