[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kdevelop] [Bug 314031] Crash due to too many file descriptors opened
From:       Milian Wolff <mail () milianw ! de>
Date:       2013-01-30 17:17:39
Message-ID: bug-314031-17878-WZ6S200CuG () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=314031

Milian Wolff <mail@milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |CONFIRMED
         Resolution|WAITINGFORINFO              |---
            Summary|KDevelop crashed on startup |Crash due to too many file
                   |                            |descriptors opened
     Ever confirmed|0                           |1

--- Comment #9 from Milian Wolff <mail@milianw.de> ---
Probably related to too many file descriptors being opened by KDevelop. 

lsof -a -p $(pidof kdevelop) | wc -l
1750
lsof -a -p $(pidof kdevelop) | grep REG | wc -l
358

Now if I edit a C++ file I start to load the topducontext files:

$ lsof -a -p $(pidof kdevelop) | grep REG | wc -l
405

I.e. the files stored in $HOME/.cache/kdevduchain/$SESSIONID/topcontexts/ -
which can be quite a few...

Can you try to increase /proc/sys/fs/file-max and see whether that work-arounds
the issue of the crash? If so, we should try to refactor the code to reduce the
number of file descriptors required... Not an easy task probably.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic