bugDatabase-driven manual pager suite - Bugs: bug #37608, man fron man-db package overstep...


bug #37608: man fron man-db package overstep RLIMIT_NPROC when run as root

Submitted by:  Ilya Tumaykin <coacher>
Submitted on:  Sun Oct 21 18:11:37 2012  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Oct 21 18:11:37 2012, original submission:


I have a Gentoo amd64 machine with man-db 2.6.3 and linux kernel 3.5.4 patched with grsecurity patches. Every time I run `man man` as root I get lots of the following warnings in syslog:

When this command run as non-root user from a wheel group or as man user itself everything is fine.
Appropriate parts of limits.conf:

Of course, root is also in wheel group and `ulimit -aH` as root says:

I wonder, why root user is treated so specially by man-db and doesn't have the appropriate limits? And why there are more than 100 threads (or forks or smth else) just to show man page?

I've attached a couple of debugging outputs and an strace one. Could you please answer the above questions?

Ilya Tumaykin <coacher>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #26809:  man -d man output (as root) added by coacher (109kB - application/octet-stream)
file #26810:  strace -C man -d man output (as root) added by coacher (198kB - application/octet-stream)
file #26811:  man -d man output (as user) added by coacher (109kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by coacher (Submitted the item)
  • -unavailable- added by coacher

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Oct 21 18:11:37 2012coacherAttached File-=>Added man -d man output (as root), #26809
      Attached File-=>Added strace -C man -d man output (as root), #26810
      Attached File-=>Added man -d man output (as user), #26811
      Carbon-Copy-=>Added coacher

    Back to the top

    Powered by Savane 3.1-cleanup1