Friday, December 11, 2015

Troubleshout Open file limit

lsof | awk '{ print $2; }' | uniq -c | sort -rn | head

- Show no of open files sorted by PID

cat /proc/<PID>/limits

- Check individual file limits of a process

ls /proc/<PID>/fd | wc -l

- to obtain a precise count of the open files at given instant of time

lsof -p <PID>
- This will list all open files with given process

In some cases you might have to look at the open file limit of the process which started your process.

Make sure you add "ulimit -n XXX" values inside your startup script, if you have configured it to start the process on machine startup or restart. Especially on Debian Linux flavour refer (https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/938669) 

20 comments:

  1. I really needed to compose one simple word yet thanks much for sharing the useful content here, would like to read this blog regularly to get more important updates...
    Best Online Software Training Institute | Oracle DBA Training

    ReplyDelete
    Replies
    1. The effectiveness of IEEE Project Domains depends very much on the situation in which they are applied. In order to further improve IEEE Final Year Project Domains practices we need to explicitly describe and utilise our knowledge about software domains of software engineering Final Year Project Domains for CSE technologies. This paper suggests a modelling formalism for supporting systematic reuse of software engineering technologies during planning of software projects and improvement programmes in Final Year Projects for CSE.

      Software management seeks for decision support to identify technologies like JavaScript that meet best the goals and characteristics of a software project or improvement programme. JavaScript Training in Chennai Accessible experiences and repositories that effectively guide that technology selection are still lacking.

      Aim of technology domain analysis is to describe the class of context situations (e.g., kinds of JavaScript software projects) in which a software engineering technology JavaScript Training in Chennai can be applied successfully

      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. Hey, Wow all the posts are very informative for the people who visit this site. Good work! We also have a Website. Please feel free to visit our site. Thank you for sharing. Well written article Thank You for Sharing with Us pmp training institute in chennai | pmp training in chennai project management training certification | project management training in chennai | project management certification online |

    ReplyDelete
  3. I will tell you about my weakness: I love to play games of chance, especially roulette. Now there are many online sites for playing for real money, but my opinion fell on this casino only casinos Winning at a casino is almost impossible, but having a good time is easy

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. I really liked one site sitting at home I managed to make some money superior play now casino go and see how i did it

    ReplyDelete
  7. Thanks for your great and helpful presentation I like your good service. I always appreciate your post. That is very interesting I love reading and I am always searching for informative information like this.Also Checkout: angular 4 training in chennai | angularjs training in chennai | angularjs best training center in chennai | angularjs training in velachery

    ReplyDelete
  8. شركة كشف تسربات المياه شمال الرياض

    https://buff.ly/2KTaToa

    شركة كشف تسربات المياه شرق الرياض

    https://buff.ly/2Zqx4Fm

    شركة كشف تسربات المياه شمال الرياض

    https://buff.ly/2UMqiLA

    شركة كشف تسربات المياه شمال الرياض

    https://buff.ly/2GnodLN

     

    شركات نقل العفش بجدة كثيرة ومتعددة والإختيار بين أسطول الشركات الموجودة صعب ويعتمد الإختيار بين شركة نقل اثاث بجدة https://buff.ly/2ZoqMGi على إسلوب المندوب ودقة المواعيد وأداء العمل ويفضل إختيار الشركات على حسب خبرتها في مجال نقل العفش وعلى جودة الأداء والأمانة لأننا نترك لهم متعلقات المنزل بين متناول أيديهم .

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete