[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] couldn't create pipe: "Too many open files"
From: |
Stefan Reichör |
Subject: |
Re: [STUMP] couldn't create pipe: "Too many open files" |
Date: |
Mon, 19 Dec 2011 08:26:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Hello David!
> Hi,
>
> I'm brand new to stumpwm. Mostly, it's working great but I do have a
> question for this list.
>
> When I start up, everything works right. But eventually, after I'm not sure
> how long, the date and time disappears from the mode line. I copied my mode
> line settings from a .stumpwmrc I found online (sorry I don't remember
> exactly who originally posted it):
>
> ;; modeline format
> (setf *screen-mode-line-format*
> (list "[^B" '(:eval (run-shell-command "date '+%R, %F %a'|tr -d
> [:cntrl:]" t)) "^b]"
> " | %B"
> " | [^B%n^b] %W"))
>
>
> This works as expected, at first. After the mode-line disappears, I try
> evaluating the (run-shell-command "date '+%R, %F %a'|tr -d [:cntrl:]" t)) in
> emacs, using stumpwm-mode. Doing this, I see the error, full text below, but
> basically the error is couldn't create pipe: "Too many open files".
>
> Now, the rest of my system works fine. I can run `date` on the command line,
> for example. So I'm not noticing any other "too many open files" problems.
> I suspect the stump mode line is leaving a file handle open every time it
> updates. Is this possible?
>
> Thanks for any help and thanks for this great window manager,
Perhaps the shell command lsof can help to track down the problem. Take
a look when you start stumpwm and when the problem arises.
Stefan.
> -Dave
>
>
>
> couldn't create pipe: "Too many open files"0: (SB-DEBUG::MAP-BACKTRACE
> #<CLOSURE (LAMBDA # :IN SB-DEBUG:BACKTRACE) {C2A680D}>
> :START
> 0
> :COUNT
> 100)
> 1: (SB-DEBUG:BACKTRACE 100 #<SB-IMPL::STRING-OUTPUT-STREAM {C2A67B9}>)
> 2: (STUMPWM::BACKTRACE-STRING)
> 3: (ERR "~A" #<SIMPLE-ERROR "couldn't create pipe: ~S" {C2A6081}>)
> 4: (STUMPWM::EVAL-LINE
> "(run-shell-command \"date '+%R, %F %a'|tr -d [:cntrl:]\" t)")
> 5: (STUMPWM::CALL-INTERACTIVELY
> "eval"
> #S(STUMPWM::ARGUMENT-LINE
> :STRING "eval (run-shell-command \"date '+%R, %F %a'|tr -d [:cntrl:]\"
> t)"
> :START 62))
> 6: (STUMPWM::EVAL-COMMAND
> "eval (run-shell-command \"date '+%R, %F %a'|tr -d [:cntrl:]\" t)"
> NIL)
> 7: (STUMPWM::HANDLE-STUMPWM-COMMANDS #<XLIB:WINDOW :0 AE>)
> 8: (STUMPWM::HANDLE-EVENT
> :DISPLAY
> #<XLIB:DISPLAY :0 (The X.Org Foundation R11102000)>
> :EVENT-KEY
> :PROPERTY-NOTIFY
> :EVENT-CODE
> 28
> :SEND-EVENT-P
> NIL
> :SEQUENCE
> 15142
> :WINDOW
> #<XLIB:WINDOW :0 AE>
> :EVENT-WINDOW
> #<XLIB:WINDOW :0 AE>
> :ATOM
> :STUMPWM_COMMAND
> :TIME
> 15340521
> :STATE
> :NEW-VALUE)
> 9: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK :IN XLIB:PROCESS-EVENT))
> 10: ((FLET #:WITHOUT-INTERRUPTS-BODY-88685 :IN
> SB-THREAD::CALL-WITH-RECURSIVE-LOCK))
> 11: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK
> #<CLOSURE (FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK :IN
> XLIB:PROCESS-EVENT)
> {B78ECBB5}>
> #<SB-THREAD:MUTEX "CLX Event Lock"
> owner: #<SB-THREAD:THREAD "initial thread" RUNNING {B5C96E1}>>)
> 12: (XLIB:PROCESS-EVENT
> #<XLIB:DISPLAY :0 (The X.Org Foundation R11102000)>
> :HANDLER
> #<FUNCTION STUMPWM::HANDLE-EVENT>
> :TIMEOUT
> NIL
> :PEEK-P
> NIL
> :DISCARD-P
> NIL
> :FORCE-OUTPUT-P
> T)
> 13: (STUMPWM::STUMPWM-INTERNAL-LOOP)
> 14: (STUMPWM::STUMPWM-INTERNAL ":0.0")
> 15: (STUMPWM ":0.0")
> 16: ((LAMBDA ()
> :IN
>
> "/tmp/yaourt-tmp-dave/aur-stumpwm-git/src/stumpwm-build/make-image.lisp"))
> 17: ((FLET #:WITHOUT-INTERRUPTS-BODY-225282 :IN SB-EXT:SAVE-LISP-AND-DIE))
> 18: ((LABELS SB-IMPL::RESTART-LISP :IN SB-EXT:SAVE-LISP-AND-DIE))
>
> _______________________________________________
> Stumpwm-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/stumpwm-devel