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 ( 


  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

  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 |

  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

  4. This comment has been removed by the author.

  5. 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

  6. 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

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

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

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

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


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