public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/5382] nscd: stack overflow in gc() in cache number of entries in the cache is too large
  2007-11-21  5:01 [Bug nscd/5382] New: nscd: stack overflow in gc() in cache number of entries in the cache is too large pasky at suse dot cz
@ 2007-11-21  5:01 ` pasky at suse dot cz
  2007-11-23  6:39 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pasky at suse dot cz @ 2007-11-21  5:01 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2007-11-21 05:01 -------
Created an attachment (id=2104)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2104&action=view)
Proposed patch


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5382

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug nscd/5382] New: nscd: stack overflow in gc() in cache number of entries in the cache is too large
@ 2007-11-21  5:01 pasky at suse dot cz
  2007-11-21  5:01 ` [Bug nscd/5382] " pasky at suse dot cz
  2007-11-23  6:39 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: pasky at suse dot cz @ 2007-11-21  5:01 UTC (permalink / raw)
  To: glibc-bugs

gc() can overflow stack in case the cache has too many entries in it; since
stack size is only 1M per thread, this happenned for our customer at 124530
entries in cache on a heavily loaded nscd with many users and groups.

-- 
           Summary: nscd: stack overflow in gc() in cache number of entries
                    in the cache is too large
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nscd
        AssignedTo: drepper at redhat dot com
        ReportedBy: pasky at suse dot cz
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5382

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug nscd/5382] nscd: stack overflow in gc() in cache number of entries in the cache is too large
  2007-11-21  5:01 [Bug nscd/5382] New: nscd: stack overflow in gc() in cache number of entries in the cache is too large pasky at suse dot cz
  2007-11-21  5:01 ` [Bug nscd/5382] " pasky at suse dot cz
@ 2007-11-23  6:39 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2007-11-23  6:39 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-11-23 06:39 -------
The change is too pessimistic when it comes to using the stack.  I've checked in
a modified patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=5382

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-23  6:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-21  5:01 [Bug nscd/5382] New: nscd: stack overflow in gc() in cache number of entries in the cache is too large pasky at suse dot cz
2007-11-21  5:01 ` [Bug nscd/5382] " pasky at suse dot cz
2007-11-23  6:39 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).