You are not logged in.

#1 2016-02-22 13:33:36

albertid
Member
Registered: 2013-05-06
Posts: 5

[SOLVED] fork: Resource temporarily not available

Hi,

since the beginning of this year I start to experience strange system hangups.

After using my system for some hours, various things fail within my X session: In each case this always is something related to "fork: Resource temporarily not available". I can't start new shell commands.

Desktop environment: Xmonad+GNOME

When I open new session via a terminal (eg. Alt+Ctrl+F3), I can use the system, but my X session is unusable.

Things I've tried:

check CPU/RAM/swap:

Neither CPU, RAM nor SWAP are maxed out.

checking open files:

% sysctl fs.file-nr 
fs.file-nr = 7520	0	813682

This number will rise to 14000 but is always way below the limit of 813682.

This is my "ulimit -a":

-t: cpu time (seconds)              unlimited
-f: file size (blocks)              unlimited
-d: data seg size (kbytes)          unlimited
-s: stack size (kbytes)             8192
-c: core file size (blocks)         unlimited
-m: resident set size (kbytes)      unlimited
-u: processes                       31861
-n: file descriptors                500000
-l: locked-in-memory size (kbytes)  unlimited
-v: address space (kbytes)          unlimited
-x: file locks                      unlimited
-i: pending signals                 31861
-q: bytes in POSIX msg queues       819200
-e: max nice                        0
-r: max rt priority                 99
-N 15:                              unlimited

Can you give me any hints on how to investigate this issue further?

Last edited by albertid (2016-03-03 12:19:07)

Offline

#2 2016-02-22 14:04:32

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] fork: Resource temporarily not available


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2016-03-03 12:18:37

albertid
Member
Registered: 2013-05-06
Posts: 5

Re: [SOLVED] fork: Resource temporarily not available

This seems to work so far, thanks!

Offline

Board footer

Powered by FluxBB